Created an expression decision tree plan
This commit is contained in:
parent
e14b33657f
commit
a14df2bfbb
30
parser/expression-decision-tree
Normal file
30
parser/expression-decision-tree
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
| +Ident =Variable
|
||||||
|
| | 'true' =LiteralBoolean
|
||||||
|
| | 'false' =LiteralBoolean
|
||||||
|
| | 'nil' =LiteralNil
|
||||||
|
| | 'if' =IfElse
|
||||||
|
| | 'loop' =Loop
|
||||||
|
| | +Colon =Declaration
|
||||||
|
|
|
||||||
|
| +LBracket | +Ident =Call
|
||||||
|
| | | 'break' =Break
|
||||||
|
| | | 'return' =Return
|
||||||
|
| |
|
||||||
|
| | +Dot +Expression =Dereference
|
||||||
|
| | | +Expression =Subscript
|
||||||
|
| | +Symbol X
|
||||||
|
| | '\' =Slice
|
||||||
|
| | '#' =Length
|
||||||
|
| | '@' =Reference
|
||||||
|
| | '~' =ValueCast
|
||||||
|
| | '~~' =BitCast
|
||||||
|
| | OPERATOR =Operation
|
||||||
|
| +Int =LiteralInt
|
||||||
|
|
|
||||||
|
| +Float =LiteralFloat
|
||||||
|
|
|
||||||
|
| +String =LiteralString
|
||||||
|
|
|
||||||
|
| +LParen X
|
||||||
|
| +Star =LiteralArray
|
||||||
|
| +Dot =LiteralStruct
|
Loading…
Reference in New Issue
Block a user