You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Aleksey Chichenkov 72a7d5e043 fix 11 months ago
example fix 11 months ago
libs no dependencies 11 months ago
LICENSE Initial commit 1 year ago fix 11 months ago fix 11 months ago fix 11 months ago
main.js fix 11 months ago
package.json no dependencies 11 months ago change to main and add package 1 year ago
test.js fix replasing 11 months ago



  • node
  • npm
  • re2c


git clone --
cd re2-js-generator

One Minute Guide

You can fast use example:

cd example/
node lexme.js


### or
node main -c=<config_path>
### or
node main.js -inp=<input_file> -o=<output_path> -t=<web|node> <-nb|--no-beautify> -logs -web-template=<web_template_file>

Result fill write in file.



Web template example

You can create template file for simplify web develop

    var deps = [];
    define(deps, function(){
        return Lexer;


node test.js


Read re2c manual:

Report for bugs: