1 (* |
1 (* |
2 * matiec - a compiler for the programming languages defined in IEC 61131-3 |
2 * This file is part of matiec - a compiler for the programming |
|
3 * languages defined in IEC 61131-3 |
3 * |
4 * |
4 * Copyright (C) 2011 Mario de Sousa (msousa@fe.up.pt) |
5 * Copyright (C) 2011 Mario de Sousa (msousa@fe.up.pt) |
5 * |
6 * |
6 * This program is free software: you can redistribute it and/or modify |
7 * See COPYING and COPYING.LESSER files for copyright details. |
7 * it under the terms of the GNU General Public License as published by |
8 * This library is free software; you can redistribute it and/or |
8 * the Free Software Foundation, either version 3 of the License, or |
9 * modify it under the terms of the GNU Lesser General Public |
9 * (at your option) any later version. |
10 * License as published by the Free Software Foundation; either |
|
11 * version 3 of the License, or (at your option) any later version. |
10 * |
12 * |
11 * This program is distributed in the hope that it will be useful, |
13 * This library is distributed in the hope that it will be useful, |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
14 * GNU General Public License for more details. |
16 * Lesser General Public License for more details. |
15 * |
17 * |
16 * You should have received a copy of the GNU General Public License |
18 * You should have received a copy of the GNU Lesser General Public |
17 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 * License along with this library; if not, write to the Free Software |
18 * |
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
|
21 * USA |
19 * |
22 * |
20 * This code is made available on the understanding that it will not be |
23 * This code is made available on the understanding that it will not be |
21 * used in safety-critical situations without a full and competent review. |
24 * used in safety-critical situations without a full and competent review. |
22 *) |
25 *) |
|
26 |
|
27 |
23 |
28 |
24 (* |
29 (* |
25 * An IEC 61131-3 compiler. |
30 * An IEC 61131-3 compiler. |
26 * |
31 * |
27 * Based on the |
32 * Based on the |