add import statement to manual
@@ -173,7 +173,7 @@ have the same name. The body is a sequence of statements.
Here is the complete syntax of Titan in extended BNF. As usual in extended BNF, {A} means 0 or more As, and \[A\] means an optional A.
- program ::= {tlfunc | tlvar | tlrecord}
+ program ::= {tlfunc | tlvar | tlrecord | tlimport}
tlfunc ::= [local] function Name '(' [parlist] ')' ':' type block end
@@ -181,6 +181,8 @@ Here is the complete syntax of Titan in extended BNF. As usual in extended BNF,
tlrecord ::= record Name recordfields end
+ tlimport ::= local Name '=' import LiteralString
+
parlist ::= Name ':' type {',' Name ':' type}
type ::= integer | float | boolean | string | '{' type '}'
