bonasaurus1 / hobbes
- Source
- Commits
- Network (0)
- Issues (15)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
realparser
hobbes /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
README | ||
| |
errors.py | ||
| |
interpreter.py | ||
| |
objectgraph.py | ||
| |
parser.py | ||
| |
run | ||
| |
syntaxtree.py | ||
| |
tokenizer.py |
README
HOBBES Hobbes is an interpreted dynamic language. Philosophy: minimalist and sensible like Python, but everything's an object like Ruby and Smalltalk. This is my first language, so I'm implementing it in Python cuz that's easiest for me. Maybe once I figure out what I'm doing I'll port it to java so it's reasonably fast, maybe I won't. We'll see where it goes. $ # install git (git-scm.com) and python (python.org) $ git clone git://github.com/bonasaurus1/hobbes.git $ cd hobbes/ $ ./run >> 2 + 2 4.0 >> a = 2 + 2 >> b = ( a + 4 ) * 5

