ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pypy-dev
pypy-dev
Re: [pypy-dev] [pypy-svn] r33249 - in pypy/dist/pypy/translator: cli jvm jvm/src oosupport
by Carl Friedrich Bolz other posts by this author
Oct 13 2006 4:03AM messages near this date
[pypy-dev] py.test distributed | Re: [pypy-dev] [pypy-svn] r33249 - in pypy/dist/pypy/translator: cli jvm jvm/src oosupport
Hi Niko

niko@[...].net wrote:
>  Author: niko
>  Date: Fri Oct 13 12:46:09 2006
>  New Revision: 33249
> 
>  Added:
>     pypy/dist/pypy/translator/jvm/
>     pypy/dist/pypy/translator/jvm/generator.py
>     pypy/dist/pypy/translator/jvm/genjvm.py
>     pypy/dist/pypy/translator/jvm/opcodes.py
>     pypy/dist/pypy/translator/jvm/src/
>     pypy/dist/pypy/translator/jvm/src/PyPy.java
>     pypy/dist/pypy/translator/jvm/types.py
>  Modified:
>     pypy/dist/pypy/translator/cli/function.py
>     pypy/dist/pypy/translator/cli/metavm.py
>     pypy/dist/pypy/translator/oosupport/metavm.py
>  Log:
>  first stabs at a jvm backend --- doesn't run or anything yet, but contains
>  at least a plausible implementation of the scalar operations
> 
>  also refactor a few things from cli into oosupport (mostly deleting
duplicates
>  like getfield and setfield) and add a few (possibly oververbose :)
comments.
>  changes to cli are very minor, but ran cli tests in any case and received
>  no regressions.

[snip]
I know that it is not much fun to do it this early in the life of a
backend, but please try to write some tests. I will probably be annoying
but you will get payoffs very quickly and thinking about how to test
something (ideally before you start coding) helps you understand the
upcoming tasks.

Can't really comment on the technical quality of your checkin since I
don't know any Java (nor much of the ootypesystem, for that matter :-).

"Untested code is not working"

Cheers,

Carl Friedrich
_______________________________________________
pypy-dev@[...].net
http://codespeak.net/mailman/listinfo/pypy-dev
Thread:
Carl Friedrich Bolz
Niko Matsakis

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved