Version 1 (modified by benl, 5 years ago)

Add module, import export decls

module

= module moduleId where moduleBody


moduleBody

= { {exportDecl;}* {importDecl;}* {topDecl;}+ }


exportDecl

= export var
| export type con


importDecl

= import moduleId
| import { {moduleId}+ }