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 40146c2f48 feat: Runtime type reflection (#17)
Now each behavior specification "knows" its type information.
  Also bumps version number and sets up so that the scripts will run on Windows as well as Unix (thanks to Jos).
  Resolves #5.
  Resolves #16.

Co-authored-by: Jos de Jong <wjosdejong@gmail.com>
Reviewed-on: #17
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
Co-committed-by: Glen Whitney <glen@studioinfinity.org>
2023-10-17 22:02:18 +00:00
etc feat: add build script (#13) 2023-08-23 03:20:10 +00:00
src feat: Runtime type reflection (#17) 2023-10-17 22:02:18 +00: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 feat: Runtime type reflection (#17) 2023-10-17 22:02:18 +00: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.