SE250:lab-9:asin185

From Marks Wiki
Jump to navigation Jump to search

Lab 9

Intro

This lab is quite, different to other labs as this one ones doesn't like to compile. After a bit of debugging i got it semi-working. I went for the PARSER option for this lab.

Parser

There were a lot of errors when starting off the lab, So i went to the main function and i got a output unitl i hit this line.

prefix_tree( t )

The output before this line is as follows :

Parse("a=1"):
	Incomplete parse
Parse("a=1;b=2;k;k;k"):
	Incomplete parse
Parse("ia>btwtda=a*2ek"):
	Incomplete parse
Parse("ict{x=1;wtda=a*2}ek"):
	Incomplete parse
Parse("junk that won't parse"):
	Incomplete parse