SableCC is a parser generator that generates fully featured object-oriented frameworks for building compilers, interpreters, and other text parsers. In particular, generated frameworks include intuitive strictly-typed abstract syntax trees and tree walkers. SableCC also keeps a clean separation between machine-generated code and user-written code, which leads to a shorter development cycle.
| Tags | Software Development Code Generators Compilers Interpreters Parser Generator Lexer Generator Syntax Tree Builder |
|---|---|
| Licenses | LGPL Apache 2.0 |
| Operating Systems | OS Independent |
| Implementation | Java Other |
Recent releases


Release Notes: This beta version includes a first version of the parser generator based on the new linear-approximate LALR(K) engine with safe ambiguity resolution for expressions. It also generates strictly-typed syntax trees and improved tree walkers.


Release Notes: This beta version includes a first version of the lexer generator based on the new and powerful "lexical expression" engine. It also includes new targets (Scala and C) and additional operators for the ObjectMacro text generation system.


Release Notes: This alpha version introduces the powerful ObjectMacro text generation system, adds lookahead handling to lexers, and provides various minor improvements.


Release Notes: This alpha version brings an improved and complete grammar. It also adds documentation comments and JUnit tests.


Release Notes: This alpha version brings improved syntax for lexer specifications, including an exponent operator and the "Any" keyword. It also adds robust and intuitive SableCC-based command line parsing. This version is able to parse new lexer specifications and do partial semantic verifications.