Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 1.27 KB

README.md

File metadata and controls

35 lines (22 loc) · 1.27 KB

Tiny-Compiler

Scanner DFA

Scanner DFA


App Screenshots

The application window


The application window is divided into two main views: source code at left, and results at right (i.e., tokens and abstract syntax tree).

You can start typing in the editor at left or load the source code from a .tiny file from the upper rightmost icon.

To begin the compilation just click on the run button to the left of the file button.

App window

Results.


Lexical Analysis (Tokens)

Tokens

Syntax Analysis (Abstract Syntax Tree)

In text: AST_Text

In graph: AST_Graph

You can investigate the graph by zooming and moving the right canvas as you like. AST_Graph_Zoom