Commit Graph

23 Commits

Author SHA1 Message Date
Georges Dupéron
3458175b0c Cleanup 2016-11-10 18:17:04 +01:00
Georges Dupéron
4b9d7cba22 Attempt to make it work without metafunctions, but I think it's going to be difficult to use 2016-11-10 17:45:31 +01:00
Georges Dupéron
a103d48aaf Used backport-template-pr1514 2016-11-10 17:45:15 +01:00
Georges Dupéron
75703ac933 Cleanup 2016-11-05 02:55:12 +01:00
Georges Dupéron
f36c90a27b Second template metafunction works too. The scopes issue is a bit fishy, but it will do until I tackle the task of having a propper, powerfull and expressive templating library. 2016-11-05 02:53:18 +01:00
Georges Dupéron
38c9c7b7d6 First metafunction works, with a bit of a hack to remove the annoying scope. 2016-11-05 02:46:09 +01:00
Georges Dupéron
d4167fe4e4 Renamed subtemplate and quasisubtemplate as #' and #` for conciseness 2016-11-04 23:48:16 +01:00
Georges Dupéron
37d6ba92ea Needs cleanup, but works! 2016-11-04 23:30:49 +01:00
Georges Dupéron
4eecd1def8 WIP: have to separate function definition from its type with :, due to recursive functions. 2016-11-04 22:38:14 +01:00
Georges Dupéron
b083acd41a TR-bug 2016-11-04 19:19:35 +01:00
Georges Dupéron
88b31299fb Problem with local-expand and definitions. TODO: convert fold-τ and fold-f into for-syntax functions, instead of being a type expander and macro. 2016-11-04 17:38:13 +01:00
Georges Dupéron
cf23417f1f Partial rewrite of traversal.hl.rkt, ready to add the caching mechanism. 2016-11-04 02:30:51 +01:00
Georges Dupéron
de8508f3ce Added support for type-to-replaceᵢ directly within a union. 2016-10-08 03:10:04 +02:00
Georges Dupéron
dc11b3014e dispatch-union seems to work 2016-10-07 22:42:20 +02:00
Georges Dupéron
74c707b65d Small fix on traversal of unions (doesn't work yet). 2016-10-07 13:43:25 +02:00
Georges Dupéron
a486dc81f7 Ported traversal code to use subtemplate, fixed scope issue with subtemplate 2016-10-07 13:42:00 +02:00
Georges Dupéron
9f738e12e5 Arrows for subtemplate derived ids work in DrRacket 2016-10-07 04:46:06 +02:00
Georges Dupéron
88102c7263 Union of two tagged structures works 2016-10-04 13:23:37 +02:00
Georges Dupéron
4862573453 Preliminary support for tagged structures, early draft for unions 2016-10-03 23:55:26 +02:00
Georges Dupéron
4cc991e751 Cosmetic changes on the literate program 2016-10-03 03:38:46 +02:00
Georges Dupéron
95c156717c First draft for define-fold, all tests pass. 2016-10-03 03:25:28 +02:00
Georges Dupéron
1f395775ce Build the hyper-literate document. 2016-10-03 00:04:29 +02:00
Georges Dupéron
f3ea5a4929 Started describing define-fold 2016-10-02 21:25:24 +02:00