lang-util

Crates.iolang-util
lib.rslang-util
version0.6.1
sourcesrc
created_at2021-04-04 23:04:55.788557
updated_at2024-10-01 20:18:05.749288
descriptionUtilities for implementing parsers and ASTs using lalrpop and Logos
homepagehttps://github.com/alixinne/glsl-lang
repositoryhttps://github.com/alixinne/glsl-lang
max_upload_size
id379037
size44,275
Alixinne (alixinne)

documentation

https://docs.rs/lang-util/

README

lang-util

Crates.io docs.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

Author

Alixinne alixinne@pm.me

License

BSD-3-Clause

Commit count: 439

cargo fmt