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.3.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.3-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ammd_lang-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 4545756ca96ac105504d1fd09e77b02620dc0649c2ce27754650316828d0b72f
MD5 88b4116bc3b117f3d3c29c40e1c3a9b1
BLAKE2b-256 1c59727e2a2b083050e8fdf84d461ab80b46cbeb5eb41379163687c625f8e1ee

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ammd_lang-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 096f96be6ed85836c09465bbd7aac3033c62f2f9f98469a906bac249538c220c
MD5 d34051a8973738c7bbee9e4d5d9939fc
BLAKE2b-256 2de7f2e6c1164a1efb814b60422d51e828824ba52697d2fce2633b2b157b40d8

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