--- /dev/null
+definition module sem
+
+from Data.Either import :: Either
+from AST import :: AST
+from lex import :: Error
+
+semanticAnalysis :: AST -> Either String AST
--- /dev/null
+implementation module sem
+
+import StdMisc
+
+semanticAnalysis :: AST -> Either Error AST
+semanticAnalysis a =
Link
LinkMethod: Static
GenerateRelocations: False
- GenerateSymbolTable: False
GenerateLinkMap: False
LinkResources: False
ResourceSource:
ReadableABC: False
ReuseUniqueNodes: True
Fusion: False
- Module
- Name: _SystemDynamic
- Dir: {Application}/lib/Dynamics
- Compiler
- NeverMemoryProfile: False
- NeverTimeProfile: False
- StrictnessAnalysis: True
- ListTypes: StrictExportTypes
- ListAttributes: True
- Warnings: True
- Verbose: True
- ReadableABC: False
- ReuseUniqueNodes: True
- Fusion: False
Module
Name: GenEq
Dir: {Application}/lib/Generics
+++ /dev/null
-definition module type
-
-from Data.Either import :: Either
-from AST import :: AST
-
-typecheck :: AST -> Either String AST
+++ /dev/null
-implementation module type
-
-freeVar :: State
-
-:: Environment :== Map String Type
-
-
-
-State (String, Environment)