| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
33.1 User pass
Bigloo allows the user to add a special pass to the regular compilation, this pass taking place before macro expansion. There are two ways to add a user pass.
- Add a compiled pass: The module
user_user(in the “comptime/User/user.scm” file) is the user entry pass point. To add a compiled pass, put the code of the pass in this directory, import your new modules inuser_userand modify theuser-walkfunction. - Add an interpreted pass: Set the value of
*user-pass*, which has to be a unary function, in your.bigloorcfile and Bigloo will invoke it with the code as argument.
This document was generated on October 23, 2011 using texi2html 5.0.
