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:
Seems that lists went from being arrays to objects of the form:
{
type: "list"
values: [...forms]
}
Seems that compiling raw numbers used to work but now they need to be atoms
Pulled isExpression from esutils, seems like there used to be a function on the env object.
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:
isExpression
fromesutils
, seems like there used to be a function on theenv
object.