BaffledCitrus
Perplex, Lemon, and Re2c: A cross-platform lexer/parser replacement for flex and bison
Install / Use
/learn @stepcode/BaffledCitrusREADME
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
- bnfparser2 BNF/EBNF/ABNF syntax verification utility
- BNF Syntax Checker
Related Skills
node-connect
347.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
347.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
347.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
