![]() - define extra-info as a separate macro whose input is the types in the tycon - extra-info in main tycon is just the name of the extra-info macro - extra-info macro is expanded only when extra-info is requested - naturally handles additional tyvar substs in the types - breaks the recursion to avoid inf loops for recursive and mutually recursive datatypes - enables simplification of direct recursive datatypes - no longer need subst-special - performance is much improved (okasaki: ~1min, was ~4min) |
||
---|---|---|
old | ||
tapl | ||
.gitignore | ||
README.md |
-
all languages from the paper are in
tapl/
directory -
see
tapl/README.md
for language reuse information -
tests are in
tapl/tests/
directory -
run all calculi tests with
racket tapl/tests/run-all-tests.rkt
-
mlish language is in
tapl/mlish.rkt
, to make it easier to reuse other langs -
mlish tests are in
tapl/tests/mlish/
-
run all mlish tests with
racket tapl/tests/run-all-mlish-tests.rkt
-
alternate syntax implementations is in
define-typed-syntax
branch