tromey / el-compilador

An SSA-based compiler for Emacs Lisp
206 stars 10 forks source link

Reuse el-compilador SSA form to generate standard Emacs VM bytecode #26

Open vkazanov opened 5 years ago

vkazanov commented 5 years ago

Recently I began thinking about improving the built-in Emacs optimizer by converting lap code into SSA form, doing usual optimisations and converting back into lap code (or simplified Elisp).

Eventually I stumbled upon your project. It looks almost done, with everything ready, only one more backend needed.

So, I have a few of questions:

  1. Which algorithm do you use to build SSA? The code I saw looks a bit ad hoc.
  2. Why did you dump the project? Any problems I should be aware of?
  3. Any recommendations? Like things I have to look into, lacking functionality, etc?

Thank you!