Can I see the translated machine instruction of a scheme function like (disassemble) in LISP?
Can I see the translated machine instruction of a scheme function like (disassemble) in
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a
decompilemodule providing a function by the same name. It can be used to decompile a bytecode file into a kind of a human-readable form. However, this is not a linear assembly-language representation (that is what gets generated dynamically by the JIT), and it’s questionable whether it will help you to look at the results. In any case, search the documentation for more information.You can also use the macro stepper to get a rough idea of the kind of complexity that MzScheme actually sees — just click it, disable all macro hiding, and step through your code until it’s completely expanded. It will be hairy.