libera/#ecl - IRC Chatlog
Search
15:17:24
Bike
i'm poking at adding ecl support to trucler (https://github.com/s-expressionists/Trucler) and i had a few questions. should i use the cmp-env API? It seems to return the outermost binding instead of the innermost, and I don't see how to get information on type declarations or anything
15:24:04
Bike
maybe i'm using it wrong, but search-declaration returns nil when i try it with an ignore declaration (bound or not)
15:27:40
jackdaniel
from a quick look at the code it seems that we are not registering in the environment all declarations, some take immediate effect
15:28:01
jackdaniel
for example ignore changes the state of the variable reference in the compiler environment
15:53:37
Bike
jackdaniel: yeah, i found how to get the ignore declaration out of the compiler::var, but that doesn't seem to be covered by the cmp-env api
15:54:20
Bike
jackdaniel: there are no particular expectations for the host right now - makes some of the implementations pretty messy, e.g. https://github.com/s-expressionists/Trucler/blob/master/Code/Implementations/Native/CCL/describe-variable.lisp#L14-L25
15:56:37
jackdaniel
I'm currently reworkng the compiler so I can have different frontends and backends; while at it I'll look into trucler to see for having the api implemented. that said my ETA are wild, so I wouldn't feel fingers crossed for the next week :)