4 ms·
I used one to parse XML/HTML, CSS selectors, and XPath expressions. Parser generator in question is https://github.com/YorickPeterse/ruby-ll https://github.com/
by YorickPeterse 11y ago
I used one to parse XML/HTML, CSS selectors, and XPath expressions. Parser generator in question is https://github.com/YorickPeterse/ruby-ll https://github.com/YorickPeterse/ruby-ll which is an LL(1) parser generator in Ruby. Example grammars:
https://github.com/YorickPeterse/oga/blob/master/lib/oga/css/parser.rll https://github.com/YorickPeterse/oga/blob/master/lib/oga/css...
https://github.com/YorickPeterse/oga/blob/master/lib/oga/xml/parser.rll https://github.com/YorickPeterse/oga/blob/master/lib/oga/xml...
https://github.com/YorickPeterse/oga/blob/master/lib/oga/xpath/parser.rll https://github.com/YorickPeterse/oga/blob/master/lib/oga/xpa...