Re: Perl 6 Microgrants. Now accepting proposals.

2007-03-23 Thread Jonathan Scott Duff

On 3/22/07, Tim Bunce [EMAIL PROTECTED] wrote:


I'd like to suggest an idea for *someone else* to submit a proposal for:



Heh, hoping for someone with tuits to bite, eh?  :-)

As part of the work on DBI2 I want to create a Perl API that closely

matches the JDBC API.

I need a tool that can parse the java .h files that that define the JDBC
API,
e.g.,
http://gcc.gnu.org/viewcvs/trunk/libjava/java/sql/Statement.h?revision=120621view=markup
and generate roughly equivalent Perl 6 (roles etc).



I notice that this file (and all of the others I looked at) say at the  top:

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

So, perhaps it's not the .h files we should be parsing, but whatever source
files were used to generate them.  Though, of course, some C++-to-Perl6 tool
would be a good thing too.  :-)

-Scott
--
Jonathan Scott Duff
[EMAIL PROTECTED]


Re: Perl 6 Microgrants. Now accepting proposals.

2007-03-23 Thread Dongxu Ma

Hi all,

I am recently working on the QT4/KDE4 bindings for p5.
First cpp headers are parsed by a grammar based on Parse::RecDescent,
The production of latest dev release Parse-QTEDI-0.02_01 is quite stable,
presenting all related interface information of cpp .h.

I will continue to make it available in p5. And myself do have a plan to
introduce them in p6. It will be nice if someone can do so in parallel with
me (I mean, for p6). Since: 1. my knowledge on p6 sucks ;-) 2. currently
I haven't got enough time.

PS: It is very glad to see such information, really. In my opinion p6 indeed

needs trying to draw as many connections as possible with other
outstanding tool/project outside perl world. KDE is such a place too.

PS2: my project page:
   http://code.google.com/p/dongxu/wiki/QTEDI
   http://code.google.com/p/dongxu/wiki/PerlQT

-- Forwarded message --
From: Jesse Vincent [EMAIL PROTECTED]
Date: Mar 22, 2007 11:04 AM
Subject: Perl 6 Microgrants. Now accepting proposals.
To: perl6-internals@perl.org, perl6-language@perl.org,
perl6-compiler@perl.org, perl5-porters@perl.org

I'm pleased to announce the inaugural Perl 6 Microgrants program.
Best Practical Solutions (my company) has donated USD5,000 to The
Perl Foundation to help support Perl 6 Development.  Leon Brocard,
representing The Perl Foundation's grants committee, will work with
me to select proposals and evaluate project success.  We'll be making
USD500 grants to worthy Perl 6 related efforts. We're hoping to fund
a range of Perl 6-related projects over the life of the grant
program.  Accepted grants might be for coding, documentation, testing
or even writing articles about Perl 6. The program isn't tied to any
one implementation of Perl 6 -- We're interested in seeing proposals
related to Pugs, Perl 6 on Parrot, Perl 6 on Perl 5 or any other Perl
6 implementation.  Generally, we're interested in seeing projects
that can be completed in 4-6 calendar weeks.

Submitting a grant proposal
---

To submit a grant proposal, please email us at perl6-
[EMAIL PROTECTED] with the following information:

* A two to three paragraph summary of the work you intend to do
* A quick bio - Who are you? Is there opensource work you've done
that we should have a look at?
* A brief description of what success will mean for your project -
How will we know you're done?
* Where (if anywhere) you've discussed your project in the past
* Where you'll be blogging about your progress. (Twice-weekly blog
posts are a requirement for getting your grant money)

We'll be accepting proposals on a rolling schedule. We expect to pay
out these first 10 grants over the course of the summer. Depending on
how things go, we'll then either find more money for more grant
programs or we'll wind up the program and move on to other endeavors.

We're really excited to get rolling. Submit your proposals early and
often. Don't let somebody else beat you to the punch ;)

Best,

Jesse



--
Cheers, Dongxu
__END__
http://search.cpan.org/~dongxu


PGP.sig
Description: PGP signature


Re: Perl 6 Microgrants. Now accepting proposals.

2007-03-23 Thread Bjoern Hoehrmann
* Tim Bunce wrote in perl.perl6.internals:
Here's a related idea: write a tool that reads BNF grammar, such as
http://java.sun.com/docs/books/jls/third_edition/html/syntax.html
http://java.sun.com/docs/books/jls/third_edition/html/grammars.html
and writes a parser in Perl 6 for that grammar.

I would be very interested in (using) a tool that reads many types of
formal grammars and makes it easy to transform them to other formalisms.
I am currently finishing up a free software library that decides any
context-free language and the intersection and complement of languages
it decides, focused on validation against web standards (is this string
a syntactically correct 'mailto' URL, HTTP header value, JSON document,
HTML attribute value, etc.)

For it to be useful, the grammars for the various specifications need
to be in a format my library understands; unfortunately there are very
many BNF variants in use (the IETF generally uses its ABNF, the W3C
tends to use the EBNF format defined in the XML specification, ...) and
my library accepts only its own formalism (an XML format based on RELAX
NG, a schema language for XML document validation).

Tools that can read these BNF variants into a common object model, or
otherwise make it easy to convert one formalism into another would be
the main missing link to put my library into practical use in tools
like http://validator.w3.org/. So work on the first half of the
problem above would be very welcome.

My plan is in principle to make my formalism sufficiently powerful so
that all these BNF variants can be mapped 1:1 to it; then get people to
extract and convert the grammars in the various specifications, and put
them in some repository. From there on, using them for other formalisms
like Perl 6 Rules would start with simple tree transformations rather
than writing another parser (or at least comperatively simple, if you
are bad at writing parsers like I am).
-- 
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 


Re: Perl 6 Microgrants. Now accepting proposals.

2007-03-23 Thread Abigail
On Thu, Mar 22, 2007 at 09:53:39PM -0400, Nathan Gray wrote:
 On Thu, Mar 22, 2007 at 01:24:58PM +, Tim Bunce wrote:
  Here's a related idea: write a tool that reads BNF grammar, such as
  http://java.sun.com/docs/books/jls/third_edition/html/syntax.html
  http://java.sun.com/docs/books/jls/third_edition/html/grammars.html
  and writes a parser in Perl 6 for that grammar.
 
 Writing a Perl 6 grammar to parse BNF should not be too hard.

Writing a 5.10 regular expression to parse BNF shouldn't be too hard either.


Abigail


pgpqbYiA1sjD0.pgp
Description: PGP signature