sirthias / parboiled2

A macro-based PEG parser generator for Scala 2.10+
Other
717 stars 86 forks source link

Implement parse tree pretty print #8

Closed alexander-myltsev closed 10 years ago

alexander-myltsev commented 11 years ago
> aabbcc
[S] 'aabbcc'
  [OneOrMore] 'aa'
    ['a'] 'a'
    ['a'] 'a'
  [B] 'bbcc'
    ['b'] 'b'
    [Optional] 'bc'
      [B] 'bc'
        ['b'] 'b'
        [Optional]
        ['c'] 'c'
    ['c'] 'c'
sirthias commented 10 years ago

Parse tree generation is currently out of scope for parboiled2.