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 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
src Declare implementations and dependencies via standard interfaces for operations (#8) 2023-01-22 01:34:57 +00: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 Declare implementations and dependencies via standard interfaces for operations (#8) 2023-01-22 01:34:57 +00:00
package.json5 chore: pnpm init and add TypeScript 2022-12-02 09:15:25 -05:00
pnpm-lock.yaml chore: pnpm init and add TypeScript 2022-12-02 09:15:25 -05:00
tsconfig.json experiment: Can't put code in declare sections :-) 2022-12-06 12:10:18 -05: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
node obj