User loginNavigation |
Treetop: Packrat Parser Generator for RubyHey LtU. I learned about parsing expression grammars on this site, so I wanted to share what I've done with them. Treetop combines the fact that PEGs are closed under composition with Ruby's mixin semantics, equating grammars with modules that can include one another and override each other's rules with access to the `super` keyword. I think a lot of the ideas within it have been invented in parallel within some other frameworks in the year I have been writing it, but I nonetheless think it offers an expressive set of features in a usable package. By Nathan Sobo at 2008-01-16 08:53 | LtU Forum | previous forum topic | next forum topic | other blogs | 9368 reads
|
Browse archives
Active forum topics |
Recent comments
18 hours 20 min ago
20 hours 8 min ago
17 weeks 5 days ago
17 weeks 5 days ago
17 weeks 5 days ago
23 weeks 6 days ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 11 weeks ago
1 year 34 weeks ago