Hello,

I'm looking for an easier API for `pegs` that would for easy AST building. 
PEG.js allows for something like this:
    
    
    Method
      = ident:Ident args:CallArgs { return { type: "call_method", ident, args } 
}
    
    
    Run

Unfortunately I don't see anything similar for Nim's built-in `pegs` module, is 
something like this possible with macros, or something like this?

Reply via email to