File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 883 . Install [ NPM] ( https://github.com/coreybutler/nvm-windows )
994 . ` npm install ` to install dependencies.
10105 . ` npm run textMate ` first time and every time grammar is changed.
11- 6 . ` npm run antlr4ng ` first time and every time grammar is changed.
11+ 6 . ` npm run antlr ` first time and every time grammar is changed.
12127 . Create a ` .\sample ` directory as a default workspace for client debugging (or update .\\ .vscode\\ launch.json as preferred).
13137 . (Optional) Install [ ANTLR4 grammar syntax support] ( https://marketplace.visualstudio.com/items?itemName=mike-lischke.vscode-antlr4 ) VSCode extension.
1414 Note: to debug a grammar, you'll first need to activate the extension by opening one of the * .g4 files.
Original file line number Diff line number Diff line change 125125 "postinstall" : " cd client && npm install && cd ../server && npm install && cd .." ,
126126 "textMate" : " npx js-yaml client/src/syntaxes/vba.tmLanguage.yaml > client/out/vba.tmLanguage.json" ,
127127 "devMate" : " npx js-yaml client/src/syntaxes/dev.tmLanguage.yaml > client/out/vba.tmLanguage.json" ,
128+ "antlr" : " npm run antlr4ngPre && npm run antlr4ng && npm run antlr4ngFmt && npm run compile" ,
128129 "antlr4ng" : " antlr4ng -Dlanguage=TypeScript -visitor ./server/src/antlr/vba.g4 -o ./server/src/antlr/out/" ,
129130 "antlr4ngPre" : " antlr4ng -Dlanguage=TypeScript -visitor ./server/src/antlr/vbapre.g4 -o ./server/src/antlr/out/" ,
130131 "antlr4ngFmt" : " antlr4ng -Dlanguage=TypeScript -visitor ./server/src/antlr/vbafmt.g4 -o ./server/src/antlr/out/" ,
You can’t perform that action at this time.
0 commit comments