freenode/#sicl - IRC Chatlog
Search
12:32:50
clothespin
so all these dependencies such as eclector and CST run independent of each other?
14:01:28
beach
clothespin: They are not all independent of each other, but they don't depend on SICL.
14:03:59
clothespin
I want to explore the idea of source code as a set of objects and source code as a database
14:07:40
beach
... because, so far I can't think of any of our libraries that would help you. At least not if you store s-expressions.
14:08:00
clothespin
look up the source location for a class, open a file with that class, make changes, save, recompile
14:12:10
beach
heisig: I need help with a method on INSTRUCTION-THUNK. It should be like the one for funcall-instruction, except that the function to call is contained in the CAR of a function cell in the instruction itself (as opposed to in an input). So at run-time, the evaluator needs to take the car of that cell and call it with the arguments.
14:12:45
beach
heisig: I don't see an example of information from the instruction instance is incorporated in the generated thunk.
14:12:48
clothespin
no, the parser knows where to expect things like slot names and the body of code associated with it, then it simultaneously creates a named lambda and stores the body in a slot on the slotd
14:15:09
beach
I am not sure I understand, but that's OK I guess. I don't know what a "named lambda" is and I don't see the relation with a class. So let me ask you this instead: What do you think our libraries or SICL can help you with?
14:20:55
beach
I am sorry, but I am notorious for having a hard time understanding what people mean, and this time is no exception. Pretty much all special words you have mentioned make no sense to me.
14:20:56
beach
I don't see how a parser is like a template, and I don't know what a slotd is. And if it is a MOP slot definition, I don't see what body is stored there. And I don't know icad or gendl, so I can't compare. Then you mention an IDE, and again, that looks like separate information to me.
14:22:40
clothespin
I subclass slot definition metaobjects and have methods for slot-value-using-class for each type of subclass, most of them call a lambda in a slot on the slot definition which computes the slot value
14:23:45
clothespin
the macro is basically a template to define the expressions which go with each slot type and ultimately it defines a class
14:25:38
clothespin
I want to have the program add and remove slots without clobbering what the user is doing and vice versa
14:26:56
beach
I suspect the only way I will ever be able to understand the relation between all the pieces of information you have mentioned is if you have some kind of specification or requirements document written down.
14:28:24
beach
OK, so then, let's return to the suite of libraries you mentioned: CST, Eclector, etc.
14:30:23
clothespin
i was thinking that cst's could replace my notion of class definitions and make it easier to provide persistency
14:31:07
beach
A CST is just a wrapper around an S-expression with source information added to each node.
14:32:16
beach
Eclector also has the concept of a "parse result" which retains things like comments, etc.