attila_lendvai has quit [Ping timeout: 252 seconds]
aeth has quit [Quit: Reconnecting]
aeth_ has joined #commonlisp
aeth_ is now known as aeht
aeht is now known as aeth
edgar-rft` has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
edgar-rft_ has quit [Ping timeout: 260 seconds]
amb007 has joined #commonlisp
rkazak has joined #commonlisp
amb007 has quit [Ping timeout: 276 seconds]
rkazak has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
kevingal has quit [Ping timeout: 252 seconds]
spdegabrielle has quit [Quit: Connection closed for inactivity]
rkazak has quit [Ping timeout: 248 seconds]
zenmov has joined #commonlisp
random-nick has quit [Ping timeout: 252 seconds]
shawnw has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
rkazak has joined #commonlisp
shawnw has quit [Ping timeout: 260 seconds]
shawnw has joined #commonlisp
akoana has joined #commonlisp
Gleefre has quit [Ping timeout: 256 seconds]
rkazak has quit [Ping timeout: 248 seconds]
chum-cha has joined #commonlisp
akoana has quit [Quit: leaving]
chum-cha has quit [Changing host]
chum-cha has joined #commonlisp
chum-cha` has joined #commonlisp
chum-cha has quit [Remote host closed the connection]
chum-cha` has quit [Remote host closed the connection]
chum-cha has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 245 seconds]
mala has joined #commonlisp
troojg has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
chum-cha has quit [Ping timeout: 252 seconds]
rkazak has quit [Ping timeout: 252 seconds]
<beach>
NotThatRPG: The plan is to use Second Climacs for stuff like that. It already uses Eclector to read the buffer contents. And then we plan to include the first pass of a compiler so that we can determine the role of each symbol.
amb007 has joined #commonlisp
mwnaylor has quit [Ping timeout: 276 seconds]
jonatack has quit [Ping timeout: 252 seconds]
amb007 has quit [Ping timeout: 272 seconds]
jonatack has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
jonatack has quit [Ping timeout: 245 seconds]
jonatack has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
rkazak has quit [Ping timeout: 265 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
Catie` is now known as Catie
Catie has quit [Changing host]
Catie has joined #commonlisp
rkazak has joined #commonlisp
treflip has joined #commonlisp
JuanDaugherty has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
rkazak has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
zwr has quit [Ping timeout: 264 seconds]
rkazak has quit [Ping timeout: 246 seconds]
Demosthe1ex has joined #commonlisp
Demosthenex has quit [Ping timeout: 248 seconds]
mala has quit [Read error: Connection reset by peer]
mala has joined #commonlisp
AetherWind has joined #commonlisp
zwr has joined #commonlisp
Demosthenex has joined #commonlisp
shka has joined #commonlisp
jonatack has joined #commonlisp
Demosthe1ex has quit [Ping timeout: 260 seconds]
mishoo has joined #commonlisp
treflip has quit [Ping timeout: 272 seconds]
jonatack has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
rkazak has quit [Ping timeout: 248 seconds]
markb1 has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 248 seconds]
pve has joined #commonlisp
amb007 has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
pkal has quit [Read error: Connection reset by peer]
rodrigo-` has quit [Remote host closed the connection]
rodrigo-morales has joined #commonlisp
mgl_ has quit [Ping timeout: 244 seconds]
shawnw has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
Guest7173 has joined #commonlisp
Guest7173 has quit [Client Quit]
user_ has joined #commonlisp
user_ has quit [Client Quit]
Guest311 has joined #commonlisp
Guest311 has quit [Client Quit]
Guest8420 has joined #commonlisp
amb007 has quit [Remote host closed the connection]
alcor has joined #commonlisp
chum-cha has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
<beach>
Impressive!
rkazak has quit [Ping timeout: 244 seconds]
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
kevingal has joined #commonlisp
kpg has joined #commonlisp
lovesan has joined #commonlisp
lovesan has quit [Client Quit]
rkazak has joined #commonlisp
akoana has joined #commonlisp
yitzi has joined #commonlisp
markb1 has quit [Ping timeout: 252 seconds]
rkazak has quit [Ping timeout: 245 seconds]
markb1 has joined #commonlisp
rkazak has joined #commonlisp
shawnw has joined #commonlisp
vardhan has quit [Ping timeout: 244 seconds]
brokkoli_origin has quit [Ping timeout: 248 seconds]
gooba has quit [Remote host closed the connection]
gooba has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
brokkoli_origin has joined #commonlisp
akoana has quit [Quit: leaving]
shawnw has quit [Ping timeout: 248 seconds]
Alfr has quit [Quit: Leaving]
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkazak has joined #commonlisp
Alfr has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
wacki has joined #commonlisp
yitzi has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 252 seconds]
rkazak has joined #commonlisp
troojg has joined #commonlisp
troojg has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 265 seconds]
AetherWind has quit [Quit: leaving]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
yitzi has joined #commonlisp
<NotThatRPG>
beach: Conjecture: the flexibility of lisp syntax means that it's harder to capture the patterns of refactoring syntactically, which is what most existing IDEs do.
LispTyro has joined #commonlisp
rkazak has joined #commonlisp
<NotThatRPG>
beach: Similarly the fact that lisp ingests s-expressions that are in a sense "pre-parsed" means that we have structures in which metadata such as comments are extra-syntactic in a way they are not in conventional programming languages.
<pranav>
NotThatRPG: The reader probably can access the comments written using the #|...|# reader macro.
<NotThatRPG>
pranav: True. Good point. I should look deeper into the structure of the reader as specified. I don't actually understand fully where comments are "lost."
yitzi has quit [Ping timeout: 252 seconds]
<jackdaniel>
a character macro for ; just ignores the rest of the line and proceeds from the next one
<jackdaniel>
(as in - nothing really magical is going on)
<NotThatRPG>
AFAIK there is no way to recover comments from the ANSI specified reader API. I suppose one could wrap read in something that extracts the unread, but that would be at the least messy.
<jackdaniel>
I don't think that custom reader macros are worth handling specially by the editor; you can model your reader to read xml or to compute fibbonaci numbers if you really want to, so fancy stuff goes beyond the program representation
<pranav>
I'm curious why the semicolon syntax is listed under the section on Standard Macro Characters in CLHS.
<pranav>
Is semicolon (without sharpsign) a macro character?
<jackdaniel>
yes
<jackdaniel>
( is also a macro character
<jackdaniel>
sharpsign reader macros are verbose to signify that they are reader macros while normal syntax is deemphasized to avoid clutter
<pranav>
Oh, right, Yes.
<pranav>
Thanks
<jackdaniel>
NotThatRPG: if the implementation allows you to replace the character macro #\; then you may simply register commented lines in some structure
<jackdaniel>
and then proceed to do nothing :)
<jackdaniel>
what I'm trying to say is that the reader is /means/ to implement common lisp syntax, not something that defines common lisp syntax
<jackdaniel>
(and that's an opinion, there's nothing technical that would make the opposite stance invalid)
<NotThatRPG>
Looking at the ANSI spec, I'm not finding a clear statement about whether the macro for semicolon may be replaceable, must be replaceable or must not be replaceable. Probably I am not looking in the right place.
<gilberth>
There are no restrictions. You can install your own reader macro on any character you wish.
random-nick has quit [Remote host closed the connection]
random-nick has joined #commonlisp
<bike>
you can always restore a standard readtable with copy-readtable anyway
<gilberth>
,(progn (set-macro-character #\; (lambda (s c) :semicolon)) (read-from-string "(foo ;bar)"))
<ixelp>
;Compiler warnings : ↩ ; In an anonymous lambda form: Unused lexical variable C ↩ ↩ ; In an anonymous lambda form: Unused lexical variable S ↩ => (FOO :SEMICOLON BAR); 10
<bike>
2.1.1.3: The initial readtable is the readtable that is the current readtable at the time when the Lisp image starts. At that time, it conforms to standard syntax. The initial readtable is distinct from the standard readtable. It is permissible for a conforming program to modify the initial readtable.
random-nick has quit [Quit: quit]
random-nick has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
yitzi has joined #commonlisp
<beach>
NotThatRPG: This is why we want to include a compiler, so that we can determine the role of each symbol.
<beach>
NotThatRPG: And Eclector can indeed read and preserve things like comments.
<NotThatRPG>
gilberth: Thanks!
amb007 has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
mi6x3m has joined #commonlisp
<mi6x3m>
hey, is it possible to get a plist string keyed value with getf?
<jackdaniel>
well, member does not distinguish between keys and values, so forget what I've said :)
<aeth>
easiest way to do it with built-ins might be to convert plists to alists and then test the car
<aeth>
but this will cons
<jackdaniel>
(loop for (key val) on list by #'cddr when (equal key string) do (return val))
brokkoli_origin has quit [Ping timeout: 260 seconds]
rkazak has quit [Ping timeout: 248 seconds]
attila_lendvai has joined #commonlisp
<aeth>
the difference between LOOP and DOPLIST is that LOOP tolerates malformed plists
<aeth>
although the early return may make doplist do so if a match is found
<aeth>
depends on its implementation
<aeth>
in particular, the danger is with ,(loop :for (key val) :on (list :not-a-match-key 42 :your-match-key) :by #'cddr :do (format t "~A ~A~%" key val))