HappyMapper
Oga
Our great sponsors
HappyMapper | Oga | |
---|---|---|
1 | 1 | |
149 | 1,155 | |
- | - | |
0.0 | 0.0 | |
17 days ago | 4 months ago | |
Ruby | Ruby | |
MIT License | Mozilla Public License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
HappyMapper
-
Show HN: Shale – a Ruby object mapper and serializer for JSON, YAML and XML
Nice library with a very approachable documentation, congrats!
I'll probably give it a go to replace my current implementation using nokogiri-happymapper (https://github.com/mvz/happymapper)
Oga
-
How to write a compiler or interpreter in rust
In terms of parsing style I suggest sticking with a hand-written recursive-descent parser. Parser generators seem appealing at first, but I always ran into annoying limitations when using them (I wrote one in Ruby myself as well, and used this for this project). Parsing combinators are useful for small inputs, but I find them difficult to use for anything but simple cases.
What are some alternatives?
Nokogiri - Nokogiri (鋸) makes it easy and painless to work with XML and HTML from Ruby.
Ox - Ruby Optimized XML Parser
HTML::Pipeline - HTML processing filters and utilities
shale - Shale is a Ruby object mapper and serializer for JSON, YAML and XML. It allows you to parse JSON, YAML and XML data and convert it into Ruby data structures, as well as serialize data structures into JSON, YAML or XML.
ROXML - ROXML is a module for binding Ruby classes to XML. It supports custom mapping and bidirectional marshalling between Ruby and XML using annotation-style class methods, via Nokogiri or LibXML.
Tomlrb - A Racc based TOML parser
Oj - Optimized JSON