Skip to main content

The Domain Specific Language for math.

Project description

How to install

Currently we only ship the latest packages over pip, although soon a web API will be designed. To install, just run:

pip install mathsys

Mathsys

Mathsys is a DSL (Domain-Specific Language) aimed to make math writing easier on computers, and something machines can actually understand.

To do so, we are building a hybrid syntax between what math currently is right now, but adding features from programming languages (like multicharacter variables).

The project is currently on its early stages, and future improvements will be made over time. Most features Mathsys aims to cover aren't close to being developed yet.

A new version is released every few weeks on an irregular schedule. Regular releases happen every one to three weeks, whilst patches and bug fixes are released soon after detection.

Check it out live on Abscissa.

I say we but I'm indeed a solo developer for now, so if you want to get involved learn

How to contribute

  1. Check out our wiki: here.
  2. Join the team: Contact us to become a member of the organisation and get write role.
  3. Work on a branch: Create a new branch and add your changes. The branch main is protected against direct commits to keep the codebase clean, every commit there is a version deployed into the website.
  4. Submit the pull request: Create a pull request. Don't forget to update the changelog.md and the version numbers accordingly. We will give you feedback.

[!NOTE] If there is already a branch that is developing the next version, branch out instead from that branch instead of branching out from main.

Technical background

Currently only a Python transpiler to LaTeX is available. Here is how it works:

  1. Tokenization and AST building are handled completely by the lark parser at once.
  2. A small LaTeX generator runs over the AST and prints out LaTeX character by character.

License

All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mathsys-0.8.0.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mathsys-0.8.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file mathsys-0.8.0.tar.gz.

File metadata

  • Download URL: mathsys-0.8.0.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for mathsys-0.8.0.tar.gz
Algorithm Hash digest
SHA256 ee8363b685c4eb6d973c69d1445d7d5fef4f2afe9ca1d610f8f0b286543c6277
MD5 d974ee7b333e4c71ac7386029b68f84b
BLAKE2b-256 b99b59dec335c04bb3e00286aa4a669d88839b1668bd3f6dcca084df224f8474

See more details on using hashes here.

File details

Details for the file mathsys-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: mathsys-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for mathsys-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 54543a1a55d973236df25d41bf3f194a6e4b916fb7e9ac35affae89a0d034ce3
MD5 15465996d8d3b42648ed280dbf25e6aa
BLAKE2b-256 aff5ff65346016b34d5f0f4df2e90258ab4a32ccb9c6d4e700e0d5526457d0ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page