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.2.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for stacker_lang-0.2.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 328c3dcee4c3d99fa4f4a9edf7bc72f98849b5dcb0666e9f6af80ac1f4b5c906 |
|
MD5 | c20c83302bf0702e658deb9d2c1e2ea9 |
|
BLAKE2b-256 | 515dbc1fad2ea507de500231cff544c2be3f6525351b69b20636dc5525bc5832 |