Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/wciesialka/play-language
- Owner: wciesialka
- License: gpl-3.0
- Created: 2021-11-30T07:53:14.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-03T20:52:06.000Z (almost 3 years ago)
- Last Synced: 2023-03-03T19:50:19.863Z (over 1 year ago)
- Topics: programming-language, python
- Language: Python
- Homepage:
- Size: 51.8 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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}] inputInterpreter 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.