mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 03:15:26 -07:00
some more conversion patterns for Susanne
This commit is contained in:
1 parent
9335a2997c
commit
fe7397efe4
3 files changed
+126
-29
No files matched your search
@@ -19,6 +19,8 @@ instance MonadPlus P where
|
||||
mzero = P (\pgf cnc ts -> Nothing)
|
||||
mplus f g = P (\pgf cnc ts -> mplus (runP f pgf cnc ts) (runP g pgf cnc ts))
|
||||
|
||||
getConcr = P (\pgf cnc ts -> Just (ts,cnc))
|
||||
|
||||
match convert tag_spec = P (\pgf cnc ts ->
|
||||
case ts of
|
||||
(t@(Phrase tag1 mods1 fn1 _ _):ts)
|
||||
|
||||
Reference in new issue
Block a user