1
0
forked from GitHub/gf-core

started direct compiler from GF to GFCC

This commit is contained in:
aarne
2007-05-15 16:35:13 +00:00
parent 8af473a6f5
commit 035689f8c7
8 changed files with 516 additions and 3 deletions

View File

@@ -153,6 +153,7 @@ trt trm = case trm of
RecType r -> P.ERecord $ map trLabelling r
ExtR x y -> P.EExtend (trt x) (trt y)
P t l -> P.EProj (trt t) (trLabel l)
PI t l _ -> P.EProj (trt t) (trLabel l)
Q t l -> P.EQCons (tri t) (tri l)
QC t l -> P.EQConstr (tri t) (tri l)
TSh (TComp ty) cc -> P.ETTable (trt ty) (map trCases cc)