This commit is contained in:
Sasha Koshka 2024-04-06 13:51:00 -04:00
parent d8f897d023
commit 2346c34cce
1 changed files with 18 additions and 18 deletions

View File

@ -74,29 +74,29 @@ expression, the parser follows this decision tree to determine what to parse:
| | 'loop' =Loop | | 'loop' =Loop
| | 'for' =For | | 'for' =For
| | +Colon =Declaration | | +Colon =Declaration
| | +DoubleColon | +TypeIdent =(A) | | +DoubleColon | +TypeIdent =Constant
| | +LBracket =(B) | | +LBracket =Call
| |
| +TypeIdent(A) =Constant | +TypeIdent =Constant
| |
| +LParen X =LiteralArray | +LParen X =LiteralArray
| | +Dot =LiteralStruct | | +Dot =LiteralStruct
| |
| +LBracket(B) | +Ident =Call | +LBracket | +Ident =Call
| | | 'break' =Break | | | 'break' =Break
| | | 'return' =Return | | | 'return' =Return
| | | |
| | +Dot +Expression =Dereference | | +Dot +Expression =Dereference
| | | +Expression =Subscript | | | +Expression =Subscript
| | +Star =Operation | | +Star =Operation
| | | |
| | +Symbol X | | +Symbol X
| | '\' =Slice | | '\' =Slice
| | '#' =Length | | '#' =Length
| | '@' =Reference | | '@' =Reference
| | '~' =ValueCast | | '~' =ValueCast
| | '~~' =BitCast | | '~~' =BitCast
| | OPERATOR =Operation | | OPERATOR =Operation
| |
| +LBrace =Block | +LBrace =Block
| +Int =LiteralInt | +Int =LiteralInt