summaryrefslogtreecommitdiff
path: root/2.3-1/macros/ToolInitialization/INIT_SCI2CLoader.sce
blob: bd07f892ef00a3b20c91d34172c2b5bb341a71b9 (plain)
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// -----------------------------------------------------------------
// Load SCI2C directories and files.
//
// Input data:
// SCI2CLoaderMainDir: path of the directory where this script (main.sce) is stored.
//
// Output data:
// ---
//
// Status:
// 11-Apr-2007 -- Raffaele Nutricato: Author.
//
// Copyright 2007 Raffaele Nutricato.
// Contact: raffaele.nutricato@tiscali.it
// -----------------------------------------------------------------

SCI2CLoaderMainDir = '..';

// ---------------------------
// --- Define Directories. ---
// ---------------------------
// Directory containing functions related to the management of the Abstract Syntactic tree.
ASTManagement         = 'ASTManagement';

// Directory containing functions that produce the C code.
CCodeGeneration       = 'CCodeGeneration';

// Directory containing functions that perform general tasks.
GeneralFunctions      = 'GeneralFunctions';

// Directory containing functions that perform the initialization of the SCI2C tool.
ToolInitialization    = 'ToolInitialization';

// Directory containing functions that perform the function annotation.
FunctionAnnotation    = 'FunctionAnnotation';

// Directory containing functions that handle symbol table.
SymbolTable    = 'SymbolTable';

// Directory containing functions that handle function lists.
FunctionList    = 'FunctionList';

// Directory containing functions that print SCI2C error messages.
ErrorMessages    = 'ErrorMessages';


// -------------------------------
// --- End Define Directories. ---
// -------------------------------

// -------------
// --- getd. ---
// -------------
getd(fullfile(SCI2CLoaderMainDir,ASTManagement));
getd(fullfile(SCI2CLoaderMainDir,CCodeGeneration));
getd(fullfile(SCI2CLoaderMainDir,GeneralFunctions));
getd(fullfile(SCI2CLoaderMainDir,ToolInitialization));
getd(fullfile(SCI2CLoaderMainDir,FunctionAnnotation));
getd(fullfile(SCI2CLoaderMainDir,SymbolTable));
getd(fullfile(SCI2CLoaderMainDir,FunctionList));
getd(fullfile(SCI2CLoaderMainDir,ErrorMessages));
// -----------------
// --- End getd. ---
// -----------------

// -------------
// --- exec. ---
// -------------
exec(fullfile(SCI2CLoaderMainDir,ASTManagement,'%program_p.sci'));
// -----------------
// --- End exec. ---
// -----------------