Documentation
Are you brand new to parslet? Well then let’s introduce you guys. This is what you should read and try out first.
Parslet comes with a lot of examples that explain how to use various aspects. Take a look at those.
This is the real technical documentation, showing you how to use all aspects of parslet. Especially:
- Overview explains parslet’s goals and gives you a bigger picture.
- Using Parslet::Parser to write parsers.
- Using Parslet::Transform to transmogrify your intermediary trees.
- Tricks for common situations.
Presentations
- Parslet, An Introduction introduces parslet in a few poignant slides. (Bo Jeanes and David Pick)
Blogs
- Parslet Intro explains quite a few things on how parsers work and on parser metaprogramming. Besides, Florian Hanke also explains how to create an ERB parser in just a few lines!
- Parslet and JSON shows how to construct a JSON parser in a few lines. John does a great job of explaining how parslet ties back in with railroad diagrams.
The rdoc documentation will help you with the nitty gritty.