Arc Forumnew | comments | leaders | submit | fab13n's commentslogin

> If only it had macros we'd be set.

Working on this: https://github.com/fab13n/parsec-coffee-script

It's a port of metalua (https://github.com/fab13n/metalua), a macro + syntax extension system for Lua. Given that CS's grammar is more exuberant than Lua's, the parser combinator library that supports runtime syntax extension requires much more work.

-----

2 points by fab13n 5881 days ago | link | parent | on: Arc and The Emperors Old Clothes

IIRC it's rather "obviously no faults" vs. "no obvious faults".

-----

1 point by fab13n 5899 days ago | link | parent | on: Technical Comments on Arc

> lisp-2-ness is the thing I most despise about CL

It's conceptually ugly, but that's what makes non-hygienic macros usable.

A macro which uses a global variable is broken when used in a context which shadows this variable; if functions are not "normal" globals, there is much less chances that you'll shadow them accidentally.

-----

5 points by fab13n 5901 days ago | link | parent | on: The proposed : syntax

> But there are only so many characters I can make special in the midddle of symbols

Depends on whether you allow unicode in symbols

/ducks

-----