On 05/02/18 16:26, Charles Mills wrote:
I am no expert but are there not "better" (FSVO better, of course)
macro languages, either for C, or generic in their capabilities?

Scheme has hygienic macros, whose expansion is guaranteed not to cause
the accidental capture of identifiers, a pattern-matching language
and a low-level facility for writing macros. The former allows macros
to be written declaratively, while the latter allows the implementation
of alternative frontends for writing macros.

https://en.wikipedia.org/wiki/Hygienic_macro

Perl 6 supports both hygienic and unhygienic macros.

--
                        Martin

Dr Martin Ward | Email: [email protected] | http://www.gkc.org.uk
G.K.Chesterton site: http://www.gkc.org.uk/gkc | Erdos number: 4

Reply via email to