Python implementation of the esoteric Chef programming language. A spontaneous top-of-my-head effort.
Python
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
examples
tests
.gitignore
README.md
chefparser.py
common.py
instructions.py
preserve.py

README.md

Preserve

Preserve is an interpreter for the esoteric programming language Chef by Davig Morgan-Mar.

It is written in Python (2.6-2.7) and uses funcparserlib.

NOTE: The latest stable release of funcparserlib - 0.3.4 does not have the contrib package. So make sure you checkout from hg

The two example programs from the website are included in examples.

Run

python preserve.py [program name]

If program name is absent, Preserve will wait for you to type in the program on standard input.

Debugging

Preserve writes out certain debugging information. Set

preserve.global_loglevel = logging.DEBUG

for this. (on by default)