1
0
forked from GitHub/gf-core

nocf default, docf explicit or by HOAS

This commit is contained in:
aarne
2006-06-21 07:55:35 +00:00
parent 3fa9d5060f
commit c8f319d247
2 changed files with 3 additions and 2 deletions

View File

@@ -60,7 +60,8 @@ txtHelpFile =
"\n -src from source: ignore precompiled gfc and gfr files" ++ "\n -src from source: ignore precompiled gfc and gfr files" ++
"\n -gfc from gfc: use compiled modules whenever they exist" ++ "\n -gfc from gfc: use compiled modules whenever they exist" ++
"\n -retain retain operations: read resource modules (needed in comm cc) " ++ "\n -retain retain operations: read resource modules (needed in comm cc) " ++
"\n -nocf don't build context-free grammar (thus no parser)" ++ "\n -nocf don't build old-style context-free grammar (default without HOAS)" ++
"\n -docf do build old-style context-free grammar (default with HOAS)" ++
"\n -nocheckcirc don't eliminate circular rules from CF " ++ "\n -nocheckcirc don't eliminate circular rules from CF " ++
"\n -cflexer build an optimized parser with separate lexer trie" ++ "\n -cflexer build an optimized parser with separate lexer trie" ++
"\n -noemit do not emit code (default with old grammar format)" ++ "\n -noemit do not emit code (default with old grammar format)" ++

View File

@@ -176,7 +176,7 @@ optionsOfCommand co = case co of
both "utf8 table struct record all multi" both "utf8 table struct record all multi"
"cat lang lexer parser number depth rawtrees unlexer optimize path conversion printer" "cat lang lexer parser number depth rawtrees unlexer optimize path conversion printer"
CImport _ -> CImport _ ->
both "old v s src make gfc retain nocf nocheckcirc cflexer noemit o make ex prob treebank" both "old v s src make gfc retain docf nocf nocheckcirc cflexer noemit o make ex prob treebank"
"abs cnc res path optimize conversion cat preproc probs noparse" "abs cnc res path optimize conversion cat preproc probs noparse"
CRemoveLanguage _ -> none CRemoveLanguage _ -> none
CEmptyState -> none CEmptyState -> none