|
1 |
| -/* YARS-PG grammar in Extended Backus-Naur Form (EBNF) notation |
2 |
| - Based on YARS-PG grammar in ANTLR4 |
3 |
| - |
4 |
| - See more at: |
5 |
| - https://github.com/lszeremeta/antlr-yarspg |
| 1 | +/* |
| 2 | + YARS-PG grammar in Extended Backus-Naur Form (EBNF) notation |
| 3 | + Based on YARS-PG grammar in ANTLR4 |
| 4 | + |
| 5 | + See more at: |
| 6 | + https://github.com/lszeremeta/antlr-yarspg |
| 7 | + |
| 8 | + [The "BSD licence"] |
| 9 | + Copyright (c) 2018, Łukasz Szeremeta (@ University of Bialystok, http://www.uwb.edu.pl/) |
| 10 | + Copyright (c) 2018, Dominik Tomaszuk (@ University of Bialystok, http://www.uwb.edu.pl/) |
| 11 | + Copyright (c) 2018, Karol Litman (@ University of Bialystok, http://www.uwb.edu.pl/) |
| 12 | + All rights reserved. |
| 13 | +
|
| 14 | + Based on YARS grammar |
| 15 | + (https://github.com/lszeremeta/antlr-yars/blob/master/yars/YARS.g4) |
| 16 | + distributed under BSD licence. |
| 17 | +
|
| 18 | + Redistribution and use in source and binary forms, with or without |
| 19 | + modification, are permitted provided that the following conditions |
| 20 | + are met: |
| 21 | + 1. Redistributions of source code must retain the above copyright |
| 22 | + notice, this list of conditions and the following disclaimer. |
| 23 | + 2. Redistributions in binary form must reproduce the above copyright |
| 24 | + notice, this list of conditions and the following disclaimer in the |
| 25 | + documentation and/or other materials provided with the distribution. |
| 26 | + 3. The name of the author may not be used to endorse or promote products |
| 27 | + derived from this software without specific prior written permission. |
| 28 | +
|
| 29 | + THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR |
| 30 | + IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES |
6 | 31 | */
|
7 | 32 |
|
8 | 33 | yarspg ::= ( statement NL+ )*
|
|
0 commit comments