From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Clinton Ebadi Newsgroups: gmane.lisp.guile.devel Subject: Re: Interested in working on a parser generator Date: Wed, 3 Sep 2003 19:52:49 -0400 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <200309031952.57639.clinton@unknownlamer.org> References: <1061856136.2964.5532.camel@barrayar.local.thibault.org> <3F552736.6030707@free-expression.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1062689530 1296 80.91.224.253 (4 Sep 2003 15:32:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Sep 2003 15:32:10 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Thu Sep 04 17:32:08 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19uw5g-0005hD-00 for ; Thu, 04 Sep 2003 17:32:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 19uvxY-0004rd-Ng for guile-devel@m.gmane.org; Thu, 04 Sep 2003 11:23:44 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 19uhRf-0005dm-6C for guile-devel@gnu.org; Wed, 03 Sep 2003 19:53:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 19uhR5-0005EP-NQ for guile-devel@gnu.org; Wed, 03 Sep 2003 19:53:17 -0400 Original-Received: from [206.46.170.210] (helo=pop017.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.22) id 19uhQx-00058t-1C for guile-devel@gnu.org; Wed, 03 Sep 2003 19:53:07 -0400 Original-Received: from vsynth ([151.196.175.146]) by pop017.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030903235303.EXBI27671.pop017.verizon.net@vsynth>; Wed, 3 Sep 2003 18:53:03 -0500 Original-Received: from clinton by vsynth with local (Exim 3.36 #1 (Debian)) id 19uhQo-0004nJ-00; Wed, 03 Sep 2003 19:52:58 -0400 Original-To: Lynn Winebarger , guile-devel@gnu.org User-Agent: KMail/1.5.9 In-Reply-To: <3F552736.6030707@free-expression.org> Content-Disposition: inline X-Authentication-Info: Submitted using SMTP AUTH at pop017.verizon.net from [151.196.175.146] at Wed, 3 Sep 2003 18:53:03 -0500 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2750 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2750 =2D----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 i= t? I think that you should publish the code somewhere so that everyone can tak= e a=20 look. The main Guile developers seem to all be really busy right now (rlb h= as=20 a job, Marius is working on some grad school work, etc.) so it could be a=20 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= =20 (e.g. put it into a module, say (parser dfa), and then rewrite the Chez=20 specific code to use the Guile equivalents). I may be able to help with tha= t=20 (and am entirely willing to assign copyright to the FSF), but I don't know= =20 much about parsers or Chez. =2D --=20 http://unknownlamer.org AIM:unknownlamer IRC:unknown_lamer@freenode#hprog =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Vn7XdgGh8PQDV0sRAov7AKCNL0avC9N1PgkUAkpFWfK5jjTYHgCcC0re rVLuNIdYvb+zF4hSmPjccCI=3D =3DTQco =2D----END PGP SIGNATURE----- _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel