A quick and dirty attempt at a stack oriented language
Project description
Install with: pip install stacker-lang
This should install the bin stacker-cli command in your current environment.
The repl will look something like this:
=>help void
{ 'drop': <function drop at 0x10997eb90>,
'dup': <function dup at 0x10997ec80>,
'eq': <function _eq at 0x10997ea28>,
'exit': <function _exit at 0x10997ed70>,
'help': <function _help at 0x10997ede8>,
'not': <function _not at 0x10997e398>,
'or': <function _or at 0x10997e9b0>,
'over': <function over at 0x10997eb18>,
'push': <function push at 0x10997ecf8>,
'rot': <function rot at 0x10997eaa0>,
'swap': <function swap at 0x10997ec08>}
=>push 9
[9]
=>push 10
[10, 9]
=>push 1000
[1000, 10, 9]
=>rot void
[10, 9, 1000]
=>rot void
[9, 1000, 10]
=>drop void
[1000, 10]
Check this project out on PyPi.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stacker-lang-0.4.0.tar.gz
(4.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
File details
Details for the file stacker-lang-0.4.0.tar.gz.
File metadata
- Download URL: stacker-lang-0.4.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a673763be8814c7de349c79ca3a32cc9e0941dbd7cc3a751aff6cb5824f006b7
|
|
| MD5 |
75f51e38ced15f563bb3f6967c67c6f1
|
|
| BLAKE2b-256 |
379a0ed41226cb114e0885bfb6405df13eee6134e6c85dacd6a9996fce62043e
|
File details
Details for the file stacker_lang-0.4.0-py2.py3-none-any.whl.
File metadata
- Download URL: stacker_lang-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 7.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be3f4a5e1b71c34bf68019f5a6e817f21ef3ab28ee49dd42aa224340b0fd307f
|
|
| MD5 |
03d70367017bdd481cfbc218335ff24a
|
|
| BLAKE2b-256 |
7f80c711b006b24e32df69a5e97802d935bf25b659a85ed0adccc97e2ffe38c3
|