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 4 years ago
example fix 4 years ago
libs no dependencies 4 years ago
LICENSE Initial commit 4 years ago fix 4 years ago fix 4 years ago fix 4 years ago
main.js fix 4 years ago
package.json no dependencies 4 years ago change to main and add package 4 years ago
test.js fix replasing 4 years 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 <lexer.js> 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: