Tristan B. Kildaire
|
2606764f84
|
Updated ExpressionDNode (dependency node) to use the Expression's toString to make indicating the TYPE of Expressionit contains
|
2 years ago |
Tristan B. Kildaire
|
67b9fd1504
|
Added override for VariableExpression's toString method
|
2 years ago |
Tristan B. Kildaire
|
1fb2b05826
|
Confirmed more intricate ones work
|
2 years ago |
Tristan B. Kildaire
|
b264ad2371
|
Fixed cast, which caused segfault later
|
2 years ago |
Tristan B. Kildaire
|
7729ae6f94
|
Or not
|
2 years ago |
Tristan B. Kildaire
|
f71ad99b9c
|
Seems to work
|
2 years ago |
Tristan B. Kildaire
|
0cfcf2a5e6
|
Pretty sure that needs to be there
|
2 years ago |
Tristan B. Kildaire
|
51b62fe89f
|
Made error message specific such that whena variable is refercned that EXISTS but has not yet been declared and we can tell the clear difference between that and an entity completely not existing in the program (regardless of declaration order)
|
2 years ago |
Tristan B. Kildaire
|
4d03416383
|
Updated error message on reference to variable that is yet to be declared
|
2 years ago |
Tristan B. Kildaire
|
de3ed93908
|
I guess
|
2 years ago |
Tristan B. Kildaire
|
29e2f146af
|
Added failing unit test
Added working unit test
|
2 years ago |
Tristan B. Kildaire
|
88114f2ae0
|
Can confirm it orders variable declarations correctly
|
2 years ago |
Tristan B. Kildaire
|
dbf4667516
|
Removed comment
Added dependency addition
|
2 years ago |
Tristan B. Kildaire
|
eeba21edd9
|
Added note, I may want to move this
|
2 years ago |
Tristan B. Kildaire
|
5a805b699b
|
Hit a bit of a roadblock
|
2 years ago |
Tristan B. Kildaire
|
1596bedc35
|
Bruh
|
2 years ago |
Tristan B. Kildaire
|
b1219c20d5
|
Working on variable declarations (simple) dependency generation (with assignments)
|
2 years ago |
Tristan B. V. Kildaire
|
c60e83832e
|
All for today
|
2 years ago |
Tristan B. Kildaire
|
c721ca1d65
|
All for now, will clarify and think on it a little more later
|
2 years ago |
Tristan B. Kildaire
|
8da430475b
|
Will work on this a bit later, probably the weekend
|
2 years ago |
Tristan B. Kildaire
|
59d325d691
|
WIP: Will work on more later, I know what must be done
|
2 years ago |
Tristan B. Kildaire
|
8fc53fb837
|
Added mechanism that can be used in the future to indicate, given the Context, whether one can resolve upwards or only within (and hence down too)
|
2 years ago |
Tristan B. Kildaire
|
ab70e5ea3a
|
WIP: Working on accessor dependeny generation for `new A().thing.thing`
|
2 years ago |
Tristan B. Kildaire
|
ff5f39c752
|
WIP
|
2 years ago |
Tristan B. Kildaire
|
4a39dc97c5
|
Testing lexer
|
2 years ago |
Tristan B. V. Kildaire
|
06dbf479ff
|
Use ExpressionNode for now (get more specific later)
|
2 years ago |
Tristan B. V. Kildaire
|
cfabfdb8c4
|
Updated test case (works as expected)
|
2 years ago |
Tristan B. V. Kildaire
|
9c445f2a52
|
Disabled uneeded code
|
2 years ago |
Tristan B. V. Kildaire
|
193c2b285a
|
WIP:Object initialization
|
2 years ago |
Tristan B. V. Kildaire
|
52a00f4583
|
Updated test case
|
2 years ago |
Tristan B. V. Kildaire
|
f76b228114
|
Implemented use of Object initilization node
|
2 years ago |
Tristan B. V. Kildaire
|
3c6270be04
|
Added Object initilization node
|
2 years ago |
Tristan B. V. Kildaire
|
255f96511e
|
WIP: Object initialization
|
2 years ago |
Tristan B. V. Kildaire
|
d6f15e2b86
|
Switched to using more specific DNodes for Variables
|
2 years ago |
Tristan B. V. Kildaire
|
12b0a99d47
|
Added markings to show static
|
2 years ago |
Tristan B. V. Kildaire
|
0b36d4304e
|
Updated test case
|
2 years ago |
Tristan B. V. Kildaire
|
548867fcb1
|
Added generic pooler using templating
|
2 years ago |
Tristan B. V. Kildaire
|
ba650f1ab7
|
Added ExpressionDNode
|
2 years ago |
Tristan B. V. Kildaire
|
c957845c66
|
Made `new` expression support more explicit to return a `NewExpression` with an embedded FunctionCall rather than a FunctionCall alone
|
2 years ago |
Tristan B. V. Kildaire
|
8799ab9b85
|
FOund a parsing error that must be fixed to allow `new A().x`
|
2 years ago |
Tristan B. V. Kildaire
|
8079167fa5
|
Going to refactor into this
|
2 years ago |
Tristan B. V. Kildaire
|
a2445607ba
|
Reordered visitation marking of variable
|
2 years ago |
Tristan B. V. Kildaire
|
758614b7fc
|
Added Module Variable Delcration code
|
2 years ago |
Tristan B. V. Kildaire
|
3548f1d5bb
|
Removed undeeded prints
|
2 years ago |
Tristan B. V. Kildaire
|
390a573b47
|
Use special ModuleVariableDeclaration DNode
|
2 years ago |
Tristan B. V. Kildaire
|
e8dfb61ab9
|
WIP: VariableNode base class
|
2 years ago |
Tristan B. V. Kildaire
|
756b648420
|
Fixed segmentation fault
|
2 years ago |
Tristan B. V. Kildaire
|
075c175d3e
|
Implemented `getName()` temporarily to make tree print-out work
|
2 years ago |
Tristan B. V. Kildaire
|
998a2dd577
|
Refactored into directory for class-related types
|
2 years ago |
Tristan B. V. Kildaire
|
b807718fad
|
Make fields protected
|
2 years ago |