blob: cd79dbedce27d523b4fb039d24e91d9e92262003 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#JSGF V1.0 UTF-8 en;
grammar org.pygments.example;
// comment /*
/*
multi-line
comment
/* without nesting
@example doesn't mean anything here.
*/
/**/
/**
* A silly @example grammar.
*
* @author David Corbett
* @version 1
* @see <org.pygments.example.en>
* @example hello world
@example hello ","
*
**@blah
**world
*/
public <sentence> = (/1/<en> | / 0.8f /<fr> |/0/<VOID>""""{}{})*<NULL>;
<org.pygments.example.fr> = bonjour {hello} [,] "le monde" {world};
<en> = (/56/hello|/3.14e3/"\"hello\"") {hello} {{ {\\//\} } world {world} !+ ;
|