News for hackers. Stuff that matters.
Re:A man, a Plan. No canals (2011) by draegtun on Thursday January 10, 2013 @05:20AM (#5036259)
> You can have metaprogramming, but it's not the same level by any means.

In the languages I've mentioned it is as the same level. Here are some examples - http://news.ycombinator.com/item?id=3125375

> Take Perl, for example. You can't have robust metaprogramming on a language with an undecidable grammar

I'm referring to Perl6 here which is (intended to be) self hosted via perl6 grammars & also comes with hygienic macros:

- http://en.wikipedia.org/wiki/Perl_6_rules#Grammars

- http://en.wikipedia.org/wiki/Perl_6#Macros

While perl5 won't get this good you'll be surprised what metaprogramming can be done with it.

NB. For an example of macro-like things here is a list of CPAN modules that make use of Devel::Declare - https://metacpan.org/requires/distribution/Devel-Declare?sor...]

> Read through the above link and you'll see the difference.

I have and I remember reading it back in 2005 :) This doesn't affect the list of languages I mentioned earlier.

There are no comments on this comment yet.