Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.15 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.15 KB

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