70
|
1 |
/*
|
|
2 |
* (c) 2003 Mario de Sousa
|
|
3 |
*
|
|
4 |
* Offered to the public under the terms of the GNU General Public License
|
|
5 |
* as published by the Free Software Foundation; either version 2 of the
|
|
6 |
* License, or (at your option) any later version.
|
|
7 |
*
|
|
8 |
* This program is distributed in the hope that it will be useful, but
|
|
9 |
* WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
10 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
11 |
* Public License for more details.
|
|
12 |
*
|
|
13 |
* This code is made available on the understanding that it will not be
|
|
14 |
* used in safety-critical situations without a full and competent review.
|
|
15 |
*/
|
|
16 |
|
|
17 |
/*
|
|
18 |
* An IEC 61131-3 IL, ST and SFC compiler.
|
|
19 |
*
|
|
20 |
* Based on the
|
|
21 |
* FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10)
|
|
22 |
*
|
|
23 |
*/
|
|
24 |
|
|
25 |
|
|
26 |
/*
|
|
27 |
* This is one of the versions available for the 4th stage.
|
|
28 |
*
|
|
29 |
* This 4th stage generates a c source program equivalent
|
|
30 |
* to the IL, ST and SFC code.
|
|
31 |
*/
|
|
32 |
|
|
33 |
|
|
34 |
/*
|
|
35 |
* generate_c.HH
|
|
36 |
*/
|
|
37 |
|
|
38 |
|
|
39 |
#ifndef _generate_c_HH
|
|
40 |
#define _generate_c_HH
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
#include <string>
|
|
45 |
#include "../../absyntax/absyntax.hh"
|
|
46 |
#include "../../absyntax/visitor.hh"
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
54 |
|
|
55 |
#endif /* _generate_c_H */
|
|
56 |
|