summaryrefslogtreecommitdiff
path: root/src/HelpFile
diff options
context:
space:
mode:
authoraarne <unknown>2004-04-01 09:51:32 +0000
committeraarne <unknown>2004-04-01 09:51:32 +0000
commitf53f35978f4cd6b0e4c5e9123b5e88f04f6f4452 (patch)
tree100fc2f36a0dccc24c030b5a82389dac70780902 /src/HelpFile
parent3f9b4e7855cf4594708a9fbad194c89540d2cf1e (diff)
2beta2
Diffstat (limited to 'src/HelpFile')
-rw-r--r--src/HelpFile12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/HelpFile b/src/HelpFile
index 48602030b..5c322dc11 100644
--- a/src/HelpFile
+++ b/src/HelpFile
@@ -22,7 +22,7 @@ i, import: i File
.ebnf Extended BNF format
.cf Context-free (BNF) format
options:
- -old old: parse in GF<2.0 format
+ -old old: parse in GF<2.0 format (not necessary)
-v verbose: give lots of messages
-s silent: don't give error messages
-opt perform branch-sharing optimization
@@ -133,15 +133,17 @@ tt, test_tokenizer: tt String
flags:
-lexer use this lexer
-cc, compute_concrete: cc Ident Term
- Compute a term by concrete syntax definitions.
- The identifier Ident is a resource module name
- needed to resolve constant.
+cc, compute_concrete: cc Term
+ Compute a term by concrete syntax definitions. Uses the topmost
+ resource module (the last in listing by command po) to resolve
+ constant names.
N.B. You need the flag -retain when importing the grammar, if you want
the oper definitions to be retained after compilation; otherwise this
command does not expand oper constants.
N.B.' The resulting Term is not a term in the sense of abstract syntax,
and hence not a valid input to a Tree-demanding command.
+ flags:
+ -res use another module than the topmost one
t, translate: t Lang Lang String
Parses String in Lang1 and linearizes the resulting Trees in Lang2.