cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
<dbotton>
thanks <White_Flame>
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
cosimone has quit [Quit: Quit.]
EvW has quit [Ping timeout: 260 seconds]
anewuser has quit [Ping timeout: 260 seconds]
ebrasca has quit [Remote host closed the connection]
marusich has joined #lisp
wxie has joined #lisp
v_m_v has joined #lisp
wsinatra has quit [Ping timeout: 258 seconds]
v_m_v has quit [Ping timeout: 246 seconds]
Oladon has quit [Quit: Leaving.]
Bourne has joined #lisp
davepdotorg has joined #lisp
davepdotorg has quit [Ping timeout: 246 seconds]
wxie has quit [Ping timeout: 264 seconds]
ex_nihilo has joined #lisp
madrik has quit [Ping timeout: 272 seconds]
marusich has quit [Ping timeout: 260 seconds]
borei has quit [Quit: Leaving.]
anewuser has joined #lisp
gaqwas has quit [Ping timeout: 264 seconds]
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
terpri_ is now known as terpri
akoana has joined #lisp
Aurora_iz_kosmos has joined #lisp
Oladon has joined #lisp
Patzy has quit [Ping timeout: 260 seconds]
sebboh has quit [Ping timeout: 260 seconds]
no-defun-allowed has quit [Ping timeout: 260 seconds]
mikecheck1 has joined #lisp
_whitelogger has joined #lisp
kingcons has joined #lisp
Oladon has joined #lisp
gaze__ has joined #lisp
jmercouris has joined #lisp
gendl has joined #lisp
rig0rmortis has joined #lisp
phantomics has joined #lisp
Archenoth has joined #lisp
yitzi has joined #lisp
gigetoo has joined #lisp
fe[nl]ix has joined #lisp
iamFIREc1 has joined #lisp
ech has joined #lisp
IPmonger has joined #lisp
nullman has joined #lisp
dilated_dinosaur has joined #lisp
Lord_Nightmare has joined #lisp
drot has joined #lisp
gum has joined #lisp
katco has joined #lisp
Dmytro[m] has joined #lisp
cairn has joined #lisp
drmeister has joined #lisp
flip214 has joined #lisp
yottabyte has joined #lisp
bjorkintosh has joined #lisp
gingerale has joined #lisp
ioa_ has joined #lisp
Balooga has joined #lisp
kilimanjaro has joined #lisp
gjnoonan has joined #lisp
Christ0pher has joined #lisp
nitrix has joined #lisp
emacsomancer has joined #lisp
kini has joined #lisp
alandipert has joined #lisp
TMA has joined #lisp
antoszka has joined #lisp
stux|RC has joined #lisp
bonz060 has joined #lisp
_whitelogger has joined #lisp
toorevitimirp has quit [Remote host closed the connection]
toorevitimirp has joined #lisp
Stanley00 has joined #lisp
edgar-rft has joined #lisp
Bourne has quit [Remote host closed the connection]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
Alfr_ has joined #lisp
<beach>
Good morning everyone!
Alfr has quit [Ping timeout: 244 seconds]
<moon-child>
morning beach
jdgr has quit [Ping timeout: 258 seconds]
<edgar-rft>
morning to everyone plus their children :-)
dbotton has quit [Quit: -a- Connection Timed Out]
dbotton has joined #lisp
<White_Flame>
good morning, noone.
rig0rmortis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeosol has joined #lisp
toorevitimirp has quit [Ping timeout: 240 seconds]
toorevitimirp has joined #lisp
Inline has quit [Ping timeout: 272 seconds]
Bike has quit [Quit: leaving]
_whitelogger has joined #lisp
abhixec has joined #lisp
gravicappa has joined #lisp
galex-713 has quit [Ping timeout: 272 seconds]
Kaisyu has joined #lisp
akoana has quit [Quit: leaving]
dominic34 has quit [Ping timeout: 256 seconds]
mmohammadi9812 has joined #lisp
aartaka has joined #lisp
narimiran has joined #lisp
orivej has joined #lisp
hiredman has quit [Ping timeout: 260 seconds]
hiredman has joined #lisp
justache has quit [Remote host closed the connection]
justache has joined #lisp
schweers has joined #lisp
schweers has left #lisp [#lisp]
schweers has joined #lisp
aartaka has quit [Ping timeout: 264 seconds]
Oladon has quit [Quit: Leaving.]
aartaka has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 258 seconds]
Lord_of_Life_ is now known as Lord_of_Life
saturn2 has quit [Ping timeout: 244 seconds]
saturn2 has joined #lisp
abhixec has quit [Ping timeout: 260 seconds]
ech has quit [Ping timeout: 240 seconds]
aartaka_d has joined #lisp
ech has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
ech has quit [Ping timeout: 240 seconds]
sonologico has quit [Remote host closed the connection]
bocaneri has joined #lisp
ech has joined #lisp
aartaka_d has quit [Ping timeout: 240 seconds]
pok has joined #lisp
aartaka has joined #lisp
shka_ has joined #lisp
bocaneri has quit [Max SendQ exceeded]
bocaneri has joined #lisp
bocaneri has quit [Max SendQ exceeded]
aartaka_d has joined #lisp
ex_nihilo_ has joined #lisp
aartaka has quit [Ping timeout: 240 seconds]
<lukego>
good morning
ex_nihilo has quit [Ping timeout: 240 seconds]
<beach>
Hello lukego.
<lukego>
I have been distracted learning to solder but learning to write lisp code to design PCBs is visible on the horizon again :)
ex_nihilo__ has joined #lisp
ex_nihilo__ has quit [Client Quit]
ex_nihilo_ has quit [Ping timeout: 256 seconds]
aartaka_d has quit [Ping timeout: 256 seconds]
liberliver has quit [Ping timeout: 240 seconds]
leo_song has quit [Ping timeout: 260 seconds]
leo_song has joined #lisp
aartaka has joined #lisp
quazimodo has quit [Read error: Connection reset by peer]
quazimodo has joined #lisp
bocaneri has joined #lisp
aartaka has quit [Ping timeout: 272 seconds]
aartaka has joined #lisp
jonatack has quit [Ping timeout: 240 seconds]
treflip has joined #lisp
v_m_v has joined #lisp
midre has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 256 seconds]
ramin has joined #lisp
midre has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
<ramin>
Hi everyone. I was just curious if there are any Scheme libraries that try to ease the transition for people familiar with Common Lisp to Scheme by providing as many of the features in X3J13 as possible. For example, in Scheme a function like "funcall" is unnecessary, the kind of library I am talking about would provide a "funcall" macro as a convenience. Is there any such project out there?
wxie has joined #lisp
<beach>
ramin: This channel is dedicated to Common Lisp. You may have more luck in #scheme.
<ramin>
beach: thanks anyway
<beach>
ramin: Furthermore, Scheme lacks lots of features, like CLOS.
liberliver has joined #lisp
<beach>
That would be a big chunk for a library independent of any Scheme implementation.
<aeth>
ramin: My Scheme implementation inside of Common Lisp will eventually provide most of Common Lisp to Scheme, but it's obviously not done via portable Scheme.
jonatack has joined #lisp
<beach>
ramin: The real question, though, is: Why on earth would you abandon Common Lisp in favor of Scheme?
vegansbane has quit [Read error: Connection reset by peer]
<ramin>
beach: I'd prefer to avoid a flame war, ha ha!
<ramin>
aeth: sounds intersting. Kind of the inverse of what I am looking for.
<aeth>
ramin: because it's easier (and more efficient) to implement a small language inside of a large one than the other way around
vegansbane has joined #lisp
<ramin>
aeth: indeed. I've seen scheme implemented in many languages.
<ramin>
I know several Scheme implementations provide their own version of CLOS, but as far as I know it isn't standardized. There may be a SRFI about it, I can't find one at the momemnt.
jonatack has quit [Ping timeout: 260 seconds]
aartaka has joined #lisp
<aeth>
It's unlikely to ever be uncontroversial enough to be portable between implementations.
wxie has quit [Ping timeout: 260 seconds]
jonatack has joined #lisp
<aeth>
Scheme tends to be very anti-generics, too. (I'm impressed + is in the language.)
<markasoftware>
does sbcl --non-interactive imply --disable-ldb?
<moon-child>
ramin: I don't know of anything complete (in my game engine, which embeds scheme, I made implementations of incf/decf--which should be inc! and dec! for syle but--and 1+/1-). But, why on earth would you want funcall in a lisp-1?
hiroaki has quit [Ping timeout: 260 seconds]
<aeth>
moon-child: Ironically, funcall is one of the few things I didn't intend to expose.
<ramin>
moon-child: aeth: wouldn't funcall in Scheme essentially be a NO-OP?
Qudit314159 has joined #lisp
Qudit314159 has quit [Remote host closed the connection]
<moon-child>
well, it would be a macro. Something like (define-macro (funcall fun . args) `(,fun ,@args))
<aeth>
^
<aeth>
(Except that's not portable Scheme, either, since that could be define-macro or defmacro or nonexistent since Scheme only requires hygienic macros.)
<ramin>
moon-child: right.
<moon-child>
scheme is ... _very_ fragmented. It's hard even to write portable cl, if you wanna do e.g. threads
<aeth>
Yes, if you want to directly port CL into Scheme, there's basically no reason to use portable Scheme, and the only Scheme that would be good for the task is the still-incomplete Airship Scheme.
jonatack has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
<jasom>
I wonder how hard it would be to optimize (incf (gethash KEY HT 0)) to only perform a single hash-table lookup when KEY is already in HT.
<moon-child>
(setf (gethash) (... (gethash))) is probably a pretty common pattern
no-defun-allowed has joined #lisp
<no-defun-allowed>
It's doable, but it may not be a good idea.
<beach>
jasom: I am guessing not very hard.
<jasom>
For update-heavy inputs, changing it to have a cons of the value, and modifying the cons gets a rather large speedup.
v_m_v has quit [Remote host closed the connection]
<no-defun-allowed>
Suppose we had a hash table based on a single vector (open hashing), and that vector looked like [__XXM] where Xs are removed mappings, M is the mapping you want, and _ is empty.
<moon-child>
no-defun-allowed: out of curiosity, how did you see that message, since you joined well after it was sent?
v_m_v has joined #lisp
<no-defun-allowed>
You may start searching at an X, in which case you're doing more work.
<jasom>
no-defun-allowed: my idea is to find M, then use it for both the read and the write; why is that ever a bad idea?
<no-defun-allowed>
If we noted that the mapping was dead, we could replace it with the mapping we want, saving time in the future would we search again.
ljavorsk_ has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
<jasom>
ah, I see
<jasom>
in this particular case keys are never deleted
<no-defun-allowed>
On the other hand, I wonder what happens to the old M if that happens. I may need to experiment.
<no-defun-allowed>
Yeah, then you wouldn't have removed mappings and it would be a good idea.
v_m_v_ has joined #lisp
v_m_v has quit [Ping timeout: 240 seconds]
pve has joined #lisp
IPmonger has quit [Ping timeout: 260 seconds]
<no-defun-allowed>
moon-child: Magic, and/or the broken Matrix-IRC bridge.
<no-defun-allowed>
Mostly the former.
IPmonger has joined #lisp
<moon-child>
ahh, matrix
<no-defun-allowed>
Okay, the one hash table implementation that does linear probing which I have experience with (Luckless) cannot move mappings like that, so it's a moot point. But a few hash-table related optimisations aren't doable with some sensible implementation details.
v_m_v_ has quit [Ping timeout: 272 seconds]
davepdotorg has joined #lisp
v_m_v has joined #lisp
galex-713 has joined #lisp
davepdotorg has quit [Read error: No route to host]
davepdotorg has joined #lisp
<markasoftware>
is catching sb-sys:interactive-interrupt the only way to catch any sort of OS signal in SBCL without using ffi?
aartaka_d has joined #lisp
<markasoftware>
ie, is there any way to catch sigterm?
<markasoftware>
(interactive-interrupt only catches sigint, which i can probably make do with if i have to)
jayspeer has quit [Ping timeout: 256 seconds]
aartaka has quit [Ping timeout: 260 seconds]
davepdotorg has quit [Ping timeout: 272 seconds]
ggole has joined #lisp
<no-defun-allowed>
There is trivial-signal which abstracts away the FFI stuff.
<moon-child>
markasoftware: there was a posix-abstraction-layer-ish thingy (works on windows tho). But I don't remember if it handled signals
<scymtym>
the SBCL-specific way would be (sb-unix:enable-interrupt sb-unix:sigterm #'HANDLER)
blackadder has joined #lisp
gaqwas has quit [Remote host closed the connection]
femi has quit [Ping timeout: 244 seconds]
ljavorsk_ has quit [Ping timeout: 240 seconds]
femi has joined #lisp
rogersm has joined #lisp
jonatack_ has joined #lisp
jonatack_ has quit [Client Quit]
hendursa1 has joined #lisp
reggieperry has quit [Ping timeout: 272 seconds]
hendursaga has quit [Ping timeout: 240 seconds]
<markasoftware>
thanks, i think I'll stick with the simplest option
jonatack has joined #lisp
davepdotorg has joined #lisp
davepdotorg has quit [Ping timeout: 240 seconds]
davepdotorg has joined #lisp
dim has joined #lisp
davepdotorg has quit [Ping timeout: 246 seconds]
aartaka has joined #lisp
notzmv has quit [Ping timeout: 260 seconds]
davepdotorg has joined #lisp
aartaka_d has quit [Ping timeout: 260 seconds]
davepdotorg has quit [Remote host closed the connection]
davepdotorg has joined #lisp
cosimone has joined #lisp
davepdotorg has quit [Remote host closed the connection]
davepdot_ has joined #lisp
treflip has quit [Ping timeout: 246 seconds]
treflip has joined #lisp
davepdot_ has quit [Quit: Leaving...]
notzmv has joined #lisp
mmohammadi9812 has quit [Ping timeout: 246 seconds]
treflip has quit [Ping timeout: 240 seconds]
ukari has joined #lisp
davepdotorg has joined #lisp
narimiran has quit [Ping timeout: 272 seconds]
mmohammadi9812 has joined #lisp
newbie__ has joined #lisp
ljavorsk has joined #lisp
chrsnjk has joined #lisp
narimiran has joined #lisp
ljavorsk_ has joined #lisp
galex-713_ has joined #lisp
galex-713 has quit [Ping timeout: 272 seconds]
ljavorsk has quit [Ping timeout: 260 seconds]
jesse1010 has joined #lisp
liberliver has quit [Ping timeout: 260 seconds]
v_m_v has quit [Remote host closed the connection]
igemnace has quit [Quit: WeeChat 2.9]
yitzi_ has quit [Quit: yitzi_]
yitzi_ has joined #lisp
ljavorsk__ has joined #lisp
ljavorsk_ has quit [Ping timeout: 272 seconds]
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
tich has joined #lisp
Inline has joined #lisp
galex-713_ has quit [Ping timeout: 258 seconds]
jackdaniel has quit [Remote host closed the connection]
jackdaniel has joined #lisp
treflip has joined #lisp
galex-713 has joined #lisp
<shka_>
hi
<shka_>
i am looking for library that works like cl-who but for json
<no-defun-allowed>
Hello shka_
<shka_>
any recommendations?
luckless has joined #lisp
<jackdaniel>
wasn't json a data format?
luckless_ has quit [Ping timeout: 240 seconds]
<jackdaniel>
there are libraries which allow parsing and encoding json from lisp data
<jackdaniel>
or do you want something like (with-json (:array 1 2 3)) ? I think that yason has somewhat compatible approach
<Xach>
I wound up making some helper functions with short names and using functional encoding from yason.
<Xach>
so something like (json (table "foo" (array 1 2 3) "bar" (true)))
<Xach>
not exactly that, but not far off
ljavorsk_ has joined #lisp
terpri has quit [Ping timeout: 244 seconds]
davepdotorg has quit [Remote host closed the connection]
ljavorsk__ has quit [Ping timeout: 265 seconds]
davepdotorg has joined #lisp
newbie__ has quit [Remote host closed the connection]
liberliver has joined #lisp
davepdotorg has quit [Ping timeout: 264 seconds]
gko_ has joined #lisp
liberliver has quit [Remote host closed the connection]
liberliver has joined #lisp
Cthulhux has quit [Quit: ne praeteriverit priusquam obesa cantaverit]
<ldb`>
"Arguments and Values: fn---an extended function designator or a lambda expression. "
<Bike>
functions are function designators
<Bike>
they designate themselves
<Bike>
i just tried (defun foo (x) (lambda () x)) (disassemble (foo 6)) and it worked fine
<Bike>
in sbcl
<Bike>
and clasp
<ruffianeo>
For a while I thought it is because it is a recursive function (the lambda) and I tried limited the inlining depth... but that did not help either
<Bike>
can you share the source of foo?
<ruffianeo>
I could make a gist of it
<Bike>
does a call (foo) by itself hang?
<ruffianeo>
hm... I tried so many things since yesterday - I don't remember it all :) I will gist it
<ruffianeo>
I tried (trace scan-variation) but it hangs silently
dominic34 has quit [Remote host closed the connection]
<Bike>
well you'll have to trace the functions scan-variation calls.
dominic34 has joined #lisp
<ruffianeo>
how do I do that?
<Bike>
(trace whatever)
<Bike>
but actually i see the problem.
<Bike>
scan-variation calls scan-black-move which calls scan-variation.
<ruffianeo>
yes
<Bike>
...so i mean, it will keep recursing.
<ruffianeo>
but when calling scan-variation that code is not executed - it is just a builder
<Bike>
it sure looks executed to me.
<ruffianeo>
ohh....ahh...... you make me think
<Bike>
lisp is an eager language. when you write (between (token "(") ...) token will be called before between is.
<Bike>
and so on and so forth.
<ruffianeo>
ah yes - I did something similar in haskell before and haskell is lazy...
galex-713 has quit [Ping timeout: 272 seconds]
<ruffianeo>
so this whole approach is not working in lisp?
<Bike>
i tried (trace pgn-tools::scan-variation) and called scan-variation and it immediately started printing out infinite calls. it did not "hang silently"
<Bike>
that would have made the problem more obvious.
<ruffianeo>
hm... I think I tried that
<Bike>
apparently you did not.
<Bike>
and no, you can do this in lisp, you'll just have to put more thought into evaluation order, i guess.
<Bike>
if you wrap a call in a lambda the call won't be executed until the lambda is called. you can delay in that fashion.
<ruffianeo>
oh yes - now I see that trace - that is something :)
<Bike>
why did you say you tried trace if you didn't
davepdot_ has joined #lisp
<ruffianeo>
because it was the first time I tried to trace something and I might have messed it up somehow
mmohammadi98120 has joined #lisp
ldb` has quit [Quit: ERC (IRC client for Emacs 26.1)]
galex-713 has joined #lisp
davepdotorg has quit [Ping timeout: 256 seconds]
davepdotorg has joined #lisp
jonatack has joined #lisp
mmohammadi9812 has quit [Ping timeout: 272 seconds]
mmohammadi98120 is now known as mmohammadi9812
drl has quit [Quit: Ex-Chat]
<ruffianeo>
ideas on how to delay that recursive call?
<Bike>
wrap it in a lambda like i said.
<Bike>
you'll have to decide at what points you want delays.
davepdot_ has quit [Ping timeout: 264 seconds]
<ruffianeo>
so I would do something in scan-black-move like (... (spaced (lambda (stream) (scan-variation stream)))?
<Bike>
sure.
<Xach>
if you find yourself doing that a lot, you can define helpers that make lambdas for you, too.
<Bike>
i can't give you much more detail without understanding what your application does.
<ruffianeo>
yes I was thinking about a (defun delay-scanner (scanner) (lambda (stream) (scanner stream)))
<Bike>
you'd want (funcall scanner stream), but yeah that could work.
<ruffianeo>
yes
<Bike>
er, well
<Bike>
i mean, that's the same as just returning scanner immediately, actually
<Bike>
if you do (delay-scanner whatever), whatever will be evaluated before delay-scanner is called
v_m_v has joined #lisp
<ruffianeo>
quite the conundrum
<Bike>
you can just write (lambda (stream) (scan-variation stream)) and stuff like that
<Bike>
possibly using a macro to reduce the repetition
schweers has quit [Ping timeout: 240 seconds]
<ruffianeo>
in that parsec port to f#, they do some fancy forward-decl thing and they have it wrapped in some reference type
<ruffianeo>
that would also be an option here - (defparameter *scan-var* nil), then have the scan-black-move functions use that *scan-var* and I setf the *scan-var* once
tankf33der has left #lisp [#lisp]
arpunk has quit [Remote host closed the connection]
mmohammadi9812 has quit [Ping timeout: 258 seconds]
orivej has quit [Ping timeout: 272 seconds]
davepdotorg has quit [Remote host closed the connection]
mmohammadi9812 has joined #lisp
<ruffianeo>
thanks a lot!
davepdotorg has joined #lisp
Achylles has joined #lisp
dominic34 has quit [Remote host closed the connection]
davepdotorg has quit [Ping timeout: 272 seconds]
Cymew has quit [Ping timeout: 256 seconds]
wxie has quit [Ping timeout: 260 seconds]
rig0rmortis has joined #lisp
goldrin1227[m] has joined #lisp
alex_ has joined #lisp
<ruffianeo>
and it works - updated the gist with fix if someone cares
rogersm has quit [Ping timeout: 244 seconds]
<Bike>
happy to be of service
rogersm has joined #lisp
rig0rmortis has quit [Ping timeout: 272 seconds]
chrsnjk has quit [Remote host closed the connection]
chrsnjk has joined #lisp
PuercoPop has joined #lisp
treflip has quit [Quit: WeeChat 2.6]
contrapunctus has left #lisp ["Disconnected: Replaced by new connection"]
contrapunctus has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
davepdotorg has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
dbotton_ has quit [Quit: -a- Connection Timed Out]
rumbler31 has joined #lisp
daphnis has joined #lisp
dbotton has joined #lisp
davepdot_ has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
v_m_v has quit [Remote host closed the connection]
davepdotorg has quit [Ping timeout: 256 seconds]
v_m_v has joined #lisp
mmohammadi9812 has quit [Ping timeout: 265 seconds]
treflip has joined #lisp
v_m_v has quit [Ping timeout: 272 seconds]
alex_ has quit [Remote host closed the connection]
alex_ has joined #lisp
<mseddon>
are there any particularly well written, idiomatic lisp projects out there that I can learn style from?
<mseddon>
(hopefully more on the smaller, easily digestible side)
<beach>
It uses CLOS quite a lot. It has randomly-generated tests. It has documentation.
<beach>
And it is not hard to understand what it does. Just an editor buffer implementation, except highly optimized in terms of performance and in terms of multiple views.
<mseddon>
Actually I had to basically build a totally live lexical scanning text editor buffer on top of visual studio code to get sane lisp intentation for Clojure in Calva :(
<beach>
Hmm.
<mseddon>
It works, but it's stupid.
<mseddon>
some day I hope to write a proper lisp / slime plugin for vscode, it will, alas, need to use something similar for now.
<mseddon>
(and if you modify the readtable, All Bets Are Off, because I have no idea how to handle that.)
<beach>
That's the problem we aim to solve with Second Climacs.
<mseddon>
lul. the name... may need work
<beach>
Not at all.
<beach>
We will use Eclector to parse the editor buffer, so it will be the actual Lisp reader that determines the meaning of the buffer contents.
<mseddon>
I was thinking of an editor, DREI, "DREI replaces EMACS immediately"
<mseddon>
right. but if I have like 10k lines of file
<beach>
Incremental parsing.
<mseddon>
because e.g. this is a data text file of sexpr, rather than code
<beach>
It has been published.
<mseddon>
yeah, so long as you can restart it's fine
<mseddon>
cool. I had a couple of sneaky ways I could optimize that based on parenthesis links etc.
<mseddon>
do you have a title I can search for?
<ebrasca>
beach: Hi
<beach>
mseddon: For each editing operation, it determines which (recursivce) READs might need to be called again, and it repairs the whole analysis incrementally.
<beach>
Hello ebrasca.
<beach>
mseddon: Give me a minute.
<mseddon>
nice, yeah. That is nothing I got to, but I did at least glimpse that you could get there. It's vastly unexplored gold out there I think.
<mseddon>
beach: Fantastic! Thanks! I hope this will come in handy.
<beach>
Good luck.
<mseddon>
btw a very good project would be a lisp Language Server Protocol to subsume regular swank in most modern IDEs and text editors, too.
<beach>
Already done. scymtym has an implementation.
<tychoish>
slime is so much better than lsp though :( ;)
<mseddon>
i shall check his github, ty. :), and ty scymtym :D
<mseddon>
tychoish: meh. you can hack extensions onto it, to support that, it's no issue.
<beach>
tychoish: And still not that good.
scymtym has quit [Ping timeout: 258 seconds]
<mseddon>
but yeah, it's still worlds better than the horror show editing lisp is currently in most editors.
scymtym has joined #lisp
<tychoish>
fair. I also think it's a good idea to have lisp lsp stuff
<tychoish>
even if I don't want to actually use it :)
<mseddon>
It's a bitch to say "Learn lisp! Oh, yeah, learn emacs, it's as old as ITS"
<mseddon>
it really only leaves the most persistent to appreciate it.
<tychoish>
for sure.
<beach>
So Cluffer is an implementation of an abstract data type that I call "editable sequence", except that its protocols are adapted to text editors, so the sequence is in two layers: lines and items within a line.
<beach>
The test suite is particularly interesting in that it generates random operations for the real implementation, and the same operations on a trivial but slow implementation of the same protocols. It then compares the results. This technique for testing gives excellent coverage and is unlikely to miss any edge cases.
<beach>
mseddon: You should direct those people to the presentation by "Uncle Bob" that I referred to the other day.
aartaka_d has joined #lisp
<beach>
mseddon: He says that Emacs, because it is written in Lisp, will become better than every IDE out there.
<mseddon>
beach: I think so too, but not like it is today.
dominic34 has joined #lisp
<beach>
I don't think so, but some people are impressed by what Uncle Bob says.
<mseddon>
beach: But I want my IDE written in lisp, almost like a lispm.
<mseddon>
emacs is sort of the 80/20 rule of that.
<beach>
mseddon: We are working on it.
<mseddon>
me too. fwiw :)
<chrsnjk>
hi, about lisp reading in emacs, I recently tried to make "Smart syntax highlighting for dynamic languageCase: Common Lisp in Emacs" work, the code is somewhere on my laptop
<mseddon>
I have much experimenting to do first, but I will catch up with you later.
<chrsnjk>
i had to extract it from the pdf
<beach>
chrsnjk: What does it do?
<chrsnjk>
it is a bit hackish and does not work in all cases
ukari has quit [Remote host closed the connection]
<chrsnjk>
it asks swank what kind of symbol is under point
<chrsnjk>
so that it can highlight local variables, etc more sensibly
<beach>
How does it distinguish between a local variable and (say) a class name?
ukari has joined #lisp
aartaka has quit [Ping timeout: 260 seconds]
Achylles has quit [Remote host closed the connection]
aartaka_d has quit [Ping timeout: 260 seconds]
aartaka has joined #lisp
Bourne has joined #lisp
<chrsnjk>
I believe it has its own code walker, with an environment that contains bindings (not 100% correct approach)
<Xach>
as i test newer SBCLs that break a lot, this may help focus in on the scope of issues.
arpunk has joined #lisp
dra has quit [Quit: Leaving]
mmohammadi9812 has quit [Ping timeout: 260 seconds]
dbotton has quit [Quit: -a- Connection Timed Out]
dbotton has joined #lisp
alex_ has quit [Read error: Connection reset by peer]
EvW has joined #lisp
alex_ has joined #lisp
mmohammadi9812 has joined #lisp
ggole has quit [Quit: Leaving]
sjl has quit [Quit: WeeChat 2.2-dev]
davepdot_ has quit [Remote host closed the connection]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
dbotton_ has joined #lisp
davepdotorg has joined #lisp
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
dbotton has quit [Ping timeout: 240 seconds]
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
sjl has joined #lisp
mmohammadi9812 has joined #lisp
daphnis has quit [Ping timeout: 256 seconds]
Oladon has quit [Quit: Leaving.]
davepdotorg has quit [Ping timeout: 264 seconds]
dbotton_ has quit [Ping timeout: 272 seconds]
dbotton has joined #lisp
alex_ has quit [Read error: Connection reset by peer]
alex_ has joined #lisp
gko_ has quit [Ping timeout: 260 seconds]
lucasb has joined #lisp
v_m_v has joined #lisp
rig0rmortis has joined #lisp
davepdotorg has joined #lisp
ruffianeo has quit [Ping timeout: 240 seconds]
jdgr has joined #lisp
rig0rmortis has quit [Ping timeout: 256 seconds]
davepdotorg has quit [Ping timeout: 256 seconds]
daphnis has joined #lisp
random-nick has quit [Ping timeout: 256 seconds]
bendersteed has joined #lisp
karlosz has joined #lisp
secretmyth has joined #lisp
daphnis has quit [Ping timeout: 260 seconds]
random-nick has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 260 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<PuercoPop>
mseddon: there already is one iirc, cxxr has an LSP server, although it wraps swank.
<PuercoPop>
I thought of starting one to developer a decent VSCode extension for Lisp, but after I started writing the extension for VSCode I found out their extension API sucks and one can't even properly take advantage of their built in browser.
orivej has joined #lisp
davepdotorg has joined #lisp
user51 has joined #lisp
davepdotorg has quit [Ping timeout: 256 seconds]
<user51>
is seibel's practical common lisp a good introduction? i already have some programming experience
<mfiano>
It appears fare-quasiquote broke varjo. That's unfortunate, since Baggers left Lisp about a year ago. I hope it doesn't get dropped.
paul0 has joined #lisp
bitmapper has joined #lisp
<Josh_2>
mfiano: thats a shame
<Josh_2>
user51: yes it is
<user51>
any other books that might be of interest?
<Josh_2>
all the CL books :P
v_m_v has quit [Remote host closed the connection]
<user51>
come on, i'll never get any CL done that way :P
<user51>
also: any source code i could learn from?
<wsinatra>
Baggers left lisp?
<jackdaniel>
no, he is just focused on creating a (non-lisp) game, so temporarily he has less time for lisp
<wsinatra>
that makes more sense
<jackdaniel>
he comes to #lispgames from time to time;
Inline has quit [Ping timeout: 272 seconds]
<Josh_2>
jackdaniel: I thought that might be the case
<user51>
that looks plenty interesting. also concides with my interests. big thanks!
davepdotorg has joined #lisp
<ebrasca>
user51: There is #mezzano for this project.
hendursaga has quit [Remote host closed the connection]
davepdotorg has quit [Read error: Connection reset by peer]
hendursaga has joined #lisp
davepdotorg has joined #lisp
bendersteed has quit [Ping timeout: 272 seconds]
daphnis has joined #lisp
dbotton has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
davepdotorg has quit [Ping timeout: 260 seconds]
<dbotton>
<user51> the idea was for code examples it is not really a first book to start with
ukari has quit [Remote host closed the connection]
dbotton_ has quit [Ping timeout: 256 seconds]
<dbotton>
how old is that OS project? Mezzano
<jasom>
minion: tell user51 about paip
<minion>
user51: paip: Paradigms of Artificial Intelligence Programming. More about Common Lisp than Artificial Intelligence. Now freely available at https://github.com/norvig/paip-lisp
<jasom>
user51: that book has a lot of CL code with explanations
<user51>
thanks. i'll look at those once i'm done with LOL
cosimone has quit [Remote host closed the connection]
CrazyEddy has quit [Ping timeout: 240 seconds]
aartaka has joined #lisp
cosimone has joined #lisp
v_m_v has quit [Remote host closed the connection]
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
narimiran has quit [Ping timeout: 258 seconds]
hiroaki has joined #lisp
davepdotorg has joined #lisp
v3ga has quit [Ping timeout: 258 seconds]
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
<ebrasca>
dbotton: Now Mezzano does have some years.
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
user51 has quit [Quit: leaving]
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdot_ has joined #lisp
davepdot_ has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
ebrasca has quit [Read error: Connection reset by peer]
davepdotorg has quit [Read error: Connection reset by peer]
ebrasca has joined #lisp
davepdotorg has joined #lisp
Inline has quit [Ping timeout: 272 seconds]
gargaml has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
ebrasca has quit [Read error: Connection reset by peer]
ebrasca has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
secretmyth has quit [Quit: Leaving]
cosimone has quit [Quit: Quit.]
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
cosimone has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
gravicappa has quit [Ping timeout: 240 seconds]
yitzi_ has joined #lisp
davepdotorg has quit [Ping timeout: 260 seconds]
v_m_v has joined #lisp
lucasb has joined #lisp
daphnis has quit [Ping timeout: 256 seconds]
v_m_v has quit [Ping timeout: 240 seconds]
hiroaki has quit [Ping timeout: 272 seconds]
rpg has joined #lisp
wsinatra has quit [Quit: WeeChat 2.9]
aartaka has quit [Ping timeout: 272 seconds]
dbotton_ has joined #lisp
mmohammadi9812 has joined #lisp
theseb has joined #lisp
SaganMan has quit [Quit: WeeChat 1.6]
dbotton has quit [Ping timeout: 246 seconds]
davepdotorg has joined #lisp
davepdotorg has quit [Read error: Connection reset by peer]
davepdotorg has joined #lisp
mmohammadi9812 has quit [Quit: I quit (╯°□°)╯︵ ┻━┻]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jsatk has quit [Ping timeout: 244 seconds]
physpi has quit [Ping timeout: 244 seconds]
sgithens has quit [Ping timeout: 244 seconds]
kilimanjaro has quit [Ping timeout: 244 seconds]
Balooga has quit [Ping timeout: 244 seconds]
yottabyte has quit [Ping timeout: 240 seconds]
splittist has quit [Ping timeout: 240 seconds]
grfn has quit [Ping timeout: 260 seconds]
alanz_ has quit [Ping timeout: 260 seconds]
bytesighs has quit [Ping timeout: 260 seconds]
billstclair has quit [Ping timeout: 260 seconds]
bitmapper has quit [Ping timeout: 272 seconds]
buoy49 has quit [Ping timeout: 244 seconds]
lukego has quit [Ping timeout: 244 seconds]
l1x has quit [Ping timeout: 246 seconds]
rvirding has quit [Ping timeout: 240 seconds]
manicennui has quit [Ping timeout: 244 seconds]
splittist has joined #lisp
yonkunas has quit [Ping timeout: 260 seconds]
tfb has quit [Ping timeout: 260 seconds]
pent has quit [Ping timeout: 260 seconds]
jlpeters has quit [Ping timeout: 260 seconds]
jsatk has joined #lisp
yottabyte has joined #lisp
selwyn has quit [Ping timeout: 244 seconds]
sgithens has joined #lisp
lukego has joined #lisp
kilimanjaro has joined #lisp
Balooga has joined #lisp
physpi has joined #lisp
manicennui has joined #lisp
rvirding has joined #lisp
mgsk has quit [Ping timeout: 260 seconds]
yonkunas has joined #lisp
jlpeters has joined #lisp
billstclair has joined #lisp
bytesighs has joined #lisp
grfn has joined #lisp
tfb has joined #lisp
alanz_ has joined #lisp
davepdotorg has quit [Ping timeout: 272 seconds]
pent has joined #lisp
mgsk has joined #lisp
shka_ has quit [Ping timeout: 240 seconds]
buoy49 has joined #lisp
bitmapper has joined #lisp
selwyn has joined #lisp
yamashitatan has joined #lisp
wsinatra has joined #lisp
l1x has joined #lisp
ebrasca has quit [Remote host closed the connection]
i7ofi9 has joined #lisp
yitzi_ has quit [Quit: yitzi_]
cosimone_ has joined #lisp
cosimone has quit [Ping timeout: 240 seconds]
ChoHag has joined #lisp
<ChoHag>
Is there a way to do this without the eval: (define y 21)(define x 'y)(eval `(* ,x 2))
<ChoHag>
Uh that's scheme but you get the idea.
<ChoHag>
Hmm actually no doesn't lisp have a whole bunch of seperate namespaces?
gargaml has quit [Quit: WeeChat 2.9]
<Bike>
ChoHag: (* (symbol-value x) 2)
theseb has quit [Quit: Leaving]
random-nick has quit [Ping timeout: 258 seconds]
ebrasca has joined #lisp
bilegeek has joined #lisp
jdgr has quit [Ping timeout: 246 seconds]
v_m_v has joined #lisp
alex_ has quit [Quit: Leaving]
v_m_v has quit [Ping timeout: 272 seconds]
chrsnjk has quit [Remote host closed the connection]
thecoffemaker has quit [Ping timeout: 240 seconds]
thecoffemaker has joined #lisp
slyrus has quit [Remote host closed the connection]
dbotton has joined #lisp
dbotton_ has quit [Ping timeout: 240 seconds]
cosimone has joined #lisp
cosimone_ has quit [Read error: Connection reset by peer]
CrazyEddy has joined #lisp
pve has quit [Quit: leaving]
Inoperable has quit [Excess Flood]
cosimone has quit [Quit: Quit.]
Inoperable has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
ruffianeo has joined #lisp
dra has joined #lisp
davepdotorg has joined #lisp
manicennui has quit [Read error: Connection reset by peer]
jmercouris has quit [Read error: Connection reset by peer]
tfb has quit [Read error: Connection reset by peer]
ffwacom has quit [Ping timeout: 244 seconds]
gjnoonan has quit [Ping timeout: 244 seconds]
jerme_ has quit [Ping timeout: 244 seconds]
rvirding has quit [Read error: Connection reset by peer]
XachX has quit [Read error: Connection reset by peer]
bytesighs has quit [Read error: Connection reset by peer]
Balooga has quit [Ping timeout: 240 seconds]
avicenna has quit [Read error: Connection reset by peer]
RagnarDanneskjol has quit [Read error: Connection reset by peer]
travv0 has quit [Read error: Connection reset by peer]
splittist has quit [Read error: Connection reset by peer]
mjl has quit [Read error: Connection reset by peer]
mpontillo has quit [Read error: Connection reset by peer]
stylewarning has quit [Ping timeout: 240 seconds]
drmeister has quit [Ping timeout: 240 seconds]
jsatk has quit [Ping timeout: 272 seconds]
kilimanjaro has quit [Ping timeout: 240 seconds]
pent has quit [Ping timeout: 260 seconds]
alanz_ has quit [Ping timeout: 260 seconds]
jlpeters has quit [Ping timeout: 260 seconds]
grfn has quit [Ping timeout: 260 seconds]
physpi has quit [Ping timeout: 260 seconds]
yottabyte has quit [Ping timeout: 260 seconds]
manicennui has joined #lisp
gendl has quit [Ping timeout: 260 seconds]
vutral has quit [Ping timeout: 260 seconds]
tfb has joined #lisp
bytesighs has joined #lisp
avicenna has joined #lisp
travv0 has joined #lisp
mpontillo has joined #lisp
yonkunas has quit [Ping timeout: 272 seconds]
billstclair has quit [Ping timeout: 272 seconds]
lukego has quit [Ping timeout: 272 seconds]
boeg has quit [Ping timeout: 272 seconds]
ffwacom has joined #lisp
yottabyte has joined #lisp
pent has joined #lisp
p_l has quit [Ping timeout: 272 seconds]
drmeister has joined #lisp
jsatk has joined #lisp
entel has quit [Ping timeout: 240 seconds]
davepdotorg has quit [Ping timeout: 256 seconds]
jmercouris has joined #lisp
vutral has joined #lisp
Balooga has joined #lisp
alanz_ has joined #lisp
billstclair has joined #lisp
kilimanjaro has joined #lisp
mjl has joined #lisp
gjnoonan has joined #lisp
stylewarning has joined #lisp
physpi has joined #lisp
jerme_ has joined #lisp
jlpeters has joined #lisp
rvirding has joined #lisp
gendl has joined #lisp
RagnarDanneskjol has joined #lisp
boeg has joined #lisp
lukego has joined #lisp
grfn has joined #lisp
entel has joined #lisp
splittist has joined #lisp
XachX has joined #lisp
p_l has joined #lisp
manicennui has quit [Ping timeout: 256 seconds]
yonkunas has joined #lisp
avicenna has quit [Ping timeout: 246 seconds]
travv0 has quit [Ping timeout: 258 seconds]
manicennui has joined #lisp
Oladon has joined #lisp
avicenna has joined #lisp
travv0 has joined #lisp
jw4 has joined #lisp
yitzi_ has joined #lisp
v_m_v has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
v_m_v has quit [Ping timeout: 260 seconds]
liberliver has quit [Remote host closed the connection]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]