Skip to main content

Abraham

Esoteric language interpreter


Install:

pip install abeinterpreter


Basic Usage:

  1. Import: import abeinterpreter as ai

  2. Instantiate the AbeInterpreter class: interp = ai.AbeInterpreter()

  3. Interpret code with .interpret(code): interp.interpret(some abe code here)

  4. Display output with print: print(interp.interpret(some abe code here))


Types:

String: "Hello World!" Int: 42 Float: 3.14 Boolean: True, False


Commands:

Move right x cells: Overhead, the geese flew x miles east. Move left x cells: Overhead, the geese flew x miles west. Assign x to cell: Preparing for the storm, he inscribed x into the stone. Add to cell value: He sold x sheep. Subtract from cell value: They paid for their x mistakes. Print cell value: And Abraham spoke! While loop: He ran into the mountains, but only when ___. This is what happened there: Note: Loop conditions act on current cell value. Loop conditions: If greater than cell val: they had more than x fish If less than cell val: they had less than x fish If equal to cell val: the stone said x Signal loop end: Alas, I digress. Copy: One day he stole his neighbor's goods. Paste: He repented and returned the property.


Print even integers from 100 to zero:

He sold 100 sheep. He ran into the mountains, but only when they had more than 0 fish. This is what happened there: And Abraham spoke! They paid for their 2 mistakes. Alas, I digress. And Abraham spoke!


Metadata

Release files for AbeInterpreter 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 AbeInterpreter 1.2
File Size Uploaded Provenance
abeinterpreter-1.2.tar.gz 18.3 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 35.3 kB

Release files / abeinterpreter-1.2.tar.gz

Download URL abeinterpreter-1.2.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
61dc1a90d98e231625ee13e150f350dcb76b8efab159855d59a3bb3b55cfb4c7
BLAKE2b-256 checksum
How to use checksums
8c893c35c2c36998b2f706121b36a30e3e444e95770357915a999534781d18dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.1

Release files / abeinterpreter-1.2-py3-none-any.whl

Download URL abeinterpreter-1.2-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
adbd9700258dfe6d290baeedfad132a3c82ff4ccd425bcad5bc0c7086f34df3b
BLAKE2b-256 checksum
How to use checksums
08f229b57474cd87cba25feceec29baa1cfe647023b0b6f5434963d504c04fe7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.1

Security for AbeInterpreter 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.

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

1.2 This release

2 release files 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