Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wciesialka/play-language

Simple play language built and interpreted in Python.
https://github.com/wciesialka/play-language

programming-language python

Last synced: about 10 hours ago
JSON representation

Simple play language built and interpreted in Python.

Awesome Lists containing this project

README

        

# play-language
Simple play language built and interpreted in Python.

## What is this?

I was bored and looking for something to do, so I wrote my own stack-based language in Python3. This language is tokenized and interpreted in Python3.
Each token is exactly one character, and whitespace is ignored.

### Syntax?

See [SYNTAX.md](SYNTAX.md) for a table of valid tokens.

## Getting Started

### Installing

Run `setup.py install`.

### Running

Run using `playlanguage` or `python3 -m playlanguage`.

```bash
usage: playlanguage [-h] [-l {d,i,w,e,c}] input

Interpreter for the Playlanguage.

positional arguments:
input Input file.

optional arguments:
-h, --help show this help message and exit
-l {d,i,w,e,c}, --level {d,i,w,e,c}
Logging level.
d: DEBUG
i: INFO
w: WARNING
e: ERROR
c: CRITICAL
```

## Authors

- Willow Ciesialka

## License

This project is licensed under GNU General Public License v3.0. See [LICENSE](LICENSE) for details.