tromey / el-compilador

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

implement functions needed by C back end #7

Closed tromey closed 7 years ago

tromey commented 7 years ago

The C back end assumes that a few special functions can be defined by Emacs to implement primitives like catch. See elcomp--c-direct-renames ... the names here are invented and can be changed, but what is important is implementing these in the C core.

tromey commented 7 years ago

Close but not quite done; still have some other bugs to fix in the generation.

tromey commented 7 years ago

condition-case is still wrong. it has to re-throw when no handler matches.

tromey commented 7 years ago

How handlerlist is popped is wrong, this has to be explicit in the IR