Commit graph

5 commits

Author SHA1 Message Date
a848e2af88 feat: Incremental building and simultaneous overloading of object values
So we can start with literal objects whose keys are operator names, and
  whose values are arrays of implementations, and merge them, and then
  replace every value with the overloaded function it specifies.
2022-09-26 01:36:25 -04:00
2f0a9936a3 feat(overload): Use typescript-rtti to select implementations (#4)
Note that the changes to module resolution cause steps one and two no longer
  to run because node can't find the imports, although they still compile fine.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #4
2022-09-25 20:02:01 +00:00
8a2ae79c90 feat: New array-style overloading
Step two didn't work so well, so this is actually step three. Avoids
  too much redundant type information.
2022-09-25 10:39:16 -04:00
2377860ff3 chore: enable node to run the output of tsc without modification 2022-09-07 10:10:41 -04:00
0430eb6d5c feat: Implement step one of the roadmap (#1)
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #1
2022-09-07 06:07:58 +00:00