Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 356 Bytes

Instructions.md

File metadata and controls

7 lines (4 loc) · 356 Bytes

Instructions

This has everything you need to parse a file - in ParseProg you will find progToAST which will parse a string and return an abstract syntatx tree, and parseFile which will open a file and parse it, returing an IO (AST.Prog String String).

You should use these to test your program on functions.

All of this code is due to Prashant Kumar.