in reply to [OT] Re^4: perl compiler optimizer curiosity
in thread perl compiler optimizer curiosity

We had this discussion multiple times before, but I can't find those threads in a hurry.

Preprocessing/source filter means you have an second parsing stage which has not only to reproduce the whole syntax (horror in Perl) but might also expand to unpredictable results when combined (like two source filters)

Lisp'ish Syntactic macros:

There are still some traps, like the need for "hygiene", but this a problem with dumber source filters too.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

update
see also https://en.wikipedia.org/wiki/Macro_(computer_science)#Syntactic_macros

  • Comment on Re^5: perl compiler optimizer curiosity (syntactic macros)