mirror of https://github.com/tbklang/tlang.git
Uniformity: Make StandaloneVariableAssignment use a VariableAssignmentNode like VariableDeclaration does #100
Labels
No Label
dependency
emit
hashmapper
lebanonmapper
lexer
meta
needsfix
parser
qol
question
resolution
typing
No Milestone
No project
No Assignees
1 Participants
Notifications
Total Time Spent: 4 seconds
Due Date
deavmi
4 seconds
Blocks
#94 Literal encodings
tlang/tlang
Reference: tlang/tlang#100
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What is this?
Currently a variable declaration with an assignment is a
Variable Declaration-> VariableAssignment -> ValueInstr
, but Standalone Assignments currently are aStandaloneAssignment -> ValueInstr
.We should be doing
StandaloneAssignment -> VariableAssignment -> ValueInstr
, that or do away with the middle man.I settled on the following now:
Variable Declaration
(with assignment)... -> Expression
VariableAssignentStdAlone -> Expression
Most uniform way and cuts the middle man out.