| BaseVisitor |
Common base class for optimization visitors that allow the program tree to be rewritten.
|
| ExtractConstantValues |
Find constants and extract to variables in order to have the number parsed only once.
|
| MergeLines |
|
| RemoveEmptyStatements |
Remove any empty statements during the tree walk.
|
| RemoveRemStatements |
Drop all REM statements as they are encountered in the tree walk.
|
| Renumber |
A simple renumbering algorithm that maps the reassignments and lets BaseVisitor
perform the actual renumbering!
|
| ShortenVariableNames |
Ensure all variable names are 1 or 2 characters long.
|