Saturday, August 24, 2013

Old Translator – Removal (Step 1)

The old translator routines will be removed in steps, the first step being the largest.  All of the functions related to the old translator were removed along with the token handler and command handler functions.  Also removed were the translator variables only used by the old translator routines including the state, mode, count stack (used for arrays and functions) and command stack (used for commands).  This were are needed for the token centric old translator.

The program model was changed temporarily to call the new main translate routine, however, this will be changed back once the new translator routines are renamed (removing the "2" in their names that were added to avoid a conflict with the old translator routines).

The temporary test command line options to activate the new translator were also removed.  The original test command line options now use the new translator.  The old translator expected results files that were previously saved were removed.  The temporary test scripts for running the new translator were removed and the commands added to look for old expected results files were removed from the original test scripts.  All tests pass with the original test scripts using the new translator routines (Windows testing was not performed yet).

[commit f150fbeb3f]

No comments:

Post a Comment

All comments and feedback welcomed, whether positive or negative.
(Anonymous comments are allowed, but comments with URL links or unrelated comments will be removed.)