lawrancej / CompilerKit

Compiler construction library in C.
GNU Lesser General Public License v2.1
55 stars 33 forks source link

Write visualizer for automata #35

Closed lawrancej closed 12 years ago

lawrancej commented 12 years ago

In a new file in the examples folder, write a GraphViz visualizer for the FSM class. It should write a .dot file for GraphViz to open. See here for an example of http://www.graphviz.org/content/fsm.

RoboCafaz commented 12 years ago

Dibs.

lawrancej commented 12 years ago

A good place to start would be the render method in Lab2 from last year's class: https://gist.github.com/2874751

lawrancej commented 12 years ago

How's this coming along? I tried out visitor-demo, and it produced an empty dot file.

RoboCafaz commented 12 years ago

I'm afraid that inner loop I talked to you about is still eluding me. I've put it on the back-burner in favor of working on CompilerDesign. If you'd like to re-delegate this task to someone else my progress is on my 'Visualize' branch: https://github.com/RoboCafaz/CompilerKit/tree/Visualize.