Next: , Previous: , Up: compiler   [Index]


17.6 Unparsing intermediate representations

The following bindings are exported by the library (vicare compiler).

Function: unparse-recordized-code input

Given as argument a struct instance representing recordised code: build and return a symbolic expression that can be printed in human readable form. input can be any structure that is produced by the compiler passes.

Function: unparse-recordized-code/pretty input

Given as argument a struct instance representing recordised code: build and return a symbolic expression that can be printed in human readable form. input can be any structure that is produced by the compiler passes.

This function attempts to unparse recordised code and reconstruct a Scheme–like symbolic expression; the returned sexp does not exactly represent the input.

Function: unparse-recordized-code/sexp input

Given as argument a struct instance representing recordised code: build and return a symbolic expression that can be printed in human readable form. input can be any structure that is produced by the compiler passes. The output of this function is similar to unparse-recordized-code but more human readable.