Can I generate a rule graph?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can I generate a rule graph?

sstults
I'd like to generate a representation of our syntax rules for use in our documentation. Has anyone else done this, or is there a utility class that does this?

Thank you,
Scott
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can I generate a rule graph?

mathias
Administrator
Scott,

to my knowledge there is no such utility yet.
However, the rule structure of your parboiled parser forms a simple graph that you can easily walk yourself in order to produce exactly the kind of documentation you require.

Cheers,
Mathias

---
[hidden email]
http://www.parboiled.org

On 13.11.2012, at 17:40, sstults [via parboiled users] <[hidden email]> wrote:

> I'd like to generate a representation of our syntax rules for use in our documentation. Has anyone else done this, or is there a utility class that does this?
>
> Thank you,
> Scott
>
> If you reply to this email, your message will be added to the discussion below:
> http://users.parboiled.org/Can-I-generate-a-rule-graph-tp4024089.html
> To start a new topic under parboiled users, email [hidden email]
> To unsubscribe from parboiled users, click here.
> NAML

Loading...