4 ms·
The question isn't so much whether other languages have something they call "macros", but whether their macro systems approach Lisp's in power, flexibility, eas
by gnosis 16y ago
The question isn't so much whether other languages have something they call "macros", but whether their macro systems approach Lisp's in power, flexibility, ease of use, integration with the language, and natural fit on to the language representation? Or is the macro system in question more of a Turing tarpit?
- silentbicycle 16y agoProlog's macro system does, but given it's model of computation (search/pattern matching are built in), it ends up being used far less than Lisp's.
- draegtun 16y agoI believe Perl6 will fulfil those requirements because the language is built & hosted upon Perl6 Grammars which makes it totally reconfigurable. ref: * http://en.wikipedia.org/wiki/Perl_6_rules http://en.wikipedia.org/wiki/Perl_6_rules * http://news.ycombinator.com/item?id=1280021 http://news.ycombinator.com/item?id=1280021 * http://perlcabal.org/syn/S06.html#Macros http://perlcabal.org/syn/S06.html#Macros