Commit Graph

16 Commits

Author SHA1 Message Date
Glen Whitney 6f44567306 refactor: Extend reflection to all implementations so far
And also enhances the reflected type parsing so that the types of all
  implementations so far will parse.
2023-10-17 14:54:10 -07:00
Glen Whitney 49b1332917 feat: Add reflecTypes that allows multiple reflections at once 2023-10-09 21:10:15 -07:00
Glen Whitney 457b9cdc91 refactor: Possible alternate syntax for reflection 2023-09-30 15:52:14 -07:00
Jos de Jong 20236355c1 feat: do not generate export via macro but keep the export in TS for better DX 2023-09-29 15:36:22 +02:00
Jos de Jong 632c82966b chore: upgrade to `ts-macros@5.2.0` instead of directly from git 2023-09-28 11:30:44 +02:00
Jos de Jong fd4ecd70ba chore: use exact version numbers 2023-09-21 15:04:18 +02:00
Jos de Jong 0ebaaf35ee feat: convert sqrt for numbers 2023-09-21 15:02:42 +02:00
Jos de Jong 20078d2c87 use ts-macros directly from Github until v2.4.2 is published on npm 2023-09-21 14:58:51 +02:00
Jos de Jong 4947a80cb4 chore: make `pnpm go` work cross platform 2023-09-21 14:11:10 +02:00
Glen Whitney 0e2a1e830a WIP: try to use ts-macros for more implementations 2023-09-18 10:14:11 -07:00
Glen Whitney dc6cf5165d issue: ts-macros appears to be generating temp variable clashes 2023-08-26 12:19:32 -07:00
Glen Whitney ae2303af7c chore: Update to ts-macros@2.4.0 2023-08-26 10:14:02 -07:00
Glen Whitney 770c302342 feat: Precisely reflect the type of an implementation at runtime (!!) 2023-08-25 19:18:54 -07:00
Glen Whitney 76e144bc2a feat: add build script (#13)
This commit adds pnpm scripts for compiling and running the
  typocomath package, and a convenience script `pnpm go` that does
  both in succession. It also configure pnpm to use a shell
  emulator so that it should work on Windows as well. Finally,
  it changes the directory for object files from obj to build.
  Resolves #9.

Reviewed-on: #13
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-08-23 03:20:10 +00:00
Glen Whitney f06943ba1a chore: Update to latest TypeScript and make sure instructions work 2023-08-18 10:36:11 -07:00
Glen Whitney 78f3975d54 chore: pnpm init and add TypeScript 2022-12-02 09:15:25 -05:00