blob: 92fdb20a1936d3bd560989ae1994ccae48a23e4e (
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
|
exec full_reset.sce
mode(-1);
clc
// -------------------------
// --- Input Parameters. ---
// -------------------------
// root directory.
maindir = 'C:\Nutricato\Projects\FP6_hArtes\Software\SVNScilab2C\src\Scilab2C';
// -----------------------------
// --- End Input Parameters. ---
// -----------------------------
// -------------
// --- exec. ---
// -------------
exec(fullfile(maindir,'ASTGenerator','%program_p.sci'));
// -----------------
// --- End exec. ---
// -----------------
// ---------------------------
// --- Define Directories. ---
// ---------------------------
// Directory containing functions that perform general tasks.
GeneralFunctions = 'GeneralFunctions';
// Directory containing functions that perform general tasks for the SCI2C tool.
SCI2CGeneral = 'SCI2CGeneral';
// Directory containing functions that perform the C code generation for the SCI2C tool.
Translation = 'Translation';
// Directory containing functions related to the generation of the Abstract Syntactic tree.
ASTGenerator = 'ASTGenerator'
// Directory containing functions to read/generate SCI2C annotations.
Annotations = 'Annotations';
// Directory containing functions to read the AST and to generate the corresponding C code.
AST_reader = 'ASTReader';
// -------------------------------
// --- End Define Directories. ---
// -------------------------------
// -------------
// --- getd. ---
// -------------
getd(fullfile(maindir,GeneralFunctions));
getd(fullfile(maindir,SCI2CGeneral));
getd(fullfile(maindir,Translation));
getd(fullfile(maindir,ASTGenerator));
getd(fullfile(maindir,Annotations));
getd(fullfile(maindir,AST_reader));
// -----------------
// --- End getd. ---
// -----------------
|