kajo has quit [Quit: From my rotting body, flowers shall grow and I am in them and that is eternity. -- E. M.]
vutral has quit [Remote host closed the connection]
karlosz_ has quit [Quit: karlosz_]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
semz has quit [Quit: Leaving]
mindCrime_ has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
micro has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
v88m has quit [Ping timeout: 268 seconds]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
v88m has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
semz has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
v88m has quit [Ping timeout: 245 seconds]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
v88m has joined #lisp
vutral has joined #lisp
sdumi has quit [Ping timeout: 244 seconds]
vutral has quit [Remote host closed the connection]
sdumi has joined #lisp
vutral has joined #lisp
vutral has quit [Read error: Connection reset by peer]
sjl has quit [Ping timeout: 272 seconds]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
nullman has quit [Ping timeout: 272 seconds]
szmer has quit [Ping timeout: 258 seconds]
nullman has joined #lisp
xkapastel has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
pfdietz has quit [Ping timeout: 260 seconds]
torbo has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Read error: Connection reset by peer]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
Lord_of_Life_ is now known as Lord_of_Life
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
t58 has quit [Quit: Night]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
uplime is now known as ^
<LdBeth>
not very interesting since they don’t use CLIM as html engine
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
jmbr_ has joined #lisp
vutral has joined #lisp
ym555 has quit [Read error: Connection reset by peer]
equwal has joined #lisp
ym555 has joined #lisp
jmbr_ has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
<White_Flame>
LdBeth: it does use CLIM, but not in the way you want?
semz has quit [Ping timeout: 252 seconds]
<White_Flame>
oh, or do you mean next-browser? yeah, that's a lisp wrapper around a browser engine
<White_Flame>
which I personally don't mind. HTML/CSS/JS is a massive undertaking with lots of legacy garbage to support, font rendering with all the features is not trivial, etc
<bexx>
imagine a browser without js
<bexx>
only lisp
<bexx>
wonderful
<White_Flame>
things that could have been
<White_Flame>
of course, see how far you can get with parenscript, or build something on webasm
<bexx>
you can use a lips to webasm?
<bexx>
*lisp
<White_Flame>
I presume something like clisp would be buildable on webasm. I haven't used ECL enough to know if it would be possible
<White_Flame>
(which would include runtime C generation -> webasm compilation)
<bexx>
that seems funny
* equwal
help
ltriant has quit [Ping timeout: 245 seconds]
brett-soric has joined #lisp
khisanth_ has quit [Ping timeout: 258 seconds]
edgar-rft has joined #lisp
semz has joined #lisp
khisanth_ has joined #lisp
hackware has joined #lisp
dddddd has quit [Remote host closed the connection]
<ck_>
''so poorly written that I could not take the authors seriously''
Lycurgus has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
powerbit has joined #lisp
vutral has joined #lisp
mn3m has quit [Ping timeout: 258 seconds]
shrdlu68 has joined #lisp
keep_learning_M has joined #lisp
ym555 has quit [Ping timeout: 245 seconds]
<ck_>
Oh well, Dijkstra was a hardliner... he probably would fit in here extremely well, enjoying many disputes on the finer points of whatever topic came up.
<shrdlu68>
Speak of the Dijkstra, I happen to be reading one of his EWDs.
<shrdlu68>
ck_: Why do you call him a hardliner?
keep_learning_M has quit [Quit: This computer has gone to sleep]
<ck_>
shrdlu68: maybe not the best choice of words, but what I mean is the harshness I perceive in some of his statements. "/abolish/ the go to statement from all 'higher level' languages", for example
<ck_>
an absence of compromise. I hope you get my meaning.
<shrdlu68>
I do.
<LdBeth>
Humm
zotan has quit [Ping timeout: 245 seconds]
themsay has quit [Ping timeout: 246 seconds]
zotan has joined #lisp
keep_learning_M has joined #lisp
zotan has quit [Ping timeout: 245 seconds]
cosimone has joined #lisp
zotan has joined #lisp
_whitelogger has joined #lisp
vutral has joined #lisp
rsawrecht has joined #lisp
themsay has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
salva has quit [Ping timeout: 248 seconds]
vutral has quit [Remote host closed the connection]
dddddd has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
m00natic has joined #lisp
random-nick has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
rsawrecht has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
shrdlu68 has quit [Ping timeout: 268 seconds]
capitaomorte has joined #lisp
lukego has joined #lisp
vutral has joined #lisp
mn3m has joined #lisp
<lukego>
So who's using ql2nix? I'm looking for a nice way to automate the (re)generation of the package list.
themsay has quit [Read error: Connection reset by peer]
themsay has joined #lisp
<xristos>
lukego: you're back to doing CL ? :]
mn3m has quit [Ping timeout: 248 seconds]
rsawrecht has joined #lisp
lukego has quit [Read error: Connection reset by peer]
rsawrecht has quit [Remote host closed the connection]
capitaomorte has quit [Remote host closed the connection]
rsawrecht has joined #lisp
hhdave_ has joined #lisp
hhdave has quit [Ping timeout: 246 seconds]
hhdave_ is now known as hhdave
Gnuxie[m] has joined #lisp
rsawrecht has quit [Remote host closed the connection]
salva has joined #lisp
lnostdal has joined #lisp
xkapastel has joined #lisp
Kundry_Wag has joined #lisp
rsawrecht has joined #lisp
Kundry_Wag has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
Lycurgus has quit [Quit: Exeunt]
random-nick has quit [Ping timeout: 248 seconds]
notzmv has quit [Ping timeout: 272 seconds]
vutral has quit [Remote host closed the connection]
capitaomorte has joined #lisp
atgreen has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
bugrum has quit [Quit: Leaving]
lukego has joined #lisp
<luis>
http://clhs.lisp.se/Body/m_case_.htm says that CASE's clauses are "selected by matching the test-key on the basis of its identity". And the Glossary suggests that two objects are _identical_ when they're "the same under EQ". However, I see that CASE in fact expands to EQL. What's that about?
<lukego>
xristos: I'm on holiday and have a hankering to hack some lisp. not sure if it will stick yet :-)
<xristos>
\o/
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
<lukego>
I'm feeling a strange urge to do some "programs that write programs" kind of meta-programming. feels like some of the code I've been writing lately in e.g. C is morally more like object code than source code and maybe I should be generating more of it. probably a bad idea but that's what brings me back to "the best way to misuse a computer" :-)
<xristos>
fun! i want to use the (not exposed) SBCL assembler to generate Forth VMs
cosimone has quit [Quit: WeeChat 2.3]
<xristos>
and i also want to do the same with dynasm
<xristos>
and compare the two approaches
<lukego>
Related to generating VMs, I was wondering if there would be a sexp notation for LLVM IR and pretty-printer, but the nearest that I found was one for C++ (cl-cpp-generator)
bendersteed has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
<xristos>
i was under the impression LLVM IR (bitcode?) changes frequently
<xristos>
and i've avoided it
esrse has quit [Ping timeout: 272 seconds]
rsawrecht has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
capitaomorte has quit [Ping timeout: 260 seconds]
<lieven>
luis: it says later that the test-key has to be the *same* as the key and the glossary for same (part 2) tells you it uses eql
<luis>
lieven: OK, thanks!
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
capitaomorte has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
Necktwi has quit [Ping timeout: 246 seconds]
rsawrecht has joined #lisp
<pjb>
lukego: start writing a quine if you never wrote one.
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
<pjb>
lukego: there's even more fun: writing programs that _modify_ programs! (instead of writing new ones from scratch, which is easy).
lukego has quit [Ping timeout: 245 seconds]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
random-nick has joined #lisp
lukego has joined #lisp
rsawrecht has quit [Remote host closed the connection]
bendersteed has quit [Read error: Connection reset by peer]
bendersteed has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vaporatorius has joined #lisp
<ck_>
Was there ever an Obfuscated Lisp Code Contest ?:)
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
<lieven>
too easy with macrology
keep_learning_M has quit [Quit: This computer has gone to sleep]
<LdBeth>
Let’s add CPS
<LdBeth>
DONE!
JohnMS_WORK has joined #lisp
rsawrecht has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
JohnMS has quit [Ping timeout: 258 seconds]
<pjb>
and reader macros.
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
keep_learning_M has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
lukego has quit [Ping timeout: 246 seconds]
bendersteed has quit [Read error: Connection reset by peer]
bendersteed has joined #lisp
<shka__>
ck_: i think that writing unreadable code is not culturally accepted in this community
LiamH has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
void_pointer has joined #lisp
<jackdaniel>
lisp code is not readable due to parentheses, you get lost during counting ,-)
<lieven>
take a look at some of the older stuff, like maxima or series
* jackdaniel
hears angry typing in the distance
<ck_>
I wonder whether joking is culturally accepted in this community. I heard that some emoticons can indicate humor.
vutral has joined #lisp
<jackdaniel>
all emoticons represent salty smiles
<ck_>
Impossible! Even Sideways Latin-only single-line art and portraits?
keep_learning_M has quit [Quit: This computer has gone to sleep]
rsawrecht has quit [Remote host closed the connection]
pfdietz has joined #lisp
<LdBeth>
( ̄(工) ̄) you can have Unicode
<edgar-rft>
Let's favour angry typing over dynamic typing.
<ck_>
not on this terminal I can't :| been putting off configuring that for years
<didi>
How do I declare the function's type value within the function definition? Say I have (defun f (x) (1+ x)) and I want to declare that the types of X and (f x) are fixnum. I know I can say (defun f (x) (declare (type fixnum x)) (the fixnum (1+ x))), but can I do it with only one declaration, without (the ...)?
<jackdaniel>
you'll need to write a macro which puts ftype declaration before function is defined
<dlowe>
or you just put the ftype declaration before the function definition
<jackdaniel>
i.e (defun* (f fixnum) ((a fixnum) (b fixnum)) (+ a b)) ; -> (progn (declaim (ftype (function (fixnum fixnum) fixnum) f))) (defun f (a b) (+ a b)))
<jackdaniel>
+/- I might have misused declaim, I'm often mistaking it with proclaim
Bike has joined #lisp
Inline has joined #lisp
Lord_of_Life_ has joined #lisp
Xach has quit [Ping timeout: 258 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
<shka__>
dlowe: not really, but you can declaim ftype outside of the function
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<shka__>
sorry
<shka__>
dlowe: typo
<shka__>
didi: ^^
<jackdaniel>
I knew I did mistake them! :) use proclaim in eval-when
keep_learning_M has joined #lisp
Godel[m] has joined #lisp
<dlowe>
I think declaim works here better so you don't need the eval-when
<jackdaniel>
declaim is only guaranteed to persist for the time of compilation of the file, so if you use this function outside you step into undefined behavior territory
<jackdaniel>
proclaim adds declaration to the global environment
<jackdaniel>
(some implementations treat both the same though +/- toplevelness of declaim)
dale_ has joined #lisp
dale_ is now known as dale
<jackdaniel>
of course said implementations behavior is conforming, relying on this behavior in common lisp code not so much (unless you target a certain compiler)
capitaomorte has quit [Ping timeout: 260 seconds]
<dlowe>
global declaration n. a form that makes certain kinds of information about code globally available; that is, a proclaim form or a declaim form.
<dlowe>
oh, it says that right in the declaim entry
NickBusey has quit [Read error: Connection reset by peer]
vutral has quit [Remote host closed the connection]
hhdave has quit [Ping timeout: 244 seconds]
hhdave has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
keep_learning_M has quit [Quit: This computer has gone to sleep]
bendersteed has quit [Ping timeout: 246 seconds]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
Xach has joined #lisp
vutral has joined #lisp
Guest80737 is now known as zmv
hhdave has quit [Ping timeout: 245 seconds]
pankajgodbole has joined #lisp
rippa has quit [Ping timeout: 258 seconds]
zmv is now known as notzmv
stepnem has joined #lisp
rippa has joined #lisp
hhdave has joined #lisp
xkapastel has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
saravia has joined #lisp
dale has quit [Quit: dale]
papachan has joined #lisp
frgo has joined #lisp
dale has joined #lisp
varjag has joined #lisp
<didi>
Thank you, all.
FreeBirdLjj has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
capitaomorte has quit [Ping timeout: 260 seconds]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
VTToonses has quit [Ping timeout: 260 seconds]
joast has quit [Quit: Leaving.]
cosimone has quit [Quit: WeeChat 2.3]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
cosimone has joined #lisp
Arcaelyx has joined #lisp
jprajzne has quit [Quit: Leaving.]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
orivej has joined #lisp
vutral has joined #lisp
cosimone has quit [Quit: WeeChat 2.4]
cosimone has joined #lisp
v88m has quit [Ping timeout: 245 seconds]
joast has joined #lisp
_ark_ has joined #lisp
cosimone has quit [Quit: WeeChat 2.4]
fortitude_ has joined #lisp
GoldRin has quit [Ping timeout: 246 seconds]
linli has joined #lisp
hhdave has quit [Quit: hhdave]
linli has quit [Remote host closed the connection]
linli has joined #lisp
linli has quit [Ping timeout: 248 seconds]
vutral has quit [Remote host closed the connection]
micro has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
_whitelogger has joined #lisp
Inline has joined #lisp
paul0 has joined #lisp
nanoz has joined #lisp
VTToonses has joined #lisp
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
donotturnoff has joined #lisp
Josh_2 has joined #lisp
vutral has joined #lisp
sjl has joined #lisp
m00natic has quit [Remote host closed the connection]
donotturnoff has quit [Ping timeout: 272 seconds]
actuallybatman has joined #lisp
carmack has quit [Remote host closed the connection]
wccoder has joined #lisp
<pfdietz>
declaim's compile time effects are only guaranteed to exist during the compilation of that file, but the form is evaluated again when the compiled file is loaded. So, the typical compile-and-load cycle will make the declaim generally available.
Kundry_Wag has quit [Remote host closed the connection]
<sjl>
I want to not handle the condiditions if debug is true, so I can be dropped into a debugger at the right stack frame. But if I'm not in debug mode, I want to handle the conditions in various ways.
<sjl>
(ignore the print hi)
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
hhdave has quit [Quit: hhdave]
<dlowe>
yes, but it makes your macro a little more complicated
<dlowe>
You can use handler-bind with a clause that handles T at the top. If *debug* is T, that handler will decline, and the next matching handler will be called
sauvin has quit [Ping timeout: 252 seconds]
<dlowe>
wait, other way around. if *debug* is NIL, the handler should decline
<dlowe>
if *debug* is T, the handler should call (invoke-debugger <condition>)
ym555 has joined #lisp
<sjl>
Hmm, but handler-bind to T would invoke the debugger for ALL conditions, right? not just errors?
Kundry_Wag has joined #lisp
vutral has joined #lisp
<dlowe>
you don't *have* to type T
<sjl>
sure... let me try to sketch it out I guess
<pfdietz>
You do not want to replicate expression, That way lies exponential code explosion.
<pfdietz>
Oops, wroing channel
<dlowe>
pfdietz: timely though
<pfdietz>
No, wait, right channe;l
<sjl>
... are you sure? It's applicable to the macro
<sjl>
And yeah, replicating the expression is what I'm hoping to avoid
<pfdietz>
The standard trick there is to wrap it in a flet function and call that twice.
<dlowe>
otherwise I would just not use the macro and have (if *prod* (run) (handler-case (run) ...))
<dlowe>
or you could do that
vutral has quit [Remote host closed the connection]
<sjl>
sure, that could work
<sjl>
fletting a thunk
<Xach>
i'm fletting a thunk where the rain gets in.
vutral has joined #lisp
vutral has quit [Remote host closed the connection]
Necktwi has joined #lisp
cosimone has quit [Quit: WeeChat 2.4]
<pfdietz>
Another idiom you see are functions that wrap thunks, making another thunk that executes the first thunk in some dynamic environment.