mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 09:32:53 -06:00
testing grammar distr
This commit is contained in:
@@ -129,7 +129,7 @@ testValidFlag st f x = case f of
|
||||
|
||||
optionsOfCommand :: Command -> ([String],[String])
|
||||
optionsOfCommand co = case co of
|
||||
CImport _ -> both "old v s opt src retain nocf nocheckcirc cflexer"
|
||||
CImport _ -> both "old v s opt src retain nocf nocheckcirc cflexer noemit o"
|
||||
"abs cnc res path"
|
||||
CRemoveLanguage _ -> none
|
||||
CEmptyState -> none
|
||||
|
||||
@@ -31,6 +31,8 @@ i, import: i File
|
||||
-nocf don't build context-free grammar (thus no parser)
|
||||
-nocheckcirc don't eliminate circular rules from CF
|
||||
-cflexer build an optimized parser with separate lexer trie
|
||||
-noemit do not emit code (default with old grammar format)
|
||||
-o do emit code (default with new grammar format)
|
||||
flags:
|
||||
-abs set the name used for abstract syntax (with -old option)
|
||||
-cnc set the name used for concrete syntax (with -old option)
|
||||
|
||||
Reference in New Issue
Block a user