re2-js-generator/README.md

479 B

re2-js-generator

Requires

  • node
  • npm
  • re2c

Install

You need install npm and node v.10;

npm install

Start

node main.js -o=<output_path> -t=<web|node> <-nb|--no-beautify>

or

./run.sh

Result fill write in <lexer.js> file.

Flags

-o=<output_path>
-t=<web|node>
-nb|--no-beautify

Test

node test.js

Manual

Read re2c manual: http://re2c.org/manual/manual.html

Report for bugs: rolahd@yandex.ru