[<<][libprim][>>][..]
Mon Aug 10 23:19:58 CEST 2009
Dybvig Danfest 2004
"The macro writers bill of rights"[1].
Check out KFFD hygienic expansion algo[4]. This lead me to hygienic
macros on top of unhygienic ones[2].
Apparently my letrec is wrong: all evaluations need to happen before
all assignments.
Optimizations: constant folding, copy propagation, inlining, dead code
elimnation. Inlining (deciding to inline) isn't as easy as copy
propagation: you want your compiler to terminate and prevent code
explosion.
[1] http://video.google.com/videoplay?docid=-6899972066795135270
[2] http://p-cos.net/documents/hygiene.pdf
[3] http://people.csail.mit.edu/jaffer/r4rs_12.html
[4] http://www.cs.ucdavis.edu/~devanbu/teaching/260/kohlbecker.pdf
[Reply][About][<<][libprim][>>][..]