freenode/#lisp - IRC Chatlog
Search
16:33:14
reepca
Is there a way for initforms in DEFSTRUCT to refer to each other? For example, I've got a queue struct and it needs the tail to initially be the head, and the head to initially be a fresh cons cell
16:35:00
Shinmera
you can use the :constructor and make the tail be &optional, referring to the head.
17:15:48
jackdaniel
pjb: essentially what you say is falsehood, A + B = B; where A is not 0 (licn + gcc = gcc), so it doesn't, well, add up. when you take everything verbatim at least make your claims logical
19:17:40
jasom
PuercoPope: that's fairly reasonable, as is having JSCL compile to an IR and have WASM interpret the IR.
19:23:35
PuercoPope
jasom: The 'IR' (or would AST be more accurate) is fairly close to JS and depends on having its data-types. Don't think it would be easy to write a wasm interpreter for that
1:11:01
equwal
I was able to hack together a build script for these font variants in a few hours, whereas I have no idea how I would have done it without Roswell.
1:42:30
_death
I think a script should be two forms: load the system, apply a function with command line args.. the rest belongs in the system, which can be depended upon by other lisp code
1:57:18
_death
anyway, been using terminus (with modified lambda) for a decade now, methinks.. all other fonts are unbearable :d
2:16:57
_death
if you change the font size it looks very different.. I started with a smaller size but years take a toll
2:27:29
pjb
In a script, you must have a read eval loop, such as the reading and evaluation of later forms DEPENDS on the evaluation of earlier forms.
2:27:49
pjb
If you don't have it or don't need it, then you have a mere program that you can pre-compile.
2:28:57
pjb
Note: cl-launch doesn't allows you to make scripts, since it wants to compile your source before running it!
2:29:23
pjb
(this is the reason why in the end, I don't use, and cave in, and just transformed all my scripts into mere programs).
2:36:09
pjb
_death: well, sometimes you want scripts. For example, when you need to adapt, at run-time, to the environment.