Skip to main content

An interpreter for the Shakespeare Programming Language.

Project description

shakespearelang
===============

An interpreter for the Shakespeare Programming Language, implemented in
Python.

How do I get this?
^^^^^^^^^^^^^^^^^

:code:`pip install shakespearelang`

How do I use this?
^^^^^^^^^^^^^^^^^

Running a file is :code:`shakespeare run <file-name>`.

Entering a REPL/console is :code:`shakespeare repl` or simply :code:`shakespeare`.

What is the Shakespeare Programming Language?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

The Shakespeare Programming Language (SPL) is a programming language
with source code that looks like Shakespeare's plays. The language is
Turing complete, so theoretically just as powerful as any other
language. It's a lot of fun to write but not practical for any large
projects. More info can be found `on Wikipedia`_.

Note: Shakespeare's actual plays are not valid SPL. SPL does not aim to
provide backwards compatibility with legacy code written ~400 years ago.

What is this project?
^^^^^^^^^^^^^^^^^^^^^

This is an interpreter I wrote for SPL. It's written in Python. The aim
is to help programmers better understand how their SPL code is
executing, with features like REPL and debugging. All previous
implementations of SPL were cross-compilers, which makes an already
confusing language even harder to follow.

What state is this project in?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I haven't written any tests yet, but it will *probably* run any valid
SPL program. Try running :code:`shakespeare` or :code:`shakespeare repl`
to play with a fun REPL. Debugging is coming Soon :superscript:`TM`.

.. _on Wikipedia: https://en.wikipedia.org/wiki/Shakespeare_Programming_Language

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

shakespearelang-0.0.1.zip (13.7 kB view hashes)

Uploaded Source

Built Distribution

shakespearelang-0.0.1-py3.5.egg (26.3 kB view hashes)

Uploaded Source

Supported by

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