[slime-devel] broken clojure REPL

Stefan Kamphausen skampi at gmx.net
Fri Nov 20 19:16:04 UTC 2009


Hi,

just to not disappoint anyone.  It'll take some time (probably some days) before I can look at this again.

Cheers,
Stefan

-------- Original-Nachricht --------
> Datum: Fri, 20 Nov 2009 15:21:26 +0100
> Von: "Tobias C. Rittweiler" <tcr at freebits.de>
> An: slime-devel at common-lisp.net
> Betreff: Re: [slime-devel] broken clojure REPL

> "Stefan Kamphausen" <skampi at gmx.net> writes:
> 
> > Hi,
> >
> >
> >> You didn't answer the important question:
> >
> > that's because I'm not sure.
> >
> > > > > Clojure seems to conflate how symbols are named, and how they're
> > > > > read in. Is there no way to escape symbol names?
> >
> > I'm not sure what exactly you mean in the first place.  Are you
> > referring to CL's "|" around names?  Please give me an explanation.
> 
> Is there an INTERN function? Does it accept arbitrary strings?
> 
> 
> > >  I can change %cursor-marker% to have a symbol name that's nicer for
> > > clojure to cope with. But it would be an interim solution, only. I
> > > really want to see this fixed in Clojure.
> > > 
> > > At the moment, the Clojure backend does not correctly implement
> > > parsing the protocol.
> >
> > Currently to me it looks like we can't get past the reader and then
> > it's hard to implement some parsing.
> >
> > But again, I think I misunderstand what you are patiently trying to
> > explain to me.
> >
> > FWIW, here's a very short doc taken from http://clojure.org/reader
> >
> > "Symbols begin with a non-numeric character and can contain
> > alphanumeric characters and *, +, !, -, _, and ? (other characters
> > will be allowed eventually, but not all macro characters have been
> > determined).  [...]  A symbol can contain one or more non-repeating
> > :'s"
> 
> The clojure backend should parse the input itself, and pass the symbol
> name over to INTERN.
> 
>   -T.
> 
> 
> _______________________________________________
> slime-devel site list
> slime-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/slime-devel

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser




More information about the slime-devel mailing list