freenode/#lisp - IRC Chatlog
Search
0:12:08
White_Flame
built-in lisp capabilities for hot edits are at the full expression level, not the subexpression (like an inner loop body) level
0:12:39
White_Flame
so if teh loop called a function, you could hot-redefine the function every iteration if you wanted, without anything special
0:13:01
no-defun-allowed
Trivial. Lots of things are redefinable by default in Lisp, and SLIME makes it easier than walking.
0:14:19
White_Flame
see also let-over-lambda for retaining state in a closure while execution does other stuff
0:14:44
White_Flame
DrDuck: why would any langauge reload source from files constantly? that's slow. No designer woudl add that by default, especially in an industrial language like CL
0:17:20
aeth
DrDuck: if you want to see live coding taken to an extreme in Common Lisp, check out CEPL. https://github.com/cbaggers/cepl
0:17:25
aeth
DrDuck: or in video form: https://www.youtube.com/playlist?list=PL2VAYZE_4wRITJBv6saaKouj4sWSG1FcS
0:17:44
White_Flame
one wonders what would happen if you save with a syntax error with that python tool
0:24:16
aeth
You sometimes have to do extra work to prevent the program from continuing to execute stale code, especially if you do something fancy like write shaders for OpenGL with your library.
0:25:19
aeth
The default, though, is basically that if you recompile a file while the image is running with SLIME (or something similar) then the updated definitions will be used. Recompiling a top-level form will mostly work, but sometimes compiler optimizations get in the way of that because compilers are allowed to optimize a file heavily and SBCL sometimes does
2:52:58
minion
The URL https://gitlab.common-lisp.net/users/sign_in?secret=ebc7a0f4 will be valid until 03:00 UTC.
9:45:24
decent-username
I'm right now writing a function with a #'macrolet inside. The question is: How can I access the arguments of the function that envelops the #'macrolet?
9:47:18
beach
If you mean the parameters of the function around the MACROLET, then you just write their names.
9:47:45
beach
But you can not do that at macro-expansion time, because the corresponding arguments are not available then.
9:49:03
beach
I need to go fix lunch for my (admittedly small) family. You either need to wait or see if someone else can answer.
9:51:58
decent-username
I'll try to solve the problem on my own. I'll let you know if I've managed to fix it.
9:56:17
MichaelRaskin
You don't need to unescape global-cell-x (the macro should expand to literally this symbol), and you do need to put comma before x (it is a macro argument that should be substituted in macro expansion
10:08:44
decent-username
my code compiles now. But the logic is still more broken than a 80year old who fell down a skyscraper.