-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement more supernodes for incrementing/decrementing
- generalize existing nodes to work with arbitrary values, support decrementing, and match new naming scheme All nodes now supported: - IncExpWithValue: adds or subtracts a constant value to/from a subexpression - [Uninit]IncFieldWithValueNode: increment or decrement a field by a constant value - [Uninit]IncFieldWithExpNode: increment or decrement a field with a value from a subexpression - Inc[Non]LocalVarWithExpNode: increment or decrement a local with a value from a subexpression - Inc[Non]LocalVarWithValueNode: increment or decrement a local by a constant value - SomSom's parser also has `text := text + self currentChar.` where `text` is a field in the lexer, this is supported too
- Loading branch information
Showing
19 changed files
with
942 additions
and
174 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
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.