 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
Try parsing a
program with an if..then..else..
|
|
|
|
|
fix Grm.cup if
there's a problem with it
|
|
|
|
Add a new rule
for function declarations
|
|
|
|
|
Read Tiger spec
to be sure what a function should look like
|
|
|
|
Follow style
used for TypeDec since theyre similar
|
|
|
|
|
Call the rule FunDec
and add other rules as necessary
|
|
|
|
|
Use existing AST
class Absyn.FunctionDec
|
|