SE250:lab-9:asin185

From Marks Wiki
Revision as of 05:20, 3 November 2008 by Mark (Sọ̀rọ̀ | contribs) (4 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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