Go to file
Aleksey Chichenkov 1bec222dec oid 2019-01-30 12:49:21 +03:00
LICENSE Initial commit 2019-01-24 13:50:55 +00:00
README.md readme 2019-01-29 13:15:18 +03:00
lexer.l oid 2019-01-30 12:49:21 +03:00
main.js oid 2019-01-30 12:49:21 +03:00
package.json add version 2019-01-25 16:30:02 +03:00
run.sh change to main and add package 2019-01-24 18:36:19 +03:00
test.js oid 2019-01-30 12:49:21 +03:00

README.md

re2-js-generator

Requires

  • node
  • npm
  • re2c

Install

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