Skip to main content

ASMX

ASMX is a development platform, comprised of a modular assembler, and a VM which runs on Scratch. It allows you to write simple programs in a custom assembly-like language, and then execute them in an educational and visual environment. ASMX is perfect for people who want to learn how computers work with low-level programming, people looking to contribute to a project for the first time, or people who want to create interesting projects whilst still using Scratch.


Features

  • ⚙️ Macro-based Assembler - Powerful macro system with modular namespaces and grammar extensions
  • 🧱 Scratch VM - The virtual machine is implemented in Scratch, making it visual, easy to experiment with, and beginner-friendly
  • 📦 Package System - Create and load your own macro packages, allowing you to extend the instruction set
  • 🕹️ Demo Projects Included - Demo projects like Rock Paper Scissors are included to help you learn and experiment
  • 💡 Made For Learning - Built with simplicity and education in mind, perfect for exploring how computers work

Getting Started

🧰 Requirements

  • Python 3.8 or above
  • A local clone/copy of this repo

🚀 Quick Start

To download ASMX, run:

pip install asmx

Congrats, you just installed ASMX! Open up the guide, by running:

asmx --docs

Then click on the Guide section.

Project Structure

asmx/
├── asmx_core/           # Core Python package (assembler logic, macro dispatcher, parser, etc.)
│   ├── macros.py
│   ├── parser.py
│   └── packages/        # User-defined + Standard library packages
├── docs/                # Documentation for ASMX
├── asmx.py              # Entry point, run this file
README.md
setup.py
setup.cfg
...

Documentation

Documentation is built with MkDocs. To open the documentation, run:

asmx --docs

If you are looking to contribute to the documentation, go to the asmx-docs repo.

Contributing

All contributions are welcome! You could:

  • Fix bugs
  • Write documentation
  • Create new packages
  • Submit new demo programs or games
  • Help add new features
  • Simplify code
  • Write tests
  • Expand the VM's capabilities

If you're interested, just open an issue or pull request. Make sure your code is clean and commented where necessary.

License

This project is licensed under the MIT License. See the LICENSE file for details.

⚠️ Important Note

The ASMX project is still in early development - expect changes and bugs!

Metadata

Release files for asmx 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asmx 0.1.2
File Size Uploaded Provenance
asmx-0.1.2.tar.gz 3.0 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for asmx 0.1.2
File Interpreter ABI Platform
asmx-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.1 MB

Release files / asmx-0.1.2.tar.gz

Download URL asmx-0.1.2.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
1c5e1ec5d7b2b6e6cc85c75c40d4911b247f84ec55f9cde6a38998bff2ffcb1d
BLAKE2b-256 checksum
How to use checksums
00e5fb73fd8c10e03e8fb1278636212e969c247f43f72a61a6392ba14ea34722
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 21, 2025.

Transparency log

Release files / asmx-0.1.2-py3-none-any.whl

Download URL asmx-0.1.2-py3-none-any.whl
Size 3.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
dd38cd628aba3bbd37d15d0c69ee1dea1bee2b54f55e0937b20bcaa1d167531f
BLAKE2b-256 checksum
How to use checksums
fb7d7661bc84ac7223f1b7f09e299544a7a93f4d9ea308ba7534998e8bb9ca65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 21, 2025.

Transparency log

Security for asmx 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for asmx-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 21, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page