Compiler Goodies
syntax->zo
syntax->decompile
6.3.90.900

Compiler Goodies

Leif Andersen

 (require compiler-goodies) package: compiler-goodies

These are useful tools when dealing with the Racket compiler.

procedure

(syntax->zo stx)  compilation-top?

  stx : syntax?
Compiles a syntax object into a compiled zo object.

stx is the input syntax.

procedure

(syntax->decompile stx)  any/c

  stx : syntax?
Like syntax->zo, excepts the result is decompiled into a human readable format.