Commit Graph

9 Commits

Author SHA1 Message Date
Stephen Chang
c14f4bc705 sysf: add inst, better error when type insts are missing in app
- add nqueens to sysf-tests
  - current failing cases: nested foralls
  - giving poly fn to map without explicit inst
2014-08-18 18:36:41 -04:00
Stephen Chang
99cc2e57e8 code cleanup 2014-08-15 19:07:47 -04:00
Stephen Chang
45dd603a08 stlc and sysf: require define to give explicit return type
sysf: extended cases to handle forall
2014-08-15 19:04:16 -04:00
Stephen Chang
caeda2ff0d sysf: move apply-forall to typecheck.rkt 2014-08-15 16:18:17 -04:00
Stephen Chang
ea5d41deb0 sysf: code cleanup
- at this point, sysf only extends define-type, app, and lambda
- sysf passes all stlc-tests and sysf-tests
2014-08-15 16:16:24 -04:00
Stephen Chang
0a82e9298c sysf: basic forall type working 2014-08-15 15:33:07 -04:00
Stephen Chang
4783c7f93e sysf: copied from stlc 2014-08-13 16:39:16 -04:00
Stephen Chang
3b9800919b stlc: non parametric maybe working; havent tried recursive types (ie cons) 2014-08-12 17:58:56 -04:00
Stephen Chang
cb123987de add sysf: copied from stlc 2014-08-08 17:03:53 -04:00