Home

Final Report:See my final report here: December 12 2010: Final Report

See updates here: Nov 14 2010 Update: Project Report 2

Warning: content below is out of date and is superseded by the final report


----------------------

Simple Language Overview (no longer up to date):



AssignmentVariable := Expression
Variable[Expression] := Expression
ExpressionVariable
Variable[Expression]
IntegerNumber
RealNumber
Expression ArithmeticOp Expression
LogicOpAND OR
ComparisonOp= <> > < >= <=
ComparisonExpression ComparisonOp Expression
Comparison LogicOp Comparison
NOT Comparison
BlockBEGIN ... END
TestIF Comparison THEN ... ELSE ... ENDIF
IF Comparison THEN ... ENDIF
LoopWHILE Comparison DO ... ENDWHILE
REPEAT ... UNTIL Comparison ENDREPEAT
FOR Variable := Expression TO Expression DO ... ENDFOR
PARFOR Variable := Expression TO Expression [Private Variable ...] [REDUCTION operator Variable] DO ... ENDPARFOR
InputREAD(Variable)
OutputWRITE(Variable)

Compilation Diagram:


---