Re: Questions about the compiler et al

2012-03-09 Thread BT Templeton
Mark H Weaver writes: > Andy Wingo writes: >>> * Is there any way to embed references to non-serializable objects in >>> compiled code? >> >> No. Can you give an example of when you would want this? [...] > Furthermore, I'd suggest that _not_ serializing the objtable should be > the default b

Re: Questions about the compiler et al

2012-01-07 Thread Andy Wingo
Hi Mark, On Thu 05 Jan 2012 18:20, Mark H Weaver writes: > Andy Wingo writes: >>> * Is there any way to embed references to non-serializable objects in >>> compiled code? >> >> No. Can you give an example of when you would want this? > > My more complex `the-environment' patch fully supports

Re: Questions about the compiler et al

2012-01-05 Thread Mark H Weaver
Hi Andy, thanks for the quick response! Andy Wingo writes: >> * Is there any way to embed references to non-serializable objects in >> compiled code? > > No. Can you give an example of when you would want this? My more complex `the-environment' patch fully supports captured local syntax defin

Re: Questions about the compiler et al

2012-01-05 Thread Andy Wingo
Hi Mark, On Thu 05 Jan 2012 01:03, Mark H Weaver writes: > * Why do compilers return two copies of the same environment? > What is the intended meaning of these two return values? >From "The Scheme Compiler", in the manual: Compiler procedures take three arguments: an expression, an

Questions about the compiler et al

2012-01-04 Thread Mark H Weaver
Hello all, While writing the more complex variant of the compiler implementation of `the-environment' and `local-eval', I learned a great deal about the compiler, and accumulated the following list of questions along the way. If someone with sufficient knowledge could answer at least some of thes