make
make test (for standard error printing only)
make testf (for full print)
files ending with 'w' are invalid, files ending with 'c' are correct
- opam (package manager)
- core (opam install core)
- menhir (opam install menhir)
- OUnit (opam instal ounit)
- utop (opam install utop)
- [1] Lexical Error
- [2] Syntax Error
- [3] Semantic Error
- all used IDs are declared
- declared only once in each scope
- operators used with right operands
- functions used with right number and type of args
- control-flow checks
Identifiers are associated with information related to its declaration or appearance in the source (location,type,scope).
- add name
- search name (important part)
- delete name(s)
-
Name of Program
-
Of Variables
-
Of Functions, their arguments, the number of arguments, the returned type (for semantic analsis), byref or not arguments
-
Scope (import or remove a variable)
-
Visibility
-
Position of Variable in Mem/Register
-
Of labels