1
0
forked from GitHub/gf-core

rudimentary abstract syntax type checker and solver in PGF

This commit is contained in:
aarne
2008-10-14 14:34:08 +00:00
parent 94bc0c9032
commit b6666624a0
6 changed files with 193 additions and 8 deletions

View File

@@ -0,0 +1,14 @@
abstract Check = {
cat Typ ; Exp Typ ;
fun plus : (t : Typ) -> (_,_ : Exp t) -> Exp t ;
fun TInt, TFloat : Typ ;
fun Zero : Exp TInt ;
fun Pi : Exp TFloat ;
fun sqrt : Exp TFloat -> Exp TFloat ;
}