- Stellenbosch, South Africa
- https://deavmi.assigned.network
-
I ❤️ programming and computers. I have a big interest in compiler and interpreter design and implementation and also an interest in networking and fmts/protos.
- Joined on
2021-12-21
or not? Removing it I error immediately.
So the important part is figuring out if we actually ever use the VariableAssignmentNode
, which, as it looks here, might not be the case. The typechecker handles VariableAssignmentNode
(where…
FunctionCall
- use a weight of
2
to fix re-ordering of ourselves when occuring as aStatement
in the body of someContainer
which applies re-ordering
Adding a unittest now to test this out
Looks like it works. Had to add a missing
weight = 2
for theFunctionCall
becausegetStatements()
re-orders things and hence the unit test…
Adding a unittest now to test this out
Looks like it works. Had to add a missing weight = 2
for the FunctionCall
because getStatements()
re-orders things and hence the unit test would…
Working, so far, on getting insertBefore added in :)
Okay, it appears I have it implemented, just the insertBefore(Statement, Statement)
, for all AST nodes that were currently implementing…
Working, so far, on getting insertBefore added in :)
new things to add to MStatementReplaceable
:
public bool insertBefore(Statement thiz, Statement that);
public bool insertAfter(Statement thiz, Statement that);
public bool…
Mmmh, thinking now and this may not be the west way to go. An "index" isn't an easily generalizable thing. Comparing, however, with something like MSearchable
and MReplaceable
, those are based…