Reseach (Pseudo) Language Specification


Below are the specific constructs that are included in the test language used within this study.

Assignment Variable:=Expression
Variable[Expression]:=Expression
Expression Variable
Variable[Expression]
IntegerNumber
RealNumber
Expression ArithmeticOp Expression

LogicOp
AND OR
ComparisonOp = <> > < >= <=
Comparison Expression ComparisonOp Expression
Comparison LogicOp Comparison
NOT Comparison
Block BEGIN ... END
Test IF Comparison THEN ... ELSE ... ENDIF
IF Comparison THEN ... ENDIF
Loop
WHILE Comparison DO ... ENDWHILE
REPEAT ... UNTIL Comparison ENDREPEAT
FOR Variable := Expression TO Expression DO ... ENDFOR
PARALLELFOR Variable := Expression TO Expression DO ... ENDFOR
Input READ(Variable)
Output WRITE(Variable)

Sign in Recent Site Activity Terms Report Abuse Print page | Powered by Google Sites