10 unstable releases (3 breaking)
0.4.1 | Sep 5, 2022 |
---|---|
0.4.0 | Sep 5, 2022 |
0.3.1 | Jul 3, 2022 |
0.3.0 | Jun 15, 2022 |
0.1.3 | Apr 16, 2021 |
#141 in Parser tooling
218 downloads per month
Used in 9 crates
(6 directly)
47KB
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
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
Author
Vincent Tavernier vince.tavernier@gmail.com
License
BSD-3-Clause
lib.rs
:
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
Dependencies
~1–1.5MB
~35K SLoC