pith. machine review for the scientific record. sign in

arxiv: 1509.00818 · v1 · submitted 2015-09-02 · 💻 cs.OH · cs.FL

Recognition: unknown

Confluent Orthogonal Drawings of Syntax Diagrams

Authors on Pith no claims yet
classification 💻 cs.OH cs.FL
keywords diagramsdrawingsyntaxconfluentcontextfreelanguageorthogonal
0
0 comments X
read the original abstract

We provide a pipeline for generating syntax diagrams (also called railroad diagrams) from context free grammars. Syntax diagrams are a graphical representation of a context free language, which we formalize abstractly as a set of mutually recursive nondeterministic finite automata and draw by combining elements from the confluent drawing, layered drawing, and smooth orthogonal drawing styles. Within our pipeline we introduce several heuristics that modify the grammar but preserve the language, improving the aesthetics of the final drawing.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.