From: Neil Baylis
Subject: Have I reached critical mass?
Date: 
Message-ID: <187b2013-0cce-4853-89d0-5f17b6064eab@e67g2000hsa.googlegroups.com>
Twice today, I found myself typing:

(ls -al)

at the bash prompt.

sigh,

Neil

From: Pascal Bourguignon
Subject: Re: Have I reached critical mass?
Date: 
Message-ID: <87hcemmpow.fsf@thalassa.informatimago.com>
Neil Baylis <···········@gmail.com> writes:

> Twice today, I found myself typing:
>
> (ls -al)
>
> at the bash prompt.

No problem. You're ready to use clash, or just plain common lisp repl
as your shell.

http://clisp.cons.org/clash.html

Also,  have a look at:
http://darcs.informatimago.com/darcs/public/lisp/common-lisp/browser.lisp


C/USER[153]> (ls "-l")
-       1108 03-27 22:44 ./ex-6.1.lisp
-        875 03-27 22:34 ./ex-6.1.lisp.~1~
-        554 03-27 23:15 ./ex-7.1.lisp
-        160 03-27 23:00 ./ex-7.1.lisp.~1~
-        331 03-27 23:20 ./ex-7.2.lisp
-        328 03-27 23:15 ./ex-7.2.lisp.~1~
-        562 03-28 00:20 ./ex-7.3.lisp
-        719 03-27 22:32 ./fig-6.1.lisp
-        412 03-27 22:24 ./fig-6.1.lisp.~1~
-       1996 03-31 00:23 ./for.lisp
-        879 03-31 00:07 ./for.lisp.~1~
-       3230 03-31 00:31 ./unifier.lisp
-       1989 03-31 00:01 ./unifier.lisp.~1~

C/USER[154]> 


With some time, we could also implement in common lisp the facilities
of scsh (scheme shell).

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

"Logiciels libres : nourris au code source sans farine animale."
From: Rob Warnock
Subject: Re: Have I reached critical mass?
Date: 
Message-ID: <k9-dnWTqPLv0uG_anZ2dnUVZ_gidnZ2d@speakeasy.net>
Pascal Bourguignon  <···@informatimago.com> wrote:
+---------------
| With some time, we could also implement in common lisp the facilities
| of scsh (scheme shell).
+---------------

Yes, well, *almost*... See my several postings on why limitations
in CL's backquote makes it impossible[1] to *exactly* copy Scsh's
syntax, athough one can come quite close.[2]


-Rob

[1] Unless one replaces the default CL backquote readmacro, that is.

[2] That is, instead of the following, which is legal Scsh
    ["run" is a macro which performs "implicit quasiquoting"]:

       (run (ls ,@flags ,dir))

    to make it legal CL one might have to type this:

       (run `(ls ,@flags ,dir))

-----
Rob Warnock			<····@rpw3.org>
627 26th Avenue			<URL:http://rpw3.org/>
San Mateo, CA 94403		(650)572-2607
From: Pascal J. Bourguignon
Subject: Re: Have I reached critical mass?
Date: 
Message-ID: <7c1w5pr8sx.fsf@pbourguignon.anevia.com>
····@rpw3.org (Rob Warnock) writes:

> Pascal Bourguignon  <···@informatimago.com> wrote:
> +---------------
> | With some time, we could also implement in common lisp the facilities
> | of scsh (scheme shell).
> +---------------
>
> Yes, well, *almost*... See my several postings on why limitations
> in CL's backquote makes it impossible[1] to *exactly* copy Scsh's
> syntax, athough one can come quite close.[2]
>
>
> -Rob
>
> [1] Unless one replaces the default CL backquote readmacro, that is.
>
> [2] That is, instead of the following, which is legal Scsh
>     ["run" is a macro which performs "implicit quasiquoting"]:
>
>        (run (ls ,@flags ,dir))
>
>     to make it legal CL one might have to type this:
>
>        (run `(ls ,@flags ,dir))


Well, yes, for interactive use, at the REPL, I wouldn't mind a special readtable.
There are already some special syntaxes, for example for debugger/toplevel commands.

-- 
__Pascal Bourguignon__
From: John
Subject: Re: Have I reached critical mass?
Date: 
Message-ID: <ab5245ae-fcc7-4fef-956c-7a007104a25e@b5g2000pri.googlegroups.com>
On Mar 31, 4:10 pm, Neil Baylis <···········@gmail.com> wrote:
> Twice today, I found myself typing:
>
> (ls -al)
>
> at the bash prompt.
>
> sigh,
>
> Neil

My job is programming in C. There have been several times now where I
start typing a line of code and then get a kinda lost feeling about
the parentheses... and I start trying to do stuff like this:
(printf "PID is %d\n", (getpid));
As you can see, it's a kind of unholy union between C (note the
semicolon and comma) and Lisp. When I type this, I realize it's time
to take a break :)

John
From: Mikael Jansson
Subject: Re: Have I reached critical mass?
Date: 
Message-ID: <53248e2c-e854-4cc2-980c-49519ae33988@q27g2000prf.googlegroups.com>
On Apr 1, 5:53 pm, John <··········@gmail.com> wrote:
> On Mar 31, 4:10 pm, Neil Baylis <···········@gmail.com> wrote:
>
> > Twice today, I found myself typing:
>
> > (ls -al)
>
> > at the bash prompt.
>
> > sigh,
>
> > Neil
>
> My job is programming in C. There have been several times now where I
> start typing a line of code and then get a kinda lost feeling about
> the parentheses... and I start trying to do stuff like this:
> (printf "PID is %d\n", (getpid));
> As you can see, it's a kind of unholy union between C (note the
> semicolon and comma) and Lisp. When I type this, I realize it's time
> to take a break :)
>
Not to forget all those times one forgets the trailing semicolons
(after too much time hacking bash scripts or Python apps) when back in
real life(tm) at work w/ C++. *sigh*

--
Mikael Jansson
http://mikael.jansson.be/
From: ·············@gmail.com
Subject: Re: Have I reached critical mass?
Date: 
Message-ID: <e0e558ae-5b9a-4558-bfe4-6f2b0532f77e@f63g2000hsf.googlegroups.com>
On Mar 31, 7:10 pm, Neil Baylis <···········@gmail.com> wrote:
> Twice today, I found myself typing:
>
> (ls -al)
>
> at the bash prompt.
>
> sigh,
>
> Neil

I think I top you:

This morning I woke up dreaming a little snippet in lisp (using loop
to implement the Goertzel algorithm to calculate the Fourier component
at one particular frequency)  I can think of so many much more fun
dreams :-(

Mirko