summaryrefslogtreecommitdiff
path: root/tests/examplefiles/test.ebnf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/test.ebnf')
-rw-r--r--tests/examplefiles/test.ebnf31
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/examplefiles/test.ebnf b/tests/examplefiles/test.ebnf
deleted file mode 100644
index a96171b0..00000000
--- a/tests/examplefiles/test.ebnf
+++ /dev/null
@@ -1,31 +0,0 @@
-letter = "A" | "B" | "C" | "D" | "E" | "F" | "G"
- | "H" | "I" | "J" | "K" | "L" | "M" | "N"
- | "O" | "P" | "Q" | "R" | "S" | "T" | "U"
- | "V" | "W" | "X" | "Y" | "Z" ;
-digit = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
-symbol = "[" | "]" | "{" | "}" | "(" | ")" | "<" | ">"
- | "'" | '"' | "=" | "|" | "." | "," | ";" ;
-character = letter | digit | symbol | " " ;
-
-identifier = letter , { letter | digit | " " } ;
-terminal = "'" , character , { character } , "'"
- | '"' , character , { character } , '"' ;
-
-special = "?" , any , "?" ;
-
-comment = (* this is a comment "" *) "(*" , any-symbol , "*)" ;
-any-symbol = ? any visible character ? ; (* ? ... ? *)
-
-lhs = identifier ;
-rhs = identifier
- | terminal
- | comment , rhs
- | rhs , comment
- | "[" , rhs , "]"
- | "{" , rhs , "}"
- | "(" , rhs , ")"
- | rhs , "|" , rhs
- | rhs , "," , rhs ;
-
-rule = lhs , "=" , rhs , ";" | comment ;
-grammar = { rule } ;