[perl #41577] docs/ROADMAP.pod refers to python bytecode translator, pie-thon test suite

2007-02-27 Thread Allison Randal via RT
Fixed in r17210.

[perl #41577] docs/ROADMAP.pod refers to python bytecode translator, pie-thon test suite

2007-02-22 Thread via RT
e entries for "Get python bytecode translator done" and "Pass the pie-thon test suite". Are these still active waypoints on the roadmap, or should we remove them? Pm

Python bytecode volunteers...

2004-09-20 Thread Dan Sugalski
Well, we were shooting for an end-of-August release, but needless to say that's not happened. Both Leo and my translators were reasonably near completion, and need to be pushed that final bit of the way. Neither of us have the time, so... Anyone want to take a shot? Leo's builds faster code but

Python::Bytecode 2.4. This time I mean it!

2004-07-12 Thread Dan Sugalski
Fixed a bug in the damn thing (that I'd introduced) and fixed the tests to actually test properly, including both a Python 2.2 and 2.3 format bytecode file in the archive. Rather than mail the thing to people *again* I've just stuck it up for web snagging. http://www.sidhe.org/~

Python::Bytecode 2.3

2004-07-12 Thread Dan Sugalski
The last rev of Python::Bytecode is up and available for poking at. http://www.sidhe.org/~dan/Python-Bytecode-2.3.tar.gz if you want it. Handles multiple code objects in a file now (woo!) as well as actually supporting Python 2.1 and 2.2. I think. Tests would be in order, but I haven't act

Re: Python::Bytecode

2004-07-12 Thread Dan Sugalski
On Mon, 12 Jul 2004, Gregor N. Purdy wrote: > Leo -- > > I had tinkered around with this stuff back in 2003, and ended up writing > Python::Bytecode::SAX to help me visualize bytecode. IIRC, I ran into > the same issue of only disassembling one code block. I've finished u

Re: Python::Bytecode

2004-07-12 Thread Gregor N. Purdy
Leo -- I had tinkered around with this stuff back in 2003, and ended up writing Python::Bytecode::SAX to help me visualize bytecode. IIRC, I ran into the same issue of only disassembling one code block. I'd be interested to know if P::B::S treats your example python bytecode any better than

Re: Next rev of Python::Bytecode

2004-07-12 Thread Matt Diephouse
After spending a couple of hours looking at Python::Bytecode and the Python source, I decided I didn't like the module. So I wrote my own. I decided Bytecode::Python would work nicely for the name, though it's a bit close to the namespace. I basically redesigned it, so it should be

Next rev of Python::Bytecode

2004-07-11 Thread Dan Sugalski
Still a bit lacking, 'specially in the documentation department, but I've got a version that sucks much less than it did, and is possibly even correct. (Go figure. Surprised me, too... :) Anyway, if you want to fiddle, http://www.sidhe.org/~dan/Python-Bytecode-2.2.tar.gz and have at

Re: Python::Bytecode

2004-07-10 Thread Matt Diephouse
to give this a shot. I don't know much about byetcode, but I'd love to save Dan from a pie in the face (from what I gather he's had a rough go of it lately). Maybe you could give me an example of some input and the correct output? Or some documentation? I've checked out parrot

Re: Python::Bytecode

2004-07-10 Thread Matt Diephouse
to give this a shot. I don't know much about byetcode, but I'd love to save Dan from a pie in the face (from what I gather he's had a rough go of it lately). Maybe you could give me an example of some input and the correct output? Or some documentation? I've checked out parrot

Python::Bytecode

2004-07-08 Thread Leopold Toetsch
... is on CPAN (said Dan) and is broken. I'd be glad if people could fix it and send me a running version ;) * constants are messed up * it doesn't disassemble all code objects of a .pbc - just one $ cd languages/python $ perl pie-thon.pl -dD some.py shows more (and AFAIK correct) Python disassem

Re: Python bytecode notes, part one

2004-07-06 Thread brian wheeler
On Mon, 2004-07-05 at 19:27, Dan Sugalski wrote: UNARY_NEGATIVE: restore $Px; new $Py, Undef; $Py = $Px * -1; save $Py | $Px = -1 * $Px Wouldn't something this do what is desired? I'm just guessing, though. Brian

Re: Python bytecode notes, part one

2004-07-05 Thread Leopold Toetsch
Dan Sugalski <[EMAIL PROTECTED]> wrote: > The translation for a number of the python ops depends on whether > we're going with runtime stack action or compile-time stack->register > translations. My experiments[1] show that the latter should be doable, the more because ... > BINARY_: >restor

Python bytecode notes, part one

2004-07-05 Thread Dan Sugalski
ided by a pipe. (I probably ought to format this as a table but, well, it's ASCII) For ops that take a parameter, the parameter name is in lower case. These are part of the op stream in the python bytecode. STOP_CODE: end POP_TOP: restore $Px | noop ROT_TWO: rotate_up 1 | noop ROT_THREE: rot

[perl #25854] Fix up Python::Bytecode

2004-02-02 Thread via RT
# New Ticket Created by Dan Sugalski # Please include the string: [perl #25854] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=25854 > Simon Cozen's got a Python::Bytecode module on CPAN which disassembles python

Python::Bytecode seems not functional

2002-09-04 Thread Dan Sugalski
Or at least I can't get it going. Fixing it's a project for the interested. (I'd ask Simon but, well, he doesn't do that stuff any more) -- Dan --"it's like this"--- Dan Sugalski