Hi,
I'm writing a Goo-like Lisp->C compiler, and I'm undecided between two
very different ways of mapping (top-level) names to values.
1) use dynamic data structures that map names to symbols, and put the
values into the symbols.
2) mangle names into C variables and use weak symbols to allow
redefinition.
I don't know if 2) works, but the basic idea would be that a DEF...
form declares the C variable as weak, and then assigns it the Lisp
value.
Has anyone tried this? I'd be thankful for any ideas and pointers.
Thanks,
Manuel