Stephan Fuchs c236007a13 [SugarCube] Ship typescript-result for people who can't compile it and disable typescript in bat-file if node isn't installed. | 2 meses atrás | |
---|---|---|
.. | ||
tools | 2 meses atrás | |
twine-code | 2 meses atrás | |
.gitignore | 2 meses atrás | |
README.md | 3 meses atrás | |
package-lock.json | 3 meses atrás | |
package.json | 3 meses atrás | |
tsconfig.json | 4 meses atrás |
You need node
and npm
installed.
Navigate to .\tools\QSRC2TW
and run npm i
there. Do this in the current folder (qsrc2tw
) as well.
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
.