|
1 |
| -/* M2C Modula-2 Compiler & Translator |
2 |
| - * |
3 |
| - * Copyright (c) 2015-2023 Benjamin Kowarsch |
4 |
| - * |
5 |
| - * @synopsis |
6 |
| - * |
7 |
| - * M2C is a Modula-2 to C translator and via-C compiler for the bootstrap |
8 |
| - * subset of the revised Modula-2 language described in |
9 |
| - * |
10 |
| - * https://github.com/m2sf/PDFs/blob/master/M2BSK%20Language%20Description.pdf |
11 |
| - * |
12 |
| - * In compiler mode, M2C compiles Modula-2 source files via C to object files |
13 |
| - * or executables using the host system's resident C compiler and linker. In |
14 |
| - * translator mode, it translates Modula-2 source files to C source files. |
15 |
| - * |
16 |
| - * Further information at https://github.com/m2sf/m2c/wiki |
17 |
| - * |
18 |
| - * @file |
19 |
| - * |
20 |
| - * cli-grammar.gll |
21 |
| - * |
22 |
| - * Grammar of M2C command line interface. |
23 |
| - * |
24 |
| - * @license |
25 |
| - * |
26 |
| - * M2C is free software: You can redistribute and modify it under the terms |
27 |
| - * of the GNU Lesser General Public License (LGPL) either version 2.1 or at |
28 |
| - * your choice version 3, both as published by the Free Software Foundation. |
29 |
| - * |
30 |
| - * M2C is distributed in the hope that it will be useful, but WITHOUT ANY |
31 |
| - * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
32 |
| - * FOR ANY PARTICULAR PURPOSE. Read the license for more details. |
33 |
| - * |
34 |
| - * You should have received a copy of the GNU Lesser General Public License |
35 |
| - * along with M2C. If not, see <https://www.gnu.org/copyleft/lesser.html>. |
36 |
| - */ |
| 1 | +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |
| 2 | + * M2C Modula-2 Compiler & Translator * |
| 3 | + * * |
| 4 | + * Copyright (c) 2015-2023 Benjamin Kowarsch * |
| 5 | + * * |
| 6 | + * @synopsis * |
| 7 | + * * |
| 8 | + * M2C is a portable Modula-2 to C translator and via-C compiler for the * |
| 9 | + * bootstrap subset of the revised Modula-2 language described in * |
| 10 | + * * |
| 11 | + * https://github.com/m2sf/m2bsk/wiki/Language-Specification * |
| 12 | + * * |
| 13 | + * In translator mode, M2C translates Modula-2 source files to semantically * |
| 14 | + * equivalent C source files. In compiler mode, it translates the Modula-2 * |
| 15 | + * source files to C, then compiles the resulting C sources to object and * |
| 16 | + * executable files using the host system's resident C compiler and linker. * |
| 17 | + * * |
| 18 | + * Further information at https://github.com/m2sf/m2c/wiki * |
| 19 | + * * |
| 20 | + * @file * |
| 21 | + * * |
| 22 | + * cli-grammar.gll * |
| 23 | + * * |
| 24 | + * EBNF grammar of the command line interface. * |
| 25 | + * * |
| 26 | + * @license * |
| 27 | + * * |
| 28 | + * M2C is free software: You can redistribute and modify it under the terms * |
| 29 | + * of the GNU Lesser General Public License (LGPL) either version 2.1 or at * |
| 30 | + * your choice version 3, both published by the Free Software Foundation. * |
| 31 | + * * |
| 32 | + * M2C is distributed in the hope it may be useful, but strictly WITHOUT ANY * |
| 33 | + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * |
| 34 | + * FOR ANY PARTICULAR PURPOSE. Read the license for more details. * |
| 35 | + * * |
| 36 | + * You should have received a copy of the GNU Lesser General Public License * |
| 37 | + * along with M2C. If not, see <https://www.gnu.org/copyleft/lesser.html>. * |
| 38 | + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ |
37 | 39 |
|
38 | 40 | grammar m2cli;
|
39 | 41 |
|
|
0 commit comments