mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-10 21:39:32 -06:00
gt Term
This commit is contained in:
@@ -238,6 +238,8 @@ execECommand env c = case c of
|
||||
replaceByTermCommand der gr c (actTree (stateSState s)) s
|
||||
---- "transfer" -> action2commandNext $
|
||||
---- transferSubTree (stateTransferFun sgr) gr
|
||||
"generate" -> \s ->
|
||||
replaceByTermCommand der gr c (actTree (stateSState s)) s
|
||||
_ -> replaceByEditCommand gr c
|
||||
|
||||
CAddOption o -> changeStOptions (addOption o)
|
||||
|
||||
@@ -73,6 +73,7 @@ pCommand ws = case ws of
|
||||
"gr" : [] -> aUnit CGenerateRandom
|
||||
"gr" : t -> aTerm CGenerateRandom t
|
||||
"gt" : [] -> aUnit CGenerateTrees
|
||||
"gt" : t -> aTerm CGenerateTrees t
|
||||
"pt" : s -> aTerm CPutTerm s
|
||||
----- "wt" : f : s -> aTerm (CWrapTerm (string2id f)) s
|
||||
"ma" : s -> aString CMorphoAnalyse s
|
||||
|
||||
Reference in New Issue
Block a user