Skip to main content

AMMD Programming Language Interpreter

Project description

AMMD Programming Language

AMMD is an educational programming language written in Python. It parses source code using an LL(1) table-driven parser, compiles it into three-address code (3AC), and executes it using a stack-frame based virtual machine.

Features

  • Variables & Scopes: Declaration using set with local scoping inside functions (supports recursion).
  • Functions: Function declarations using func keyword and returning values via return.
  • Data Structures: Lists/arrays syntax like set x = [1, 2, 3]; and element assignments.
  • Console Input/Output: Print values and take inputs dynamically with get().
  • GUI Editor: Built-in IDE/Editor built on Tkinter.

Installation & Update

Install the package via pip:

pip install ammd-lang

To update the package to the latest version in the future:

pip install --upgrade ammd-lang

Usage

Run a Script in Terminal

ammd run script.ammd

Launch the GUI Editor

ammd

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

ammd_lang-0.1.4.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

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

ammd_lang-0.1.4-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file ammd_lang-0.1.4.tar.gz.

File metadata

  • Download URL: ammd_lang-0.1.4.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for ammd_lang-0.1.4.tar.gz
Algorithm Hash digest
SHA256 8798256b9e36472fd08762f87c422090f03b532e2abdb3ad3e8c15dc8d2ec6d6
MD5 192d7fd4d09dc5fd63a561fe37d65a5c
BLAKE2b-256 50187b38b305395cffee8276fefde170e12b3cb02d9c23de9d1bd990ddeed513

See more details on using hashes here.

File details

Details for the file ammd_lang-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: ammd_lang-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for ammd_lang-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 dab003d54388feeae76056c54cf22afc9c2ce2c623b2f64e07e8eb1ae0e4cd95
MD5 b955fda7cea433736c11583c8e5406a5
BLAKE2b-256 bbfba58d3a643ca304cb8865408d71877e23c9c8a80d6dbcf44d5e752ab2141d

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