14bbd19f16
Renamed BinaryExpression to BinaryOpDef for consistency.
2017-09-21 08:12:18 -05:00
53d598b773
Refactor Add position fields to our Expression Definition Structs
2017-09-21 08:10:09 -05:00
f95ecddea2
Refactored Binary Expressions to a common type and cleaned it up
2017-09-21 07:50:34 -05:00
a8b6e7f851
Refactor the Format Expression to use a FormatDef struct.
2017-09-21 07:50:11 -05:00
42fe368dae
Refactor the Copy expression to use a CopyDef struct.
2017-09-21 07:49:43 -05:00
b3677861c6
Add datastructure to support tracking position of Value nodes in the AST.
2017-09-21 07:49:17 -05:00
6c3662d361
Revert "WIP: Track the positions of our tokens and AST elements."
...
This reverts commit b4ec44323b25f7532964a543ac52e905349dc314.
2017-09-18 18:32:47 -05:00
b4ec44323b
WIP: Track the positions of our tokens and AST elements.
2017-09-12 20:08:58 -05:00
31dadd47f6
Add a validation step for Macros.
...
Ensure that only symbols declared in the macro arguments are used in
the expressions.
2017-09-07 14:29:32 -05:00
45b9712380
Some Refactoring and cleanups.
...
* Moved the AST datastructures into their own module.
* Collapsed the Expression Enum to just wrappers around structs
instead of having actual structs in the definitions.
* Added a few more unit tests to ensure nothing got broken.
* Added documentation for the new structs.
* Added a unifying BinaryExpression Tuple type.
2017-09-06 18:16:28 -05:00