pomelo 0.2.3

Implementation of the Lemon parser generator as a Rust procedural macro
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern crate core;
extern crate pomelo;
use pomelo::*;

pomelo! {
    //Attributes only in termninals
    %type #[doc("foo")] A;
    %type #[doc("foo")] B i8;

    %type #[doc("foo")] x i8;
       //~^ ERROR Non terminal symbol cannot have attributes
    input ::= ;
}

fn main() {}