22 releases
| 0.8.1 | Sep 15, 2025 |
|---|---|
| 0.8.0 | Jun 9, 2025 |
| 0.7.2 | Nov 22, 2024 |
| 0.5.3 | Jul 23, 2024 |
| 0.1.3 | Apr 16, 2021 |
#2306 in Parser implementations
334 downloads per month
Used in 9 crates
(6 directly)
48KB
1K
SLoC
lang-util
lang-util is a crate that implements utilities to parse and represent syntax trees.
It also provides error formatting facilities for parsers using
lalrpop.
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
lalrpopfeature enabled. - [node]: AST node structure and display
- [position]: utilities for working with positions in strings
Author
Alixinne alixinne@pm.me
License
BSD-3-Clause
Dependencies
~1.1–1.7MB
~32K SLoC