Second Perl 6 Microgrant - Phil Crow on Java to Perl 6 declaration converter
We're pleased to announce that we've selected Phil Crow as the recipient of the second Perl 6 microgrant. Phil is the hacker behind the Java::Swing module which allows Perl programmers to put a Java Swing GUI on their application without writing any Java and he'll be using this knowledge to convert Java declarations to Perl 6. You can find details of the project he's planning in the text of his grant application: Tim Bunce has suggested that it would be nice to have a general purpose declaration translator from Java to Perl. In particular, he is interested in leveraging this tool to create a JDBC API for Perl 6 from the Java JDBC classes and interfaces. The result would then provide a strong foundation for the Perl 6 DBI. I propose to write that translator. It would have two pieces: * One would use the Java deparser (part of its standard development kit) to turn Java classes or interfaces into an internal structure * The other half would turn that structure into valid Perl 6. Note that it would only translate class, interface, and method declarations, not code. Success for this project will be a working translator that generates method declarations in Perl 6 from compiled Java .class files. While all cases might not be covered, at least the final product should not die when faced with the unexpected. The generated files will be tested using the then current version of Pugs. This project is new and has only recently been discussed in response to the call for proposals. I'm sure I will have questions to direct to various Perl 6 mailing lists as the project progresses. Phil will be blogging about his grant progress at: http://use.perl.org/~philcrow/journal/ This microgrant is supported by additional sponsorship from Tim Bunce / DBI. Please join us in wishing him the best of luck with his project. We're really looking forward to seeing the results of this work.If you're interested in submitting a Perl 6 microgrant proposal, you can find details here: http://www.nntp.perl.org/group/perl.perl5.porters/2007/03/msg122448.html Best, Leon and Jesse
Re: [svn:perl6-synopsis] r14359 - doc/trunk/design/syn
[EMAIL PROTECTED] wrote: +Arrays may also be defined with a mixture of fixed and autoextending +dimensions: + +my @calendar[12;*;24]; # "Month" dimension unlimited + + Move this out of the section on fixed-length arrays and into the section on multidimensional arrays; it fits most naturally as the second paragraph of the latter section. -- Jonathan "Dataweaver" Lang
[svn:perl6-synopsis] r14369 - doc/trunk/design/syn
Author: larry Date: Wed Apr 4 17:43:14 2007 New Revision: 14369 Modified: doc/trunk/design/syn/S09.pod Log: Reorganization suggested by Jonathan Lang++ Modified: doc/trunk/design/syn/S09.pod == --- doc/trunk/design/syn/S09.pod(original) +++ doc/trunk/design/syn/S09.podWed Apr 4 17:43:14 2007 @@ -12,9 +12,9 @@ Maintainer: Larry Wall <[EMAIL PROTECTED]> Date: 13 Sep 2004 - Last Modified: 28 Mar 2007 + Last Modified: 4 Apr 2007 Number: 9 - Version: 19 + Version: 20 =head1 Overview @@ -221,13 +221,6 @@ my @library[1_000_000 --> Book]; -Arrays may also be defined with a mixture of fixed and autoextending -dimensions (see below). For example, there are always 12 months in -a year and 24 hours in a day, but the number of days in the month -can vary: - -my @calendar[12;*;24]; # day-of-month dimension unlimited/ragged - =head1 Compact arrays @@ -302,6 +295,12 @@ my @calendar[12;31;24]; # Valid indices are 0..11 ; 0..30 ; 0..23 +Arrays may also be defined with a mixture of fixed and autoextending +dimensions. For example, there are always 12 months in a year and +24 hours in a day, but the number of days in the month can vary: + +my @calendar[12;*;24]; # day-of-month dimension unlimited/ragged + You can pass a multislice for the shape as well: @@shape = (4;2);