Re: sc-compile and the environment

"Scott G. Miller" <[email protected]>
Newsgroups gmane.comp.java.sisc.user
Message-ID <[email protected]>
On Wed, Aug 23, 2006 at 02:55:20PM -0700, Dan wrote:
> Hi all, how do definitions present in the environment
> affect the file generated by sc-compile? For example,
> are
> 
> (define (f x) x)
> (sc-compile ...)
> 
> and just (sc-compile ...) by itself equivalent?

It matters for further library loads, as sc-compile (like
sc-expand) only expands the code, it does not evaluate it.
Therefor, if your code has a require-library call, it
won't be executed, and the code that follows won't be able
to import/use that code.  

	Scott

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.