|0.9.1||Jul 6, 2018|
|0.8.1||Jun 17, 2018|
|0.7.2||Dec 13, 2017|
|0.7.1||Nov 20, 2017|
|0.3.0||Jul 31, 2017|
#14 in Rendering
221 downloads per month
This is a GLSL450 parser which aims is to parse a GLSL450-formatted source into an in-memory representation (AST). It strictly follows the grammar rules defined in the official GLSL 450 specifications.
Currently, the parser expects the input source to be
&[u8], which provides a pretty poor
experience in error reporting. This is a serious issue and is being worked on.
If you wished to contribute, feel free to have a look at the open issues and submit a PR.
On a general note, if no issue interests you, you can open the parser.rs file and
look for a parser function which is annotated with documentation but private (no
pub yet). If you
find such a function, you can :
- add the
pubkeyword to make the parser available;
- add a set of tests in the tests/ folder.
The later point is actually mandatory as the crate won’t make it to its initial release untill all parsers that must be public have their associated tests.