2 ms·
> Hygienic macros and a strict phase separation are not distinctive to scheme, many languages have this now Somebody has already written that Rust doesn't. And
by ReleaseCandidat 3y ago
> Hygienic macros and a strict phase separation are not distinctive to scheme, many languages have this now
Somebody has already written that Rust doesn't. And I wouldn't say 'many', I know of Elixir which does have them.
- patrec 3y agoRust macros are partially hygienic, but even scheme's macros turned out to have unintended hygiene violations (https://okmij.org/ftp/Scheme/Dirty-Macros.pdf https://okmij.org/ftp/Scheme/Dirty-Macros.pdf). > And I wouldn't say 'many', I know of Elixir Rust, Julia and Elixir are three fairly mainstream languages with hygienic macros, and there are many more obscure languages (Dylan, and I believe Perl6 aka Raku) to outright esoteric ones (PLOT), as well as hygenic macro add-ons like sweet.js.