https://github.com/pgilbertschmitt/parth
A language for me
https://github.com/pgilbertschmitt/parth
Last synced: 2 months ago
JSON representation
A language for me
- Host: GitHub
- URL: https://github.com/pgilbertschmitt/parth
- Owner: PGilbertSchmitt
- License: mit
- Created: 2018-05-13T03:36:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-24T20:30:06.000Z (over 6 years ago)
- Last Synced: 2025-01-17T14:36:19.508Z (4 months ago)
- Language: C++
- Size: 178 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Parth
## A language for meThis project is a small interpreter for the Parth programming language. This language isn't going to displace Ruby or Javascript or anything, but it is inspired by both. It's half a pet project and half a grand ambition for a future game.
My C++ skills are a bit rusty and were never polished in the first place, so I wouldn't expect this code to be a paragon of structure and design. This is also technically my first interpreter (though I did first implement it in much cleaner Golang, and this started as a migration from that). Because of that, and the fact that I don't have a fancy college degree, Parth will not be the most optimized or the most complete language. However, I've got spunk, free time, and a handful of ideas, and those are the most delicious ingredients in the recipe we call life.
A specification will probably be eventually written maybe (I hope).
## Building
First, clone/fork this repo, then grab the googletest subrepo:
```bash
$ git clone [email protected]:PGilbertSchmitt/parth.git
$ git submodule update --init
```Tests are run with `$ make tests`, run main with `$ make run`. I've had trouble with updating the googletest subrepo from the makefile, so it has to be done manually for now.