yorickpeterse/oga
View on GitHub ↗ ★ 1,169 Ruby archived
Oga is an XML/HTML parser written in Ruby.
5 mentions on Hacker News by 3 people: 1 story, 4 comments · first 2014-11-22 · latest 2017-01-15
20082026
-
…goes for ssl ( https://github.com/jruby/jruby-openssl/blob/master/README.md ) and xml parsing ( https://github.com/YorickPeterse/oga/blob/master/README.md ) Also goes for all the json parsing, etc stuff which seems to need c extensions.…
comment by sandGorgon · 2017-01-15 · in TruffleRuby Status -
…which is an LL(1) parser generator in Ruby. Example grammars: https://github.com/YorickPeterse/oga/blob/master/lib/oga/css... https://github.com/YorickPeterse/oga/blob/master/lib/oga/xml... https://github.com/YorickPeter
comment by YorickPeterse · 2016-02-24 · in LL and LR in Context: Why Parsing Tools Are Hard (2013) -
This is briefly covered in https://github.com/YorickPeterse/oga#why-another-htmlxml-par... : > Ox looks very promising but it lacks a rather crucial feature: parsing HTML (without using a SAX API). It's also again a C extension making…
comment by YorickPeterse · 2016-02-20 · in Oga: a new XML/HTML parser for Ruby (2014) -
…error messages as the default ones can be a little bit confusing at times. An example of this is https://github.com/YorickPeterse/oga/blob/0fd6fd8645e57ea4b2... which changes messages from "unexpected T_FOO, expected T_BAR" to "unexpected…
comment by YorickPeterse · 2015-09-16 · in Earley Parsing Explained