nice
---
"No man is an island... except Phillip"

On 26 March 2012 06:18, Kaspar Schiess <[email protected]> wrote:

> > Hi, What is the recommended code structure for writing the parser?
> > Almost all example parsers seem to be just one big class. Is there a
> > recommended way of splitting it up into modular files? Thanks.
>
> Hei, everyone in this thread is right, I've tried to put all of it in
> one file to explain by example:
>
> https://github.com/kschiess/parslet/blob/master/example/modularity.rb
>
> regards,
> kaspar
>
>

Reply via email to