Calculator
Integer arithmetic, precedence by grammar structure, parentheses, and a handwritten lexer.
Open calculator.y →EXECUTABLE GRAMMAR GALLERY
Every maintained grammar keeps accept and reject cases in its source with
%test. CI runs those cases in isolated processes and requires every
production to reduce at least once.
Integer arithmetic, precedence by grammar structure, parentheses, and a handwritten lexer.
Open calculator.y →Generated lexer rules, conversion actions, recursive objects and arrays, and every JSON value.
Open json.y →Quoted fields, escaped quotes, row recursion, and generated newline-aware tokenization.
Open csv.y →Line-oriented scanning, sections, entries, blank lines, and a nested Ruby Hash result.
Open ini.y →A Lox-scale starting point with variables, assignment, print statements, expressions, and AST execution.
Open tiny_language.y →
Add source examples to a grammar and run
ibex test --mode=extended --coverage=100 grammar.y.