On Friday, 15 June 2018 at 10:53:35 UTC, uknys wrote:
On Friday, 15 June 2018 at 07:27:22 UTC, Simen Kjærås wrote:
[snip]
Yeah I saw that Algebraic doesn't work at compile time, then I
thought of using an Interface with one function (execute()) and
making Hello and Toto as classes implementing even if that's
somewhat slower.
Then I could use pragma(msg,
getSymbolsByUDA!(mixin(__MODULE__), X)); and make an array
sorted by opcode of this interface. Am I right about this ?
That would be the idea, yes.
--
Simen