anko / eslisp-fancy-function

eslisp macro: function expression with argument-splats and implicit return
0 stars 1 forks source link

Eslisp 0.7 #5

Open seepel opened 6 years ago

seepel commented 6 years ago

Hi there, been lurking for a while and I think I have finally wrapped my head around the compiler API enough to be useful. So I thought I'd tackle fixing this library. As far as I can tell this brings things up to date, but there could certainly be something I'm missing.

Main points:

  1. Seems that lists went from being arrays to objects of the form:
    {
    type: "list"
    values: [...forms]
    }
  2. Seems that compiling raw numbers used to work but now they need to be atoms
  3. Pulled isExpression from esutils, seems like there used to be a function on the env object.