trac.callcc.org

root/release/3/riaxpander/chicken-init.scm

Revision 10322, 0.6 kB (checked in by ashinn, 9 months ago)

Adding support for compiled syntax extensions.

Line 
1
2 ;; this just includes the definitions and installs them as the current
3 ;; macro expander, loading the core chicken macro definitions
4
5 (include "chicken")
6
7 (riaxpander:install)
8 (register-feature! 'syntax-rules 'hygienic-macros 'syntactic-closures)
9
10 (cond
11  ((and (not (memq #:standard-syntax ##sys#features))
12        (not (memq #:bootstrapping-riaxpander ##sys#features)))
13   (load
14    (or (##sys#resolve-include-filename "riaxpander-chicken-macros.so" #t #t)
15        (##sys#resolve-include-filename "riaxpander-chicken-macros.scm" #t #t)))
16   (load (##sys#resolve-include-filename "riaxpander-dsssl-lambda.scm" #t #t))))
17
Note: See TracBrowser for help on using the browser.