A translator to implement one part of the language in terms of another.
This simplifies the compiler/interpreter implementation. This translates
from:
"for" "(" (PreLoopStatement)? ";" (Expression1)? ";" (Expression2)? ")"
EvaluationUnit
to
"{"
(PreLoopStatement)? ";"
"while" "(" Expression1 ")"
"{"
EvaluationUnit
(Expression2)?
"}"
"}"
author: Rob Clark version: 0.1 |