Commit Graph

13 Commits

Author SHA1 Message Date
Stephen Chang
2643d7c8f8 exclude rackunit-typechecking from compile 2017-03-23 16:38:54 -04:00
Stephen Chang
72bd18cd1a exclude rackunit-typechecking from test 2017-03-23 16:23:35 -04:00
Stephen Chang
fd389086ef increase timeouts for typeclass tests 2017-02-08 13:27:53 -05:00
Stephen Chang
115aae8e73 completely separate type and kind api, etc; generalize type environment
Previously, "type" functions were reused a lot to manipulate kinds, and other
metadata defined via `define-syntax-category`, but this meant it was impossible
to define separate behavior for some type and kind operations, e.g., type=? and
kind=?. This commit defines a separate api for each `define-syntax-category`
declaration.

Also, every `define-syntax-category` defines a new `define-NAMEd-syntax` form,
which implicitly uses the proper parameters, e.g., `define-kinded-syntax` uses
`kindcheck?`, `current-kind-eval`, and the ':: kind key by default (whereas
before, it was using typecheck?, type-eval, etc).

This commit breaks backwards compatibility. The most likely breakage results
from using a different default key for kinds. It used to be ':, the same as
types, but now the default is '::.

This commit also generalizes the contexts used with `define-NAMEd-syntax` and
`infer`.
- all contexts now accept arbitrary key-values associated with a variable
- all contexts use let* semantics, where a binding is in scope for subsequent
  bindings; this means that one environment is sufficient in most scenarioes,
  e.g., type and term vars can be mixed (if properly ordered)
- environments allow lone identifiers, which are treated as type variables by
  default
2017-02-08 13:07:24 -05:00
Stephen Chang
f8cb9959cd add timeout to try to satisfy pkg-build 2017-01-27 15:35:37 -05:00
Stephen Chang
ba15bbd32f delete ad-hoc "run all" test scripts; use raco test instead
- add test-include-paths to run mlish test files
2017-01-25 21:22:06 -05:00
Stephen Chang
9c0b046d54 add some test timeouts 2017-01-25 16:36:46 -05:00
Stephen Chang
6618f0e038 remove dependency on typed racket and sweet-exp 2017-01-25 10:47:42 -05:00
Stephen Chang
8cce856e08 dont compile tests during install 2016-10-07 10:20:08 -04:00
Stephen Chang
b6a8d6bc95 add test-omit-paths 2016-10-03 15:45:46 -04:00
AlexKnauth
41491136b6 put the guide and reference onto separate pages 2016-09-30 14:44:41 -04:00
Stephen Chang
590c51bbac remove rosette dep; dont build rosette files 2016-09-30 12:51:38 -04:00
AlexKnauth
1e9f9025ad start on documentation 2016-09-26 10:46:37 -04:00