lang-util
is a crate that implements utilities to parse and represent syntax trees.
It also provides error formatting facilities for parsers using
lalrpop
and logos
.
This crate is tailored for use in the glsl-lang
crate,
but you may use its utilities for implementing your own language parsers:
- [error]: parsing error reporting module, with user-readable location information. Only
available with the
lalrpop
feature enabled. - [node]: AST node structure and display
- [position]: utilities for working with positions in strings
Alixinne [email protected]
BSD-3-Clause