type anno EBNF

This commit is contained in:
greg 2017-09-11 23:16:37 -07:00
parent deab74b992
commit a6b336d84c
1 changed files with 2 additions and 0 deletions

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