unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
To: Luis Araujo <araujo@gnu.org>
Cc: guile-devel@gnu.org, "Kjetil S. Matheussen" <k.s.matheussen@notam02.no>
Subject: Re: Guile Summer of Code project
Date: Tue, 25 Mar 2008 21:45:05 +0000	[thread overview]
Message-ID: <87bq52wk9q.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <Pine.LNX.4.64.0803251847271.8983@ttleush> (Kjetil S. Matheussen's message of "Tue, 25 Mar 2008 18:47:48 +0100 (CET)")

"Kjetil S. Matheussen" <k.s.matheussen@notam02.no> writes:

> On Tue, 25 Mar 2008, Kjetil S. Matheussen wrote:
>
>>
>> Neil Jerram:
>>>
>>>  Luis Araujo <araujo@gnu.org> writes:
>>>
>>> >  Hello everyone , how are you?
>>>
>>>  Hi Luis!
>>>
>>>  Thanks for posting this proposal.  I haven't read every detail yet,
>>>  but have one initial query, and would be interested in your thoughts.
>>>
>>>  It seems like it would be a big job to write a C parser in Guile, and
>>>  it also seems that the really interesting results would flow from what
>>>  one could do with the parser output - but that the existence of the
>>>  parser on its own would not be that exciting.
>>>
>>>  Therefore I'm wondering if there isn't already a C parser -
>>>  implemented in some other language - that you could use to work first
>>>  on the interesting possible applications of having a C parser.
>>>
>>>  This is all assuming, of course, that there is a C parser available
>>>  somewhere that would generate the right kind of output, and I haven't
>>>  actually researched that.  But it seems to me that the advantages of
>>>  doing things this way round would be that
>>>
>>>  - it would bring concrete advantages to Guile more quickly
>>>
>>>  - the process of working on applications would probably make clear
>>>   whether a Guile-implemented C parser would provide extra benefits,
>>>   and would probably indicate what kind of parser interface and/or
>>>   output would be most useful and convenient.
>>>
>>>  What do you think?
>>>
>>
>> For me it sounds like you would achieve exactly the same just
>> by combining the output of either swig[1] or gwrap[2] and
>> feed it into eval-c[3-4]. Perhaps 5-6 hours of work, probably
>> less...
>>
>> [1] http://www.swig.org
>> [2] http://www.nongnu.org/g-wrap/
>> [3] http://snd.cvs.sourceforge.net/*checkout*/snd/cvs-snd/eval-c.scm
>> [4] http://www.notam02.no/~kjetism/sndrt_lac2008.pdf
>>
>>
>
> Also see this mail from december:
>
> http://www.mail-archive.com/guile-devel@gnu.org/msg02034.html

In general terms, this - i.e. duplicating what can already be done -
is my concern too.  From a very quick googling session today, I also
came across sparse (http://www.kernel.org/pub/software/devel/sparse/),
and I wonder whether you/we could get more mileage from using (and
contributing to) that, instead of from creating a new implementation.

Luis, have you considered using and building upon these existing
technologies?  If you have, can you say more to justify your
particular proposed approach?  I think that will help to attract
support from GNU project members who will vote on the available
applications.

Regards,
        Neil





  reply	other threads:[~2008-03-25 21:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <cmu-lmtpd-31700-1206464752-1@mail-imap1.uio.no>
2008-03-25 17:19 ` Guile Summer of Code project Kjetil S. Matheussen
2008-03-25 17:47   ` Kjetil S. Matheussen
2008-03-25 21:45     ` Neil Jerram [this message]
     [not found] <cmu-lmtpd-30052-1206637626-0@mail-imap1.uio.no>
2008-03-27 17:36 ` Kjetil S. Matheussen
2008-03-27 17:57   ` Kjetil S. Matheussen
2008-03-20 10:12 Luis Araujo
2008-03-24 23:40 ` Neil Jerram
2008-03-26 20:52 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bq52wk9q.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=araujo@gnu.org \
    --cc=guile-devel@gnu.org \
    --cc=k.s.matheussen@notam02.no \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).