News for hackers. Stuff that matters.
Re:Making Macros in CoffeeScript by boucher on Sunday June 26, 2011 @01:40PM (#2698506)
Pretty 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 by __rkaup__ on Sunday June 26, 2011 @01:42PM (#2698511)
Didn't know the GCC preprocessor was language agnostic. Never thought about it really.
Re:Making Macros in CoffeeScript by saurik on Monday June 27, 2011 @05:02AM (#2700653)
You actually can/will run into problems if the language you are pre-processing with CPP tokenizes differently than C.