MathPy Project Programming language
Project description
MathPy
For information about the language itself,
check out the documentation.
About
MathPy is a Python library that acts as a completely new
programming language.
The goal of this project is to experiment with strings as
numbers in a high enough base to allow for a multitude of
characters, and to see if this could be a viable alternative
to the classical way of implementing character strings.
For instance, in hexadecimal, the string "baba" would
have a numerical value of 47802.
Install MathPy
pip install mathpy-string
Run files in MathPy
The Python way
If you wish to run your MathPy files through a Python program,
you can do so by importing the run_file()
function from
the mathpy library, as follows:
from mathpy import run_file
with open("[filepath]", 'rt', encoding='utf-8') as file:
run_file(file)
The command line way
If you wish to run your MathPy files through the command line,
you can do it as follows:
python -m mathpy run [filepath]
or, if you wish to access the shell:
python -m mathpy shell
or simply:
python -m mathpy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mathpy_string-1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d642de4cf60125df4e580eb20dbe419277d187aa864a05a45f88fac3041a893 |
|
MD5 | f34ff16a550cb13f6abb5f4da721d40c |
|
BLAKE2b-256 | 760211eec51e589192d630c579246752e1004378304883030b1ce3fce106d58e |