Making Macros in CoffeeScript
blog.lab49.com
Making Macros in CoffeeScript
1–8 of 8 posts
Re: Making Macros in CoffeeScript
#2Re: Making Macros in CoffeeScript
#3Re: Making Macros in CoffeeScript
#4Re: Making Macros in CoffeeScript
#5Pretty cool. We've been using macros in the Cappuccino source code for years, but we were too lazy to write our own macro processor so we just use the GCC preprocessor. Relying on GCC being available turns out to work pretty well.
Re: Making Macros in CoffeeScript
#6I expected a HN headline to refer at least to a novel Lisp style AST macro implementation; there's m4 and cpp for basic textual macro expansion and those are very old news.
Re: Making Macros in CoffeeScript
#7Isn't this just lexical macros? I expected a HN headline to refer at least to a novel Lisp style AST macro implementation; there's m4 and cpp for basic textual macro expansion and those are very old news.
Re: Making Macros in CoffeeScript
#8Pretty cool. We've been using macros in the Cappuccino source code for years, but we were too lazy to write our own macro processor so we just use the GCC preprocessor. Relying on GCC being available turns out to work pretty well.
Didn't know the GCC preprocessor was language agnostic. Never thought about it really.