 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
|
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
|
|
|
|
|
Write new AST
class Absyn.FunctionDec
|
|