On Wed, Jul 15, 2009 at 03:46:08PM +0100, Sentra Systems wrote:
> Tim
>
> They fixed a bug in rakudo last night that means a lot more of the  pm's 
> build, still investigating the rest. There a number of additional classes 
> being discovered by javap (above the list you supplied).

Yes, that list was just the top level classes. There's lots of extras
that get referenced by those classes.

> Do you want these to be typecast to 'Any'?

In the short term, yes. In the longer term we'll need to be more
flexible. I envisage a 'type map' file that, for each Java type,
specifies the corresponding Perl6 type (either builtin or in a module).
Any types not in the file would generate a warning and map to Any.

Feel free to add that in! I'd guess it would be straight-forward.

> Rakudo currently doesn't support 'Array of' - so the returns parameters are 
> now returning 'Array' without a type, I've included the type info in a 
> comment at the end of line. Method parameters just get the appropriate 
> sigil now.
>
> Typecasting was causing several multi methods to end up with the same 
> signature, I've amended the generator to remove the duplicates.

Great.

> I added them to a copy of the list and it starts bring in stuff like the 
> Java print system classes etc. when run against java2perl.

Not quite sure what you mean there Dave.

> Do you want  a snapshot of what I've done so far, or would you rather wait 
> until it's more complete?

Commit early, commit often :)

> What sort of Google account do I need to commit?

Go to google.com. Click 'Sign in' in the top righthand corner.
Click 'Create an account now'. Enter your email address etc.
Send me the email address when you're done.

Or, if you already have a google account, just send me one of the email
addresses associated with the account.

Thanks!

Tim.

Reply via email to