type anno EBNF

This commit is contained in:
greg 2017-09-11 23:16:37 -07:00
parent deab74b992
commit a6b336d84c

View File

@ -290,6 +290,8 @@ func_declaration := FN identifier LParen param_list RParen
param_list := (identifier type_anno+ Comma)*
type_anno := Colon type
expression := primary
primary := literal
literal := TRUE | FALSE | number_literal | str_literal