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
setwith local scoping inside functions (supports recursion). - Functions: Function declarations using
funckeyword and returning values viareturn. - 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 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.1.tar.gz
(14.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ammd_lang-0.1.1-py3-none-any.whl
(15.5 kB
view details)
File details
Details for the file ammd_lang-0.1.1.tar.gz.
File metadata
- Download URL: ammd_lang-0.1.1.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8582417d0c392137c6383f00e48f9f31dbee06fef9c2abad21f8d2c707a2544
|
|
| MD5 |
77c717883ad582f8047a17bdc2a35cdc
|
|
| BLAKE2b-256 |
520281889afa0eff028ccd6a6255aa18d926b40acd656edd05802ef230c75bf3
|
File details
Details for the file ammd_lang-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ammd_lang-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83ed551ae59abf2edf2004a112e176cb36476d03cbd54360460bb58314fa96a4
|
|
| MD5 |
40f13e0586db68b5fc5fd5037700af8b
|
|
| BLAKE2b-256 |
554fa05ce5998de1bd5f45a73acfef0ce8163048891f476cb7b8759bb0cf32b1
|