re2-js-generator/README.md

30 lines
370 B
Markdown
Raw Normal View History

2019-01-24 13:50:55 +00:00
# re2-js-generator
2019-01-24 15:21:44 +00:00
### Install guide
You need install npm and node v.10;
2019-01-24 15:21:44 +00:00
2019-01-24 15:36:19 +00:00
npm install
2019-01-24 15:20:50 +00:00
Read re2c manual: http://re2c.org/manual/manual.html
2019-01-24 15:36:19 +00:00
### RUN:
2019-01-24 15:20:50 +00:00
./run.sh
2019-01-24 15:36:19 +00:00
2019-01-24 15:20:50 +00:00
or
2019-01-24 15:36:19 +00:00
node main.js
2019-01-25 13:30:02 +00:00
###Flags
-o=<output_path>
-t=<web|node>
-nb|--no-beautify
Result fill write in <lexer.js> file.
2019-01-25 12:15:41 +00:00
You can test it:
$ node test.js
2019-01-24 15:20:50 +00:00
Report for bugs: rolahd@yandex.ru