News for hackers. Stuff that matters.
Re:Fnl: zero-overhead Lisp syntax for Lua by kazinator on Thursday February 15, 2018 @06:52PM (#16388837)
That Python doesn't look like abstract syntax; it's an intermediate form full of additional semantic objects geared toward further translation or interpretation.

A Lisp compiler might build up something like that, from a fully macro-expanded body of code. That's not usually accessible to programs.

Like the fact that n is converted to a Name() node, where it has a ctx property indicating Store() has nothing to do with syntax; it is the result of an analysis arising from how x is being used semantically. The user didn't specify any such attributes on the x just that x is assigned and that is already recorded by something like Assign(x, 5).

There are no comments on this comment yet.