-
Notifications
You must be signed in to change notification settings - Fork 0
interpreter
ramin32/interpreter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Three Address Code Interpreter (Wikipedia)
Interpretes the following grammar:
Program -> [label:] Statement Program | EOF
Statement -> Assignment | print Expression | halt | goto label
| BooleanExpr
Expression -> Factor | Factor op Factor
Factor -> id | boolean | float
Assignment -> id = Expression
BooleanExpr -> if Expression Statement
| iffalse Expression Statement
About
interpreter
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published