A quick and dirty attempt at a stack oriented language
Project description
Install with: pip install stacker-lang
This should install the bin stacker-repl 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.2.5.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file stacker-lang-0.2.5.tar.gz
.
File metadata
- Download URL: stacker-lang-0.2.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 497b0894513d3146b3417ca516b16c8db2e93be784bdb35d1035afeeba3cdee5 |
|
MD5 | ae44d43cac8e36f53588ec6d382c177f |
|
BLAKE2b-256 | 1020badd5c5bd57b8f935f77a743d53741689f94e246563d1978f579354f3c93 |
File details
Details for the file stacker_lang-0.2.5-py2.py3-none-any.whl
.
File metadata
- Download URL: stacker_lang-0.2.5-py2.py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51dea90b29a0b65feb17a3886b911e43b1fe60ebf697ee92bce55eb38800a442 |
|
MD5 | 39eacd2aa5654181b62e10c508ceac18 |
|
BLAKE2b-256 | 16f01a91a859f25bf32c60a67ddb113a7648efad30807916a689af5577030e2f |