Human Resource Machine Interpreter
Human Resource Machine is a game where you play an employee controlled by a block-like "programming language". The goal of this repository is to create an interpreter for this "programming language".
The syntax is kind of clause to assembly, using jumps for controlling the flow. The inbox and outbox correspond to argument and return value. For each level, a prompt is given and the player code is tested with multiple values.
Overflow occurs when the value is lower than -999 or bigger than 999.
HRM interpreted Language
The HRM language will follow these specificities:
- Comment will be defined using
#on an empty line. inboxwill give an integer value from a given stack ranging from -999 to 999outboxwill be yield from therunfunction.- every value within square bracket will be considered as a number corresponding to a slot id, or a label that identify a slot.
jumpwill have an argument to the instruction to teleport the pointer to. blank & comment line will not count.slotallow to define slot name given an id and a string.
Metadata
Release files for hrm-py 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| hrm-py-0.1.1.tar.gz | 4.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hrm_py-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / hrm-py-0.1.1.tar.gz
| Download URL | hrm-py-0.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6659d8f94d5fe61912987c13d88c479f296958f66ecccd2da829586c3475f614
|
|
BLAKE2b-256 checksum How to use checksums |
5529ecde9d9621fe877898179eed9334f89671634676c2a88617d42d08da3b87
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / hrm_py-0.1.1-py3-none-any.whl
| Download URL | hrm_py-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
643a742661940a5853a6f296b59bcdbb7a62461f064f89626378fbd171ce3e8a
|
|
BLAKE2b-256 checksum How to use checksums |
0397b0c218630cb18d76bbb82a7f2821acc76908b01e9297ff41a9486890d9ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for hrm-py 0.1.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.