3a7f3c215049da84924435045c70058bcb058fb0
[Faustine.git] / interpretor / faust-0.9.47mr3 / compiler / headers / preprocess.hh
1 /************************************************************************
2 ************************************************************************
3 FAUST compiler
4 Copyright (C) 2003-2004 GRAME, Centre National de Creation Musicale
5 ---------------------------------------------------------------------
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 ************************************************************************
20 ************************************************************************/
21 #define FAUSTVERSION "0.9.47mr.2"
22
23 #include <stdio.h>
24 #include <string.h>
25 #include <assert.h>
26
27 #ifndef WIN32
28 #include <sys/time.h>
29 #include "libgen.h"
30 #endif
31
32 #include "compatibility.hh"
33 #include "signals.hh"
34 #include "sigtype.hh"
35 #include "sigtyperules.hh"
36 #include "sigprint.hh"
37 #include "simplify.hh"
38 #include "privatise.hh"
39
40 #include "compile_scal.hh"
41 #include "compile_vect.hh"
42 #include "compile_sched.hh"
43
44 #include "propagate.hh"
45 #include "errormsg.hh"
46 #include "ppbox.hh"
47 #include "enrobage.hh"
48 #include "eval.hh"
49 #include "description.hh"
50 #include "floats.hh"
51 #include "doc.hh"
52
53 #include <map>
54 #include <string>
55 #include <vector>
56 #include <iostream>
57 #include <fstream>
58 #include <sstream>
59
60 #ifndef WIN32
61 #include <unistd.h>
62 #endif
63
64 #include "sourcereader.hh"
65
66
67 // construction des representations graphiques
68
69 #include "schema.h"
70 #include "drawschema.hh"
71 #include "timing.hh"
72
73 using namespace std;
74
75 char* preProcess (char* file_route);