1
0
Stephan Fuchs f7529e2e57 [qsrc2tw] Keep all version numbers of a savegame for bug reporting. há 3 meses atrás
..
tools f7529e2e57 [qsrc2tw] Keep all version numbers of a savegame for bug reporting. há 3 meses atrás
twine-code d18ef26c5a [qsrc2tw] Fix `\` not being escpaded. Also pretty up the output and introduce `<<image>>`. há 3 meses atrás
.gitignore 5bea81fa2e [qsrc2tw] add `TypeScript` há 4 meses atrás
README.md 001f43c344 [fix] `input` can start with `$`: `$input` há 4 meses atrás
package-lock.json 36f7edbd4a Demo: Using `gridstack` to move interface-elements around há 4 meses atrás
package.json 36f7edbd4a Demo: Using `gridstack` to move interface-elements around há 4 meses atrás
tsconfig.json 5bea81fa2e [qsrc2tw] add `TypeScript` há 4 meses atrás

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.