Skip to content

Latest commit

 

History

History

lang-util

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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