Skip to main content

VM Translator

Translates a file containing VM (Virtual Machine) commands into a Hack assembly language file. The VM specification can can be found in the section 7.2 of Nisan, Noam. “The Elements of Computing Systems: Building a Modern Computer from First Principles.”

Usage

The assembler can be invoked via command line with the command:

vm-translator fileName.vm

, where the string fileName.vm is the translator’s input, i.e. the name of a text file containing VM commands. The translator creates an output text file named fileName.asm, containing Hack assembly commands. The output file is stored in the same directory of the input file. The name of the input file may contain a file path.

Reference

http://www.nand2tetris.org/07.php

Metadata

Release files for vm-translator 0.1

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

Built distribution (wheel)

Table of built distributions (wheels) for vm-translator 0.1
File Interpreter ABI Platform
vm_translator-0.1-py3-none-any.whl Python 3 none any Details

Release files / vm_translator-0.1-py3-none-any.whl

Download URL vm_translator-0.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0138663cd68f4b6b522c902e494a8154c682bd531f160530e97c087c26693f41
BLAKE2b-256 checksum
How to use checksums
171632408eaa5bdf664ad7505224085f31a1f8b63c2ae964a50ce1494a94451a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for vm-translator 0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No 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