mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-05 01:02:51 -06:00
Prelude.CAPIT is now a built-in primitive. It still generates &| in the Haskell runtime but will be intepreted in the C runtime
This commit is contained in:
@@ -156,6 +156,7 @@ data BracketedTokn
|
||||
| LeafNE
|
||||
| LeafBIND
|
||||
| LeafSOFT_BIND
|
||||
| LeafCAPIT
|
||||
| LeafKP [BracketedTokn] [([BracketedTokn],[String])]
|
||||
deriving Eq
|
||||
|
||||
@@ -219,6 +220,7 @@ computeSeq filter seq args = concatMap compute seq
|
||||
compute SymNE = [LeafNE]
|
||||
compute SymBIND = [LeafKS "&+"]
|
||||
compute SymSOFT_BIND = []
|
||||
compute SymCAPIT = [LeafKS "&|"]
|
||||
compute (SymKP syms alts) = [LeafKP (concatMap compute syms) [(concatMap compute syms,cs) | (syms,cs) <- alts]]
|
||||
|
||||
getArg d r
|
||||
|
||||
Reference in New Issue
Block a user