codedthinking / Kezdi.jl

Julia package for data manipulation and analysis
https://codedthinking.github.io/Kezdi.jl/
Other
43 stars 2 forks source link

Use variable interpolations in macros #31

Closed gergelyattilakiss closed 3 months ago

gergelyattilakiss commented 3 months ago

Using the $x notation is capable of interpolation the value of x into the macro expression when the macro is called.

It can also be used for accessing variable values inside the macro like df. using $(esc(df)).

gergelyattilakiss commented 3 months ago

@korenmiklos can this help with testing macros?