A final (?) prototype for a refactor of mathjs, culminating the picomath, pocomath, typomath series. Provides an extensible core with "fuzzy" types for its operations, that can at any time generate exact .d.ts file for its current state.
Go to file
Glen Whitney 58f0250ab4 issue: deepkit punts on complicated template instantions/intersections
The most troubling example is found in `src/complex/arithmetic.ts`,
  where (as one can see by carefully screening the output when you
  run src/index.ts) deepkit reports the type of

  ```
  Dependencies<'absquare', X> & Dependencies<'add', Returns<'absquare', X>>
  ```

  to be `any` (look for the line starting "Because { kind: 1," in the output;
  kind: 1 is deepkit's code for `any`. It doesn't even give a syntactic
  description of the type as say the intersection of two instances of the
  Dependencies generic type, which would be good enough (if we got the
  string parameters to the generics).
2023-08-16 12:57:48 -07:00
src issue: deepkit punts on complicated template instantions/intersections 2023-08-16 12:57:48 -07:00
.gitignore Declare implementations and dependencies via standard interfaces for operations (#8) 2023-01-22 01:34:57 +00:00
LICENSE Initial commit 2022-12-02 14:04:53 +00:00
README.md doc: note possible need for extra installation step 2023-08-15 17:04:30 -07:00
package.json5 feat: Deepkit provides type info for case that typescript-rtti failed 2023-08-15 16:50:24 -07:00
pnpm-lock.yaml feat: Deepkit provides type info for case that typescript-rtti failed 2023-08-15 16:50:24 -07:00
tsconfig.json feat: Deepkit provides type info for case that typescript-rtti failed 2023-08-15 16:50:24 -07:00

README.md

typocomath

A final (?) prototype for a refactor of mathjs, culminating the picomath, pocomath, typomath series. Provides an extensible core with "fuzzy" types for its operations, that can at any time generate exact .d.ts file for its current state.

To build and run the prototype, run:

npx tsc
echo  '{"type": "module"}' > obj/package.json
node obj

Installation note: after doing pnpm install if the above compilation/run commands don't seem to work, execute npx deepkit-type-install and try again.