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 | 9415 reads
|
Browse archives
Active forum topics |
Recent comments
12 hours 46 min ago
13 hours 1 min ago
5 days 13 hours ago
5 days 14 hours ago
5 days 14 hours ago
3 weeks 6 days ago
4 weeks 4 days ago
4 weeks 4 days ago
4 weeks 6 days ago
4 weeks 6 days ago