23 releases

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

Download history 21/week @ 2018-05-04 12/week @ 2018-05-11 1/week @ 2018-05-18 38/week @ 2018-05-25 76/week @ 2018-06-01 2/week @ 2018-06-08 70/week @ 2018-06-15 65/week @ 2018-06-22 166/week @ 2018-06-29 52/week @ 2018-07-06 59/week @ 2018-07-13 81/week @ 2018-07-20 59/week @ 2018-07-27

221 downloads per month

GLL 450 parser

Build Status crates.io

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.

Hacking and contributing

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 :

  1. add the pub keyword to make the parser available;
  2. 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.

BSD-3-Clause license


  • nom 3.2+verbose-errors

Reverse deps