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