Skip to main content

a functional programmig language focused on math

Project description

MathLamp LogoRubberSpring - MathLamp GitHub tag issues - MathLamp

About

MathLamp is a simple, powerful, functional programming language that can run complex equations in no time.

Install

Run the main.py file to open te REPL.
To run a .lmp (MathLamp source) file run lamp [file] where [file] is your code file.

Features

  • Basic Artimetic operations (+ - * / %)
  • Really simple Algebra (sqrt() and pow())
  • A working REPL to type expressions

Example

out(1 + 1) // Prints 2
x = 3 * 2 // Variables
y = sqrt(4) // Square Root
out(x / y)

Licensing

typer license: typer-LICENSE
lark license: lark-LICENSE

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

mathlamp-1.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

mathlamp-1.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file mathlamp-1.1.0.tar.gz.

File metadata

  • Download URL: mathlamp-1.1.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Windows/11

File hashes

Hashes for mathlamp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 74e9e108606a3159fb166c56fe89269da95c4a0c139ae7bcee8d96ae17b6d2b6
MD5 8f9d9b448194e36cae7958330c41e0dd
BLAKE2b-256 2dd1061bfa55cd65c9ba47b22e9e05a8a1267d73542fa84a4ab13c63e85f7be2

See more details on using hashes here.

File details

Details for the file mathlamp-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: mathlamp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.13.3 Windows/11

File hashes

Hashes for mathlamp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6c8602da616f5d733f21f6379cda38dad927eefb2370fd5e6981d5ba468a330b
MD5 e09a1b4480b02a123a813995b30adf0a
BLAKE2b-256 7a317fd545aca47369def777862b163f5a5b3a0eb5d93c7306aa2973d2ea7f17

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