Stable baseline

FIRST PARSER IN MINUTES

Install, generate, and decide.

Start with the compatible racc surface, then opt into extended grammar features only when the task calls for them.

01

Install

gem install ibex
# or
bundle add ibex

Use ibex-runtime when an application only needs to run generated parsers.

02

Generate

ibex -o calculator.rb calculator.y
ruby calculator.rb

The complete guide includes a working calculator grammar and lexer.