Skip to content

Perplex, Lemon, and Re2c: A cross-platform lexer/parser replacement for flex and bison

License

Notifications You must be signed in to change notification settings

stepcode/baffledCitrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baffledCitrus

A cross-platform (Linux/OSX/Windows/etc) lexer/parser generator replacement for lex/flex and yacc/bison

  • Lemon: an LALR(1) parser generator from SQLite
  • re2c: a tool for writing very fast and very flexible scanners
  • Perplex: a simple tool to simplify the creation of scanners using re2c

This combination is used in BRL-CAD as a replacement for flex and bison.

Compiling

Requires: CMake >= 2.8, C/C++ compiler (MSVC, GCC, Clang, etc)

On Windows, use CMake-GUI. On other OSes, use CMake-GUI or type the following:

cd baffledCitrus
mkdir build
cd build
cmake ..
make

Other Code Generators

Syntax checkers

About

Perplex, Lemon, and Re2c: A cross-platform lexer/parser replacement for flex and bison

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages