For those who like to visualise language grammars as railway diagrams, I've automated emitting the grammar for Rel's dialect of Tutorial D as railway diagrams in an .xhtml file. It's created automatically as part of the Rel build, and is uploaded to a link from https://reldb.org/c/index.php/grammar/.
Caveats: it's not as readable as it could be -- given the way the grammar is handled in Rel for implementation purposes -- and there are some obvious kludges, like the string 'FLOATING_POINT_LITERAL'
being a stand-in for the lexical specification of a floating point literal.
For those who like to visualise language grammars as railway diagrams, I've automated emitting the grammar for Rel's dialect of Tutorial D as railway diagrams in an .xhtml file. It's created automatically as part of the Rel build, and is uploaded to a link from https://reldb.org/c/index.php/grammar/.
Caveats: it's not as readable as it could be -- given the way the grammar is handled in Rel for implementation purposes -- and there are some obvious kludges, like the string 'FLOATING_POINT_LITERAL'
being a stand-in for the lexical specification of a floating point literal.
I'm the forum administrator and lead developer of Rel. Email me at dave@armchair.mb.ca with the Subject 'TTM Forum'. Download Rel from https://reldb.org