🐆 Santiago

A lexing and parsing toolkit for Rust

CI/CD Version License

Features

Getting started

Just checkout the examples:

You can run the examples by cloning this project and executing:

sh /santiago $ cargo run --example calculator

Alternatives

Santiago aims to be an alternative to GNU Bison, Yacc and Flex.

Sadly those long standing tools do not offer Rust compatibility.

Short term goals

In order:

  1. Enforce resolving ambiguities in the input grammar.

  2. Implement a Flex-like interface for the lexer, so that you can really do complex lexing beyond 'char-by-char'

  3. Release 1.0.0.