PyFunge requires, obviously, Python installation to run. You’ll require Python 2.4 or later.

For IA-32 platform, PyFunge makes use of Psyco for better performance. You can expect 2 or 3 times speed-up with Psyco, since PyFunge uses very tight and hard-to-optimize loop to execute Funge program.


If you have easy_install, you can type the following command to install PyFunge:

$ easy_install PyFunge

Or you can download the source archive from the official website and extract it. funge/ directory contains the entire funge package, and pyfunge is an executable driver script. The former should go into your library directory (normally site-packages), and the latter should go into your binary (normally /usr/local/bin).

The source distribution also contains a documentation in docs/ directory, which is what you’re now reading. For building the documentation you need Sphinx, version 0.4 or later. Alternatively you can read the most recent documentation at here.


The source distribution contains some Funge test suites in tests/. You check out them against current PyFunge version with pyfunge-test shell script:

$ ./pyfunge-test
Done, XX out of XX test(s) passed.

If there are any outstanding messages it didn’t pass the tests. For more information about these tests, see Tests.

Table Of Contents

Previous topic


Next topic


This Page

Quick search