tiny python

Fredrik Lundh fredrik at pythonware.com
Wed Dec 8 02:45:44 EST 1999


Noel Burton-Krahn <noel at burton-krahn.com> wrote:
> I would like to make the smallest python interpreter possible.  Is it
> possible to build a python interpreter which just reads byte code?
> Can I cut out the compiler?  The stock python (1.5.2) compiles to over
> 480K on my redhat-5.2 linux box.  I need to get that below 200K to fit
> on my system.

start here:

    http://www.abo.fi/~iporres/python/

    "With this patch, it is possible to build a
    python interpreter WITHOUT support for
    float, complex and long numbers, file
    objects, parser, compiler and depedencies
    with any operating system."

</F>

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->





More information about the Python-list mailing list