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 mēneši atpakaļ | |
---|---|---|
.. | ||
tools | 2 mēneši atpakaļ | |
twine-code | 2 mēneši atpakaļ | |
.gitignore | 2 mēneši atpakaļ | |
README.md | 3 mēneši atpakaļ | |
package-lock.json | 3 mēneši atpakaļ | |
package.json | 3 mēneši atpakaļ | |
tsconfig.json | 4 mēneši atpakaļ |
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
.