Stephan Fuchs b02e6df435 [SugarCube] Add wardrobe-class and type definitions před 2 měsíci
..
tools 934640fc7e [SugarCube] Move path-prefix `images/` from `<<image>>`-call to `<<image>>`-source. před 2 měsíci
twine-code b02e6df435 [SugarCube] Add wardrobe-class and type definitions před 2 měsíci
.gitignore 86d3c86903 [SugarCube] Move resources from tool to tw-output. před 2 měsíci
README.md 001f43c344 [fix] `input` can start with `$`: `$input` před 3 měsíci
package-lock.json e01537b945 [qsrc2tw] Added jQueryUI před 3 měsíci
package.json e01537b945 [qsrc2tw] Added jQueryUI před 3 měsíci
tsconfig.json 5bea81fa2e [qsrc2tw] add `TypeScript` před 4 měsíci

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.