From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bruce Korb Newsgroups: gmane.lisp.guile.devel Subject: Re: I don't want to maintain this Date: Wed, 30 Nov 2005 06:00:54 -0800 Organization: At Home Message-ID: <200511300600.54799.bruce.korb@gmail.com> References: <200511272025.32395.bruce.korb@gmail.com> <200511300430.08897.bruce.korb@gmail.com> <8764qa6yft.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1133371222 2107 80.91.229.2 (30 Nov 2005 17:20:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2005 17:20:22 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Nov 30 18:20:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EhV4g-0004uM-UP for guile-devel@m.gmane.org; Wed, 30 Nov 2005 17:44:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhV4g-0005gX-22 for guile-devel@m.gmane.org; Wed, 30 Nov 2005 11:44:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EhSjG-0000oT-K7 for guile-devel@gnu.org; Wed, 30 Nov 2005 09:14:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EhSjE-0000mi-1s for guile-devel@gnu.org; Wed, 30 Nov 2005 09:14:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EhSW6-0006DH-FZ for guile-devel@gnu.org; Wed, 30 Nov 2005 09:01:04 -0500 Original-Received: from [207.115.57.60] (helo=ylpvm29.prodigy.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EhSW6-0002PL-0r for guile-devel@gnu.org; Wed, 30 Nov 2005 09:01:02 -0500 Original-Received: from pimout4-ext.prodigy.net (pimout4-int.prodigy.net [207.115.4.203]) by ylpvm29.prodigy.net (8.12.10 outbound/8.12.10) with ESMTP id jAUE1Dto005386 for ; Wed, 30 Nov 2005 09:01:13 -0500 X-ORBL: [69.226.209.231] Original-Received: from [192.168.1.4] (adsl-69-226-209-231.dsl.pltn13.pacbell.net [69.226.209.231]) by pimout4-ext.prodigy.net (8.13.4 outbound domainkey aix/8.13.4) with ESMTP id jAUE0rcb141224; Wed, 30 Nov 2005 09:01:00 -0500 Original-To: Ludovic =?iso-8859-1?q?Court=E8s?= User-Agent: KMail/1.7.1 In-Reply-To: <8764qa6yft.fsf@laas.fr> Content-Disposition: inline X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5429 Archived-At: On Wednesday 30 November 2005 05:46 am, Ludovic Court=E8s wrote: > Bruce Korb writes: >=20 > > Well, okay, I don't find the stuff obvious. With effort, I'm sure > > I could puzzle it out. I have never found Lisp to be inherently > > "obvious". >=20 > Oh, but things are different here: this is Scheme! ;-) Oh. That's right! It is _so_ different. ;) > Just out of curiosity: why are you writing Scheme if you don't like it? I needed an extension language for my templates. The Scheme/Guile/Lisp code is embedded in my template and when my interpreter stumbles into it, it collects the text and says, "here! You deal with this". (i.e. it calls some variation on scm_c_eval_string()). > While you're at reading Scheme code from a file, why not use Scheme > construct (be it from Scheme of C code) whose purpose are exactly that? > Consider the following excerpt: >=20 > (with-input-from-file "chbouib.scm" > read) Because the file is mostly *NOT* scheme. There is just some embedded scheme phrases. I mmap the text (private and read/write) and parse its components. The Scheme pieces get passed to Guile. I know the file name and line number where these pieces come from. I want Guile error messages to reflect the file/line where these things live. :) Thanks again - Bruce _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel