Re: macroexpander implementation

"Scott G. Miller" <[email protected]> Sat, 19 Aug 2006 18:14:44 -0500
Newsgroups gmane.comp.java.sisc.devel
Message-ID <[email protected]>
On Fri, Aug 18, 2006 at 02:05:55AM -0700, Dan wrote:
> Hi all,
> 
> Suppose I wanted to try my hand at a custom macro
> system. How would I integrate it into SISC?
> 
> I have looked at the sources, and it looks like right
> now sc-expand is being called all over the place (in
> src/sisc/boot/, src/sisc/modules/debug.scm and some
> other places). Can I just replace the sc-expand
> references with my own expander that eventually calls
> sc-expand (for cases it doesn't handle)? My expander
> would not need the services of syntax-case for the
> cases it does handle.

You can replace those references just fine.  Be sure to alter "eval" to 
suit your needs as well, as that is where the expander is most often 
called.


-------------------------------------------------------------------------
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