mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-19 16:12:52 -06:00
command language and gfcc term parser in bnfc
This commit is contained in:
@@ -46,7 +46,7 @@ treat mgr s = case words s of
|
||||
let ts = parse mgr lang cat $ unwords ws
|
||||
mapM_ (putStrLn . showTree) ts
|
||||
"h":_ -> printHelp mgr
|
||||
_ -> lins $ readTree mgr s
|
||||
"l" : ws -> lins $ readTree mgr $ unwords ws
|
||||
where
|
||||
grammar = gfcc mgr
|
||||
langs = languages mgr
|
||||
|
||||
Reference in New Issue
Block a user