definition module sem from Data.Either import :: Either from AST import :: AST from lex import :: Error from parse import :: ParserOutput :: SemOutput :== Either Error AST sem :: ParserOutput -> SemOutput