freenode/#sicl - IRC Chatlog
Search
14:58:15
Bike
it ties the abstract indication that a value is of a type to the concrete operation of performing a type test - an operation that can get pretty complicated even with simple types, e.g. if integer is a union of two classes
14:58:15
Bike
adding typew decouples this, so that typew can indicate the type, and typeq can continue being the low level operation, if that's needed
14:58:15
froggey
beach: I've spent today and yesterday getting familiar with Cleavir and I'll be getting started with your task now
14:58:15
froggey
it should just a case of bringing the code in Cleavir 1 forward to Cleavir 2, not too much trouble
14:58:16
froggey
"<beach> I also need to separate the ENCLOSE-INSTRUCTION into two parts, as Bike did for Cleavir 1."
15:00:24
beach
Bike: OK, I don't understand that (yet), but I'll keep in mind what you said when I try to understand TYPEW.
15:02:26
beach
So, yes, froggey is going to help out with some SICL/Cleavir stuff, at least for a while. We hope there will be some dual benefit for Mezzano as well.
16:30:40
beach
I think I'll call it a day. I'll hang out here until my (admittedly small) family announces that dinner is served, which should be in less than 30 minutes. I made good progress on the condition system today. I expect to have something acceptable in a day or two.
16:37:30
Harag
but then instead of looking for say defmacro the conversion end up wanting some internal sbcl %defmacro
16:41:09
beach
I just imported all the macros as they are. That's just for the demo. Some of them must be adapted.
16:43:40
beach
In the environment, there is nothing sbcl specific. So if any of the macros expand to something SBCL specific, that something has to be imported too, or the macro must be redefined.
16:44:12
beach
In this case, you want to redefine the macro defmacro so that it calls (setf (sicl-genv:macro-function ...))
16:46:09
beach
So the compiler expands the defmacro macro call, and then tries to compile the expansion.
16:47:24
beach
So you can either modify the defmacro macro, or import the missing functions and macros. I recommend the first solution.
16:49:38
beach
My (admittedly small) family just announced that dinner is served. So I'll be back tomorrow morning as usual.
2:37:55
Harag
does anybody know where function (global-environment environment) in get-setf-expansion for sicl-env is defined or comes form, maybe I am just tired but I cant find it