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-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


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.3.0.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

stacker_lang-0.3.0-py2.py3-none-any.whl (7.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: stacker-lang-0.3.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for stacker-lang-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6fcb1ead32b00c808c5d55b31d9da2cc99b3fb26d29a72185d6e369197d5803b
MD5 21e53c6693bd711b9eebdf8a81d95485
BLAKE2b-256 b63cd19b8c1508fd23e7eec43b3d61cfdf6a1711034b9fc7f6ac11f4495fd942

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacker_lang-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 35319b4c4186224aad503f21252a3639cbdbaa61626468f8d784dafccc64a054
MD5 84fbc11b98bec9b99d6fef19a19fb8f4
BLAKE2b-256 6dd492a00271483ea915bd600d911d51f0b3a366a3d194f4821a0d0c617e08ba

See more details on using hashes here.

Supported by

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