Dannii has (if I understand correctly) compiled the C Hugo source with emscripten and linked it to glkote. The result is a working Javascript interpreter. (Though not based on the HugoJS that Juhana did last year.)
I’ve only done a couple of moves worth of testing, using Clockwork Boy 1 and 2. Give it a shot.
I’ve run into a couple issues in my testing. First off, the interpreter hangs if a game ever tries to draw a status window more than 1 row tall.
A game also hangs if it tries to read or write from an external file (I call them configuration files; I don’t remember what Hugo calls them). Currently, Roodylib uses that feature to detect interpreter capabilities. I could turn it off for glk games, but it’s worked to varying success in previous glk implementations (both read/write work in the Windows glk client, while just reading works in Gargoyle).
Info for Mac users & non-native English speakers:
You can look up a word from system-installed dictionaries via a 3-finger tap on a word in Lectrote. (The standard OSX context menu, also supported by standard Chrome, i.e. right-click then “Look Up”, seems not yet supported by the Electron shell.)
I gather this means I can add Lectrote to the Hugo column on the IFwiki interpreter page for Windows, Linux, and Mac OS X. Is that correct? Does this also apply to Mac OS 10.12?
Cryptozookeeper is what I was testing with, and I increased the undo buffer to 4096 so that it would have multiple undos. But I was only testing the beginning of the game, and it’s very conceivable that mid or late game would have different requirements on the undo buffer.
What do you mean by a “js application locally”? The Hugo interpreter could run as a normal web page, just like Quixe, but some extra code would be needed to support that. It won’t be able to run off file: without quite a lot more work because Chrome would block the resource files it requires. As an extension or saved application, yes in theory, but I don’t know what would be needed to set that up.
After an earlier conversation, I noticed that chrome has some extensions that work well with Twine and some online parser games. There are so many interesting extensions out there that manipulate text or allow you to access it in different ways, such as voice or text capture.
It would be nice to access more interpreters through chrome to allow the use of such extensions.