Expand description
chompy provides a series of utilities used to create parsers. This crate is primarily developed to assist with the specific needs of my own projects but aspires to be robust enough to serve any user interested in creating a parser quickly.
Modules§
- diagnostics
- Handles the creation and management of user-driven errors with chompy.
- lex
- Tools for creating tokens and lexers.
- parse
- Tools for creating parsers.
- utils
- Common utilities shared across the different elements of chompy.
Macros§
- define_
bug - Provides the boilerplate for implementing super::Diag on a struct with super::Severity::Bug.
- define_
diag - Core macro: now accepts optional generics and applies to Diag, Located, Debug
- define_
error - Provides the boilerplate for implementing super::Diag on a struct with super::Severity::Error.
- define_
warning - Provides the boilerplate for implementing super::Diag on a struct with super::Severity::Warning.