Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There is this tool: <a href="http://bottlecaps.de/rr/ui" rel="nofollow">http://bottlecaps.de/rr/ui</a> but it requires EBNF. To be fair, EBNF makes the grammar much clearer, since it allows the direct representations of sequences of items which would have to be inferred from a bison source file. I believe there are tools which will attempt to do this inference, too.</p> <p>There's also this tool: <a href="https://github.com/tabatkins/railroad-diagrams" rel="nofollow">https://github.com/tabatkins/railroad-diagrams</a> , which requires you to supply what is, in effect, an AST of the grammar (ideally, converted as per the previous one.) This might be a better option, since you can easily produce an AST of a bison grammar using, well, bison :) and it should be easy to infer the sequence operators, or even to mark them.</p> <p>There are probably other tools floating around as well, but I suspect they will all have similar issues. The two tools I listed at least look nice (imo) for grammars of a normal size. You can find more links on <a href="http://en.wikipedia.org/wiki/Syntax_diagram" rel="nofollow">Wikipedia</a>.</p> <p>By the way, I suppose you know that recent bison version will produce <code>DOT</code> files describing the parsing states? (Use the <code>-g</code> option.) Those are of very little use for documenting grammars, and you need a lot of space if your grammar is anything approaching complicated, but they can also provide some useful information about the grammar. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload