Skip to main content

A quick and dirty attempt at a stack oriented language

Project description

https://travis-ci.org/djds23/stacker-lang.svg?branch=master

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


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)

Uploaded Source

Built Distribution

stacker_lang-0.2.5-py2.py3-none-any.whl (6.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file stacker-lang-0.2.5.tar.gz.

File metadata

File hashes

Hashes for stacker-lang-0.2.5.tar.gz
Algorithm Hash digest
SHA256 497b0894513d3146b3417ca516b16c8db2e93be784bdb35d1035afeeba3cdee5
MD5 ae44d43cac8e36f53588ec6d382c177f
BLAKE2b-256 1020badd5c5bd57b8f935f77a743d53741689f94e246563d1978f579354f3c93

See more details on using hashes here.

File details

Details for the file stacker_lang-0.2.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for stacker_lang-0.2.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 51dea90b29a0b65feb17a3886b911e43b1fe60ebf697ee92bce55eb38800a442
MD5 39eacd2aa5654181b62e10c508ceac18
BLAKE2b-256 16f01a91a859f25bf32c60a67ddb113a7648efad30807916a689af5577030e2f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page