yorickpeterse/ruby-ll
View on GitHub ↗ ★ 43 Ruby archived
An LL(1) parser generator for Ruby.
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2015-09-16 · latest 2017-08-15
20082026
-
Having written a parser generator myself ( https://github.com/YorickPeterse/ruby-ll ), plenty of handwritten parsers, and having mess with parsing combinators I concluded I really don't like parsing combinators. Perhaps this was due to the…
comment by YorickPeterse · 2017-08-15 · in Writing parsers like it is 2017 -
I used one to parse XML/HTML, CSS selectors, and XPath expressions. Parser generator in question is https://github.com/YorickPeterse/ruby-ll which is an LL(1) parser generator in Ruby. Example grammars:…
comment by YorickPeterse · 2016-02-24 · in LL and LR in Context: Why Parsing Tools Are Hard (2013) -
This depends on the parser implementation. For example, https://github.com/yorickpeterse/ruby-ll lets you customize the error messages as the default ones can be a little bit confusing at times. An example of this is…
comment by YorickPeterse · 2015-09-16 · in Earley Parsing Explained