Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
table: simplified operand class hierarchy
changed the way debug names are stored for the operand table entries - separated main name (name) and data type (name2) - updated in print and input internal code entries - renamed name2 from 'Int' and 'Str' to '%' and '$' - updated expected test results accordingly - required has name to also check if code has no-name table flag - used internal table flag for no name flag since it wasn't being used - changed internal class to set no-name table flag added table constructor for unimplemented operand table entries - sets operand type to something other than no (temporary) - parser now checks if entry has operand instead of empty name refactored operand sub-class hierarchy - added literal structure constants for common initializers - modified operand class constructor for these structure arguments - constant, variable, and variable reference classes based on operand - modified entry classes to set initializers instead of instances
- Loading branch information
1 parent
c575b47
commit 1598427
Showing
19 changed files
with
267 additions
and
219 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.