News for hackers. Stuff that matters.
Re:TwinLisp by logjam on Saturday August 02, 2008 @04:45AM (#264885)
"TwinLisp is a language with C/Java - like syntax, but with internals and abilities of a Common Lisp"

Um...C/Java syntax <i>and</i> the abilities of Common Lisp....and the webpage says s-expressions aren't needed to build macros....ummm...ok, could the author show us a few TwinLisp macros?

Re:TwinLisp by jsmcgd on Saturday August 02, 2008 @05:13AM (#264899)
Here's one:

mac &infinite-loop (body) {

`do () { $@body }}

S-expressions are permissible, so maybe it would be best to stick to those until you wrap your head around this crazy infix notation.

Re:TwinLisp by logjam on Saturday August 02, 2008 @03:33PM (#265149)
I grew up on simpleminded infix notation, and am overjoyed to have moved on.

Perhaps we could see a macro example just slightly more complex.