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 | 9687 reads
|
Browse archives
Active forum topics |
Recent comments
21 weeks 6 days ago
22 weeks 16 min ago
22 weeks 13 hours ago
22 weeks 1 day ago
22 weeks 4 days ago
22 weeks 4 days ago
22 weeks 5 days ago
22 weeks 5 days ago
22 weeks 5 days ago
22 weeks 5 days ago