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

Install the package via pip:

pip install .

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.0.tar.gz (11.5 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.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ammd_lang-0.1.0.tar.gz
  • Upload date:
  • Size: 11.5 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.0.tar.gz
Algorithm Hash digest
SHA256 076ab1895f68403b3e5106a30b946ab869f4d5cb0f37e3a2a0f97de9f4d10305
MD5 e3bbf6683197d79d0c0a1e93004bb0ec
BLAKE2b-256 896249298938a9c667da708370aa5c06ac88bd2ce63f90b89f8b2e513fae12f3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ammd_lang-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e43d98f71ff5483464528f96f1a14a084080d1056bde20563f070b93480094d4
MD5 6043f3741f91e80794660ccb07d2fc7c
BLAKE2b-256 fe1e76d83703393a8ee6e9c039e5fb956a7725bbcdfc2bb61dc43d3bc5cb6d3b

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