@bitloops/bitloops-language-cli
v0.5.3
Published
Bitloops Language CLI
Downloads
223
Keywords
Readme
Bitloops Language CLI
Installation
yarn
yarn global add @bitloops/bitloops-language-cli
npm
npm install -g @bitloops/bitloops-language-cli
Usage
To use the CLI run bitloops-language transpile
or bl transpile
and follow the instructions
Development
Testing the system
yarn test
Runs all the tests without coverage
yarn test:coverage
Runs all the tests and generates the coverage report
Changing the grammar
If the g4 lexer or grammar files are changed yarn ant
should be run. This
command generates the JavaScript antlr4 files and also triggers the generation
of the d.ts files required to run the antlr4 files in TypeScript and finally
runs prettier on the d.ts files generated to fix breaking formatting issues during
yarn build
.