1
0
Stephan Fuchs 0626de57f4 [SugarCube] Fix `node:internal/event_target:1090`-error. 2 сар өмнө
..
tools 0626de57f4 [SugarCube] Fix `node:internal/event_target:1090`-error. 2 сар өмнө
twine-code 4c7da755e4 [SugarCube] Changes the image at `start` to annoy a player who set up his images-folder with an appropriate message. 3 сар өмнө
.gitignore 5bea81fa2e [qsrc2tw] add `TypeScript` 4 сар өмнө
README.md 001f43c344 [fix] `input` can start with `$`: `$input` 3 сар өмнө
package-lock.json e01537b945 [qsrc2tw] Added jQueryUI 3 сар өмнө
package.json e01537b945 [qsrc2tw] Added jQueryUI 3 сар өмнө
tsconfig.json 5bea81fa2e [qsrc2tw] add `TypeScript` 4 сар өмнө

README.md

Getting Started

You need node and npm installed.

Navigate to .\tools\QSRC2TW and run npm i there. Do this in the current folder (qsrc2tw) as well.

Changing the ANTLR-grammar

If you change the grammar of the parser, you have to recompile it. If you change the lexer, you have to recompile the lexer and then the parser. The commands to do so are present in the respective files.

You also need to recompile QSPPARSER.js by running npm run build and update the version in recources.