From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Israelsson Tampe Newsgroups: gmane.lisp.guile.devel Subject: Re: piper schemigan Date: Fri, 26 Nov 2010 23:18:40 +0100 Message-ID: <201011262318.40943.stefan.itampe@gmail.com> References: <201010212223.23822.stefan.itampe@gmail.com> <201011241900.50947.stefan.itampe@gmail.com> <87lj4hxfuv.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290809889 23129 80.91.229.12 (26 Nov 2010 22:18:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Nov 2010 22:18:09 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Nov 26 23:18:05 2010 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PM6cG-0005yI-UD for guile-devel@m.gmane.org; Fri, 26 Nov 2010 23:18:05 +0100 Original-Received: from localhost ([127.0.0.1]:37983 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PM6cG-0002ea-9J for guile-devel@m.gmane.org; Fri, 26 Nov 2010 17:18:04 -0500 Original-Received: from [140.186.70.92] (port=44808 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PM6cA-0002eR-46 for guile-devel@gnu.org; Fri, 26 Nov 2010 17:17:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PM6c9-00036x-0L for guile-devel@gnu.org; Fri, 26 Nov 2010 17:17:58 -0500 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:50005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PM6c8-00036L-R3 for guile-devel@gnu.org; Fri, 26 Nov 2010 17:17:56 -0500 Original-Received: by ewy27 with SMTP id 27so14023489ewy.0 for ; Fri, 26 Nov 2010 14:17:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=Re3Oe+g/16MV9dBeQPShowl9D5vbeeibQIFUvYsfdYw=; b=DWffRQA7xu2RTCP7LEgGhGfqNLzmcXQb6L9KtyyQqHU5d6fiF5E6Rq3bA6c0035xhM 2QKK1grhxdgj9yV9OmZ8+WFZc7V6rX7kM/oBwI20tddknoKW7bmZWuaN5Zujq3E3VEtE SjFsw5x4m//zJ6d9FYLxLdb08uwYFtSwmQZxY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=JqSeS7y0gKYLo3Yb0xdA2Cki7vIVoE5bKUQ7PhX1ooA68BXbrtIMoqbjRjOXMmgJt2 2/LW9s0VSoxpdJLl5V0m82z2qCqLMmI9cHczCCOm3g5yTEPgCQFcTJrlq4XmEyrU607h Y+SAV5JzLwVOdUk3k/zdEzsHSAeOTLTh2qigQ= Original-Received: by 10.14.119.197 with SMTP id n45mr2440714eeh.28.1290809875421; Fri, 26 Nov 2010 14:17:55 -0800 (PST) Original-Received: from linux-s4gz.localnet (1-1-1-39a.veo.vs.bostream.se [82.182.254.46]) by mx.google.com with ESMTPS id v56sm2164106eeh.14.2010.11.26.14.17.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 26 Nov 2010 14:17:54 -0800 (PST) User-Agent: KMail/1.13.5 (Linux/2.6.34.7-0.5-desktop; KDE/4.4.4; x86_64; ; ) In-Reply-To: <87lj4hxfuv.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:11207 Archived-At: On Thursday, November 25, 2010 10:17:44 pm Ludovic Court=C3=A8s wrote: > +1 for reviving Guile-SCSH! >=20 > Ludo=E2=80=99. yay, Well all this stems from me littering development code with printf or pk's or pretty-pk's and then add tags to it. Then I usually work in bash and mongle the output at my will. So now I have this is guile and are so pleased that I can do (use-modules (scsh syntax)) and then write (run (| (begin (the-schem-fun)) '(grep abc) '(tee debug.log))) Oh well, actually, I would probably make a macro and/or mod the reader and add the autoquoting as in the original scsh, to be able to do (the-schem-fun) | (grep abc) (tee debug.log) So from my personal view I'm sort of very close to the goal. But all of scsh have not been imported (yet) the reason is that I want to g= et=20 a core that is stable. you can easilly with a little misstake make guile an= d=20 actually the whole shell session go down. So, the core has to be worked on = for=20 some time. I've just made it work I do not understand the codebase and tests has to be made. I do not, personally, like the idea to incorporate all of s= csh in one go. I would divede the package into a base where the basic functionality is in and that sit's closer to the guile core. Then as time g= oes we can add the SRE regexps, and so on. to another package, further away.=20 Maybe I need to put in some more packages I don't now, but my sense tells m= e=20 that it it wise to startup small and solid in stead of fat and ugly :-). Anyhow, I just checked in the current scsh in module/scsh in=20 http://gitorious.org/guile-unify if there is a package you would like thean give me a hint. A note, you need to quote a lot of things explicitly and there are bugs and debug outputs - e.g. a bit premature, but I would like you to have a possibility to express ideas, ok if none, great if some. Actually I noticed that the codebase seem to be needing to include all packages into the namespace before e.g. using defmacro's and then need to=20 have the symbols generated by the macro in the namespace. As small as it sounds, the imporvemnet on this is soo great, I can now just ask for the=20 run macro from the (scsh syntax) package and it should work. This is far better then all of scsh working in my book. Your milage may vary, keep up the good work and a happy weekend to you. /stefan