guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Interested in working on a parser generator


From: Clinton Ebadi
Subject: Re: Interested in working on a parser generator
Date: Wed, 3 Sep 2003 19:52:49 -0400
User-agent: KMail/1.5.9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 02 September 2003 19:26, Lynn Winebarger wrote:
> John Stracke wrote:
> > The FSF's help-wanted page says that a parser generator that generates
> > Scheme would be a welcome utility, for creating Foo-->Scheme
> > translators.  I'd be interested in working on such a project; is anybody
> > working on one already?
>
>      I wrote the core of a scanner generator this weekend that I could
> donate.  It produces a DFA as a big letrec with tail-recursive functions
> for the states.
>      Plus it allows you to insert actions with arbitrary scheme code and
> gives you access to the fail and success continuations, even after
> conversion to a dfa (though it does mean the search is breadth-first
> instead
> of depth-first, so you would have to keep track of things with that
> in mind).
>      It doesn't have much in the way of error-handling, and contains
> some Chezisms (generic ports and record-case).  Also, it only handles
> pre-parsed regular expressions.
>      Still, I'm pretty stoked about it.  What do I need to do to submit it?

I think that you should publish the code somewhere so that everyone can take a 
look. The main Guile developers seem to all be really busy right now (rlb has 
a job, Marius is working on some grad school work, etc.) so it could be a 
while before anyone would get you the papers to assign copyright to the FSF.

Having the code available would also help others to make it work with Guile 
(e.g. put it into a module, say (parser dfa), and then rewrite the Chez 
specific code to use the Guile equivalents). I may be able to help with that 
(and am entirely willing to assign copyright to the FSF), but I don't know 
much about parsers or Chez.
- -- 
http://unknownlamer.org
AIM:unknownlamer IRC:address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/Vn7XdgGh8PQDV0sRAov7AKCNL0avC9N1PgkUAkpFWfK5jjTYHgCcC0re
rVLuNIdYvb+zF4hSmPjccCI=
=TQco
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]