tiny python
Remco Gerlich
scarblac-spamtrap at pino.selwerd.cx
Tue Dec 7 19:56:48 EST 1999
François Pinard <pinard at iro.umontreal.ca> wrote:
> > Is it possible to build a python interpreter which just reads byte code?
>
> To spare lexing/scanning sources? Contest rules should tell what input
> format is acceptable. It could be real sources, `.pyc' as produced by C
> Python, or maybe some other representation (like a Scheme-readable tree),
> but the representation could be chosen to convey part of the interpreter:
> I'm not sure where cheating would begin.
>
> Just thinking loud. Do not read this message :-) [Only now he says it?]
I'd say, it doesn't matter what you do, as long as you can use an arbitary
high level language (C or up, .pyc code counts as up), and as long as it's
*very* *small* *in total*. That's how I read his post, anyway.
No clue how to do that, though.
--
Remco Gerlich, scarblac at pino.selwerd.cx
Murphy's Rules, "This is a job for Grandma Moses!":
In Marvel Super Heroes (TSR), a hero runs at a top speed of 1.2 mph.
More information about the Python-list
mailing list