summaryrefslogtreecommitdiff
path: root/src/GF/CFGM/CFG.cf
diff options
context:
space:
mode:
Diffstat (limited to 'src/GF/CFGM/CFG.cf')
-rw-r--r--src/GF/CFGM/CFG.cf36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/GF/CFGM/CFG.cf b/src/GF/CFGM/CFG.cf
deleted file mode 100644
index fa722f4a4..000000000
--- a/src/GF/CFGM/CFG.cf
+++ /dev/null
@@ -1,36 +0,0 @@
-entrypoints Grammars;
-
-Grammars. Grammars ::= [Grammar];
-
-Grammar. Grammar ::= "grammar" Ident [Flag] [Rule] "end" "grammar";
-separator Grammar "";
-
-StartCat. Flag ::= "startcat" Category;
-terminator Flag ";";
-
-Rule. Rule ::= Fun ":" Profiles "." Category "->" [Symbol];
-terminator Rule ";";
-
-Cons. Fun ::= Ident ;
-Coerce. Fun ::= "_" ;
-
-Profiles. Profiles ::= "[" [Profile] "]";
-
-separator Profile ",";
-
-UnifyProfile. Profile ::= "[" [Integer] "]";
-ConstProfile. Profile ::= Ident ;
-
-separator Integer ",";
-
-CatS. Symbol ::= Category;
-TermS. Symbol ::= String;
-
--- separator Symbol "";
-[]. [Symbol] ::= "." ;
-(:[]). [Symbol] ::= Symbol ;
-(:). [Symbol] ::= Symbol [Symbol] ;
-
-Category. Category ::= SingleQuoteString ;
-
-token SingleQuoteString '\'' ((char - ["'\\"]) | ('\\' ["'\\"]))* '\'' ;