-
Notifications
You must be signed in to change notification settings - Fork 2
/
WORKFLOW
39 lines (37 loc) · 1.09 KB
/
WORKFLOW
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Compilation Workflow
launch-script
-------------
* collect command line arguments
* write arguments to argument file
* invoke compiler
* delete arg file
compiler
--------
* read and evaluate argument file
* store arguments
* if information request
* print information
* exit
* if compilation request
* read and evaluate configuration file
* store configuration
* determine module dependencies
* write DEP file
* determine compilation order from dependencies
* for each module
* perform lexical analysis and tokenisation
* perform syntax analysis and build AST node
* perform static semantic analysis
* write AST file (S-expr representation)
* write DOT file (graphical representation)
* if definition module
* write SYM file
* write PIM/ISO DEF file
* if implementation module
* check consistency with corresponding SYM file
* generate code from AST by template expansion
* write PIM/ISO MOD file
* invoke PIM/ISO compiler passing generated DEF or MOD file
* purge unwanted intermediary files
* determine and print statistics
* exit