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 569079e908 refactor: change Dispatcher class to a closure
Also starts work on typing that closure. Gets the property names right,
  but currently has the "unfilled" method types, rather than the returned
  "filled-in" function types. Not sure how to fix this.
2023-10-18 23:10:58 -07:00
etc feat: add build script (#13) 2023-08-23 03:20:10 +00:00
src refactor: change Dispatcher class to a closure 2023-10-18 23:10:58 -07:00
.gitignore feat: add build script (#13) 2023-08-23 03:20:10 +00:00
.npmrc feat: add build script (#13) 2023-08-23 03:20:10 +00:00
LICENSE Initial commit 2022-12-02 14:04:53 +00:00
README.md feat: Runtime type reflection (#17) 2023-10-17 22:02:18 +00:00
package.json5 feat: Runtime type reflection (#17) 2023-10-17 22:02:18 +00:00
pnpm-lock.yaml feat: Runtime type reflection (#17) 2023-10-17 22:02:18 +00:00
tsconfig.json refactor: change Dispatcher class to a closure 2023-10-18 23:10:58 -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.

Convenience scripts:

  • pnpm build -- compile the package
  • pnpm exec -- run the compiled code produced by pnpm build
  • pnpm go -- both of the above in sequence.

Important installation note:

after pnpm install, you must execute npx ts-patch install to activate the ts-macros compiler plugin.