chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH][5] Fix ", q" in csi by not overriding ##sy


From: John Cowan
Subject: Re: [Chicken-hackers] [PATCH][5] Fix ", q" in csi by not overriding ##sys#quit-hook
Date: Sun, 9 Aug 2015 12:35:37 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Peter Bex scripsit:

> The attached patch gets rid of the override and lets ",q" simply be
> an alias for (quit), which I think it should always have been.  This
> also makes the code just a little bit simpler to reason about.

I think this dates back to the days when quit always terminated the whole
process rather than the current REPL.  However, there seems to be a bug:

$ csi -q
#;1> ,q


$ csi -q
#;1> (repl)
#;1> ,q

Error: unbound variable: unquote

        Call history:

        <syntax>          (unquote q)
        <eval>    (unquote q)   <--

In other words, the , syntax is not handled properly in subordinate REPLs.

-- 
John Cowan          http://www.ccil.org/~cowan        address@hidden
There is no real going back.  Though I may come to the Shire, it will
not seem the same; for I shall not be the same.  I am wounded with
knife, sting, and tooth, and a long burden.  Where shall I find rest?
                --Frodo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]