9

Does anyone know of a decompiler for Common Lisp?

I know most lisp environments include a disassembler. But I don't know of any decompilers.

I would think it should be possible to make a decompiler using the output of the various lisp environment disassemblers so as to not be dependent on the bytecode format.

  • Can you upload a small sample program (source code and the binary) to see how it looks like? – Igor Skochinsky May 21 '13 at 16:23
  • 1
    @Igor Skochinsky I suppose I could will have to wait a couple days though. I know clisp and I am pretty sure sbcl generate bytecode. And Sbcl can compile to native code. also it is worth noting that somehow the environment is usually dumped into the binary. ECL translates to C then compiles so it is even more different. – cb88 May 21 '13 at 18:22
1

Check out this Emacs man page. While I would expect it to be specific for Emacs Lisp, it's certainly a starting point. http://www.gnu.org/software/emacs/manual/html_node/elisp/Disassembly.html

  • Yes, it is specific to Emacs Lisp. And decompilation is a bit different than disassembly, although decompilers start with a disasssembly as the first step. – rocky Oct 25 '17 at 6:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.