Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 541 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 541 Bytes

re2js

A simple script to produce JavaScript from re2c output

I salvaged this from a comment in an old WebKit release.

Usage:

It defaults to using -isc on re2c. Pass additional parameters as necessary. Redirect it's output to file to save it permanently.

  • re2js myLexer.re2js > myLexer.js

Installing:

  • make DESTDIR=/usr/local install, or simply, make install
  • You can also do make uninstall