On 4/29/07, Charlie Groves <charlie.groves@gmail.com > wrote:
On 4/28/07, Leo User <leouser126@yahoo.com> wrote:
> I believe there are implementations of all language changes from 2.3 to 2.5
> on svn.  Yield as an expression is still in progress, really that's just a
> question of finding places where using it as an expression is going to cause
> problems.  For the most part classical byte code output is ok.  When its not
> ok is say when a new object is being constructed and you have a yield
> expression as one of the parameters.  Then something different has to
> happen.  Im planning on doing 2.6 features as soon as they are finalized by
> the python PEP for 2.6.  Maybe something like switch statements will show up
> once its put together.

This should be of interest to the summer of code crew working on
improving the compiler and getting to 2.5 language level support.
Since they're replacing the parser with ANTLR and CodeCompiler.java
with asm it won't be directly applicable, but at least the way the
newer language features hook into the runtime should be similar.

I am part of that crew, and can nothing but agree with Charlie, there are definitely some interesting features in JythonX. I checked out the source from svn about two weeks ago, and started looking at it. I haven't had that much time though, since I am still up to my ears in my courses for this semester.
In about a week from now I will be in San Francisco for JavaOne and it would be great to meet as many of you guys as possible there to discuss various ideas. If I remember correctly you were supposed to be there Leo, weren't you? I would very much like to meet you there to get input from your experience from JythonX.

> There are java translations of python c modules itertools, collections,
> _csv, _functoolsmoudle and _heapqmodule out there.  Im currently looking
> into making a modern _codecsmodule, and am sketching out the bz2 module.
> Each one of these seems to help out in implementing other pieces.  There
> wouldn't be a 2.5 heapq module out there if itertools wasn't in place.

We've already picked up a really nice version of itertools, but
acquiring the other modules you've already ported would be great.
What do you need to modernize in _codecs?  There were big changes from
2.2 to 2.3, but I brought those over ages ago on the 2.3 branch.

Where did you end up with your optimizations to Java method invocation?

Charlie

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jython-dev mailing list
Jython-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-dev