re2-js-generator/README.md

35 lines
443 B
Markdown

# re2-js-generator
## Install
You need install npm and node v.10;
```bash
npm install
```
## Start
```bash
node main.js -o=<output_path> -t=<web|node> <-nb|--no-beautify>
```
or
```bash
./run.sh
```
Result fill write in <lexer.js> file.
## Flags
```bash
-o=<output_path>
-t=<web|node>
-nb|--no-beautify
```
## Test
```bash
node test.js
```
## Manual
Read re2c manual: http://re2c.org/manual/manual.html
Report for bugs: rolahd@yandex.ru