scsh-hackers
[Top] [All Lists]

[Scsh-hackers] Redesigning process forms

To: scsh-hackers@lists.sourceforge.net, scsh-news@zurich.ai.mit.edu
Subject: [Scsh-hackers] Redesigning process forms
From: sperber@informatik.uni-tuebingen.de (Michael Sperber [Mr. Preprocessor])
Date: Fri Feb 1 08:01:29 2002
Cc: Olin Shivers <shivers@cc.gatech.edu>
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
Dear Fellow Hackers,

as some of you know, I've long been dissatisfied with scsh's shell
subsystem, mainly because I couldn't remember the quoting and
parenthesization rules.  I also could never understand the conceptual
distinction between process forms and extended process forms.

So, when I couldn't sleep from being jetlagged after the flight back
from POPL, I hacked something up.  It turned out to be surprisingly
simple as Olin had put a nice and clean infrastructure in place.  Here
are the two main thrusts of the change:

- Process forms and extended process forms are now merged.
  There are only process forms.  Their syntax remains exactly the same
  as before.  However, by virtue of this change, it has become
  slightly more liberal.  For example (run ls) is now valid, as is
  (run (ls)).

- Process forms have value-level cousins called process descriptors
  with exactly the same composition operators available for them as
  procedures.  There's a PROCESS-FORM macro which converts a process
  form into a process descriptor, and you can take things from there.

  This takes care of Tom Lord's criticism at
  http://mail.gnu.org/pipermail/guile-devel/2001-August/003291.html
  but doesn't follow the silliness proposed there.
 
This is not going into 0.6 which is in complete-and-fix-bugs mode.
I'll maintain it until 0.6 is reasonably complete at which time we can
start a serious development branch and commence to break things.  I've
decided to give SourceForge's patch tracker a whirl.  You can download
the patch from:

http://sourceforge.net/tracker/index.php?func=detail&aid=511746&group_id=10493&atid=310493

It also includes a patch to the documentation, so it's all there.  It
applies to the 0.6 currently in CVS.

I'd appreciate if you guys could give it a look.  Especially, of
course, as always ... Olin, you there?

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla


<Prev in Thread] Current Thread [Next in Thread>
  • [Scsh-hackers] Redesigning process forms, Michael Sperber [Mr. Preprocessor] <=