30 lines
370 B
Markdown
30 lines
370 B
Markdown
# re2-js-generator
|
|
|
|
### Install guide
|
|
You need install npm and node v.10;
|
|
|
|
npm install
|
|
|
|
Read re2c manual: http://re2c.org/manual/manual.html
|
|
|
|
|
|
### RUN:
|
|
./run.sh
|
|
|
|
or
|
|
|
|
node main.js
|
|
|
|
###Flags
|
|
|
|
-o=<output_path>
|
|
-t=<web|node>
|
|
-nb|--no-beautify
|
|
|
|
Result fill write in <lexer.js> file.
|
|
|
|
You can test it:
|
|
$ node test.js
|
|
|
|
|
|
Report for bugs: rolahd@yandex.ru |