freenode/#sicl - IRC Chatlog
Search
10:53:37
Colleen
heisig: Shinmera said 3 hours, 38 minutes ago: What kinds of queries to the host environment do you need to be able to do?
10:55:20
heisig
Shinmera: Information about variables, functions, tags, blocks and optimize declarations. And host specific information, if available. For example, SBCL can mark variables and functions as deprecated.
10:57:11
Shinmera
I'm not quite sure, but it occurs to me that part of this information might already be available through https://github.com/shinmera/definitions or might be useful for it.
10:59:55
heisig
Shinmera: Thanks. But if I read it correctly, it only provides access to toplevel definitions, not lexical ones.
11:00:19
Shinmera
Yes, a protocol for lexical ones is something I've been thinking about for a while. :)
11:01:54
Shinmera
For Definitions I'd need this information to be available at run-time, not within the compilation context.
11:02:32
Shinmera
I'm assuming that currently no implementation would give me that information, but anyway.
11:11:11
heisig
You can pass NIL as environment designator to trucler-native to specify the global environment. Would that be enough?
11:12:56
Shinmera
If that would allow me to retrieve, say, restarts that are declared within a function, sure.