Re:Stop Writing JavaScript Compilers, Make Macros Instead
by davexunit on Thursday January 09, 2014 @08:47AM
(#7030390)
For a good example, look no further than SRFI-41[1] which defines a language for "streams", lazy lists that may have no end. SICP covers this topic as well.
Macros are used to great effect in Lisp land. They can be used to great effect in JavaScript land, too. With great power comes great responsibility.
Does anyone know Arc well enough to point out some macros used in HN's source?
Macros are used to great effect in Lisp land. They can be used to great effect in JavaScript land, too. With great power comes great responsibility.
Does anyone know Arc well enough to point out some macros used in HN's source?
[1] http://srfi.schemers.org/srfi-41/srfi-41.html