freenode/#lisp - IRC Chatlog
Search
17:57:35
makomo
stylewarning: and regarding code generation/compilation of these processes? the processes themselves are arbitrary code, and i'm thinking about how exactly this code should be generated
17:58:09
stylewarning
makomo: the processes may be arbitrary code but you should limit how data is input or output
17:58:52
makomo
the macros could expand into lambdas that would store this code, but if i want to add type checking and similar later on, i can't just create these lambdas right away
17:59:57
stylewarning
Component code just have “ports” (maybe lambda arguments if there’s no temporal aspect to this) for tx/rx of data
18:01:24
makomo
a component's process only has access to the wires internal to the process (including its pins). the fact that these wires are connected to other components is a separate thing
18:01:28
stylewarning
Maybe the code should even have explicit time parameters, so you can simulate what happens in any individual timestep. This again gets into exactly the type of thing you’d like to simulate.
18:03:22
makomo
stylewarning: mhm, but that's something that's out of scope for this software i think
18:03:45
makomo
at least if i understood you correctly (i'm thinking of stuff like transport and inertial delays that VHDL has)
18:05:08
makomo
stylewarning: however, one of the things i would like to do is to compile the code (to Lisp), rather than interpret it myself. what i'm not sure about is whether this code should be put into lambdas when the DSL macros are expanded, or should it be done "manually" by me, using COMPILE, etc.?
18:06:10
makomo
(also, this means that primitives like signal assignment, etc. would be either macros or functions that would call appropriate lisp functions and modify the instantiated model under the hood)
19:54:23
figurelisp
When i write 'this 'is 'madness in emacs slime repl why does it only returns last symbol as output? Why not all three?
19:57:33
Bike
i suppose sbcl doesn't clear the input buffer after every repl read like emacs does, or something.
20:01:29
Bike
there's not really a "correct" or "incorrect", it's just however the repl feels like working
20:15:07
edgar-rft
makomo: electrical circuits usually contain circular components (feedback paths), have you considered that in your hierarchical topology?
20:16:52
brontosaurusrex
Trying to follow this : https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.2
20:21:43
brontosaurusrex
So there is a scheme dialect of lisp and there are various dialects of scheme ... ?
20:22:13
Bike
something like that. the distinction between "dialect" and "language" is almost as vague as it is in natural language.
20:22:40
Bike
i recommend asking what scheme to get for sicp in #scheme. i'm sure they have heard that exact question many times.
20:24:09
edgar-rft
brontosaurusrex, this is a COMMON LISP channel, ask in #scheme (because they kow it better than we)
23:30:54
Bike
with the gray streams extension, you can define methods on the stream-read-byte function.
0:35:19
Bike
because that's exactly what gray streams provides, and most implementations support the extension.
1:15:11
Bike
is "metamorphosis" the name of a library or are you referring to butterfly development or what
1:27:58
edgar-rft
one can perfectly morph in 1 dimension, so methamorphosis must not necessarily be complex
2:00:25
caltelt
Is there anything similar to clojure's edn for cl? A way to read in a safe subset of the language that can be used for data transfer, conf files, etc?
2:04:41
edgar-rft
there's read-line returning one line as a string plus a parser for safe tokens, to be written by *you*
2:34:19
Bike
that doesn't mean anything. it's not returning true because (getf emp1 :gender) will be the list (QUOTE MALE).