On Thu, 23 Sep 2021, 4:51 am Taylan Kammer, wrote:
> On 22.09.2021 11:53, Damien Mattei wrote:
> > i already do it this way for internal defines ,using a recursive macro
> that build a list of variable using an accumulator. It can works but macro
> expansion seems slow, it was not immediate at co
On 22.09.2021 11:53, Damien Mattei wrote:
> i already do it this way for internal defines ,using a recursive macro that
> build a list of variable using an accumulator. It can works but macro
> expansion seems slow, it was not immediate at compilation on a little example
> (oh nothing more that
i already do it this way for internal defines ,using a recursive macro that
build a list of variable using an accumulator. It can works but macro
expansion seems slow, it was not immediate at compilation on a little
example (oh nothing more that 2 seconds) but i'm not sure it is easily
maintainable
You could do it the same way python does it: have `def` be a macro that
inspects its body for assignments to symbols, and then let-bind them at the
top of the function.
On Wed, 22 Sep 2021, 6:45 pm Damien Mattei, wrote:
> Hi Taylan,
>
> i have used Module System Reflection, and it works almost f
Hi Taylan,
i have used Module System Reflection, and it works almost for what i wanted
to do,the only big problem is that it creates variable binding global, seen
from every where and that breaks my example code, by the way i will display
for everybody an example of use of such a macro,so everyone