Commit Graph

22 Commits

Author SHA1 Message Date
d50c1a9ccf some refinements in the plugin 2023-09-01 18:36:50 +02:00
cbb79d46fe cleanup old experiments and typescript-rtti, update readme 2023-09-01 18:21:45 +02:00
dea521029e Get a real TypeScript plugin working 2023-09-01 17:52:44 +02:00
2cb8bc0099 Cleanup a temporary console.log 2023-08-18 17:40:13 +02:00
3653077c95 Add an experiment reading out a JSDoc comment 2023-08-18 17:39:57 +02:00
16eb09fe61 chore: update a couple packages 2023-08-17 23:34:03 -07:00
6a063d7385 Add a useful resource to the list with articles 2023-03-14 10:15:56 +01:00
f8553aa748 Add another experiment infer2 (WIP) 2023-03-14 09:51:28 +01:00
aa044a54e7 Move the experiment into src/plugins and src/experiment 2023-03-13 16:31:41 +01:00
b9cfe706fc Experiment of creating a TypeScript plugin (WIP) 2023-03-13 16:04:11 +01:00
946b4a495f use CallSite reflection to get some information out of specifications (WIP) 2023-02-02 16:14:25 +01:00
86688ca129 fix: generate CommonJS output instead of ESM as a workaround for typescript-rtti issue #94 2023-02-02 15:52:15 +01:00
5872bd8537 chore: switch to the typescript and typescript-rtti versions used in the online playground 2023-02-02 15:07:47 +01:00
1f2a59c802 fix some exports not being understood by typescript-rtti 2023-02-02 15:05:55 +01:00
35a8c62ff2 Set up typescript-rtti (WIP) 2023-01-25 14:42:23 +01:00
cc1e66c054 Declare implementations and dependencies via standard interfaces for operations (#8)
Adds a new subdirectory `interfaces` where standard interfaces
  are defined. Additional interfaces for a given operation can
  be added with an `AliasOf` type operator. Provides type
  operators that give the return type, full function type, and
  the type of a dependency on, a given operator.

  Resolves #6.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
Reviewed-on: #8
2023-01-22 01:34:57 +00:00
3fa216d1f4 refactor: Major simplification in providing implementation types (#2)
This PR is an effort to address #1. It removes all boilerplate
  from individual implementation files, and moves it into
  a small, fixed section in the single `all.ts` module for each
  type that collects up all of the implementations relating
  to that type.

Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Reviewed-on: #2
2022-12-19 23:50:24 +00:00
29bcab1639 style: whitespace fixes 2022-12-19 17:14:26 -05:00
ccc6153786 feat: TypeScript typings for Dispatcher implementations
A first pass at specifying some implementations in TypeScript
  that actually compiles. It doesn't do anything, as installing
  types and operation specifications are currently dummy operations,
  but they are all invoked.
2022-12-06 20:21:05 -05:00
2a9039ac67 experiment: Can't put code in declare sections :-) 2022-12-06 12:10:18 -05:00
78f3975d54 chore: pnpm init and add TypeScript 2022-12-02 09:15:25 -05:00
215a36a847 Initial commit 2022-12-02 14:04:53 +00:00