meta-chevrotain
v0.0.4
Published
DSL for generating chevrotain parser code and cst typing
Readme
meta-chevrotain
DSL for generating chevrotain parser code and cst typing
Warning
This is a improvisational project and is NOT TESTED AT ALL. It might be improved in the future.
Examples
Requires
Install
yarn add meta-chevrotainUsage
Bootstrapping (in this project library)
yarn bootstrappingRead file and output parser code to console
yarn meta-chev -i input.txt -plRead file and output typing code to console
yarn meta-chev -i input.txt -tlRead file and output to files
yarn meta-chev -i input.txt -p parser.ts -t typing.d.tsRead file and output to files with extra typing entries
yarn meta-chev -i input.txt -p parser.ts -t typing.d.ts -e index:number