forked from GitHub/gf-core
documenting the library
This commit is contained in:
@@ -15,7 +15,6 @@ Before this, you have to have compiled the libraries:
|
|||||||
|
|
||||||
cd <whatever you need>GF/lib/resource-1.0
|
cd <whatever you need>GF/lib/resource-1.0
|
||||||
make present
|
make present
|
||||||
make install
|
|
||||||
|
|
||||||
To work with the grammar
|
To work with the grammar
|
||||||
|
|
||||||
|
|||||||
@@ -59,9 +59,8 @@ main = do
|
|||||||
return ()
|
return ()
|
||||||
|
|
||||||
_ | opt doMake -> do
|
_ | opt doMake -> do
|
||||||
case fs of
|
mapM_ (batchCompile os) fs
|
||||||
[f] -> batchCompile os f
|
return ()
|
||||||
_ -> putStrLnFlush "expecting exactly one gf file to compile"
|
|
||||||
|
|
||||||
_ | opt makeConcrete -> do
|
_ | opt makeConcrete -> do
|
||||||
mkConcretes fs
|
mkConcretes fs
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ optionsOfCommand co = case co of
|
|||||||
CSetFlag -> both "utf8 table struct record all multi"
|
CSetFlag -> 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 _ -> both "old v s src gfc retain nocf nocheckcirc cflexer noemit o ex prob"
|
CImport _ -> both "old v s src gfc retain nocf nocheckcirc cflexer noemit o make ex prob"
|
||||||
"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
|
||||||
|
|||||||
Reference in New Issue
Block a user