On Tuesday, 13 December 2016 at 12:58:42 UTC, Swoorup Joshi wrote:
On Tuesday, 13 December 2016 at 01:03:54 UTC, Ignacious wrote:
Would it be difficult to implement the following, or something with similar capabilities, as a patch to dmd?

[...]

Isn't this what string mixin is for

Not really, since you don't get a tree of each expression nodes. It's more like macros. Pretty similar to what Nim does.

http://nim-lang.org/docs/macros.html
  • ... Ignacious via Digitalmars-d
    • ... Adam D. Ruppe via Digitalmars-d
      • ... rikki cattermole via Digitalmars-d
        • ... Jacob Carlborg via Digitalmars-d
          • ... Adam D. Ruppe via Digitalmars-d
    • ... Swoorup Joshi via Digitalmars-d
      • ... bauss (wtf happend to my name took some old cached title LOL??) via Digitalmars-d

Reply via email to