codedthinking / Kezdi.jl

An umbrella of Julia packages for data analysis, in loving memory of Gábor Kézdi
Other
9 stars 0 forks source link

refactor: save all reusable code generation logic #68

Closed korenmiklos closed 5 days ago

korenmiklos commented 6 days ago

Bitmask Building, dataframe copying, variable rewrites should all happen separately.

I propose a struct with

This could be created with one function call for all rewrite. Maybe with options, ifable, byable, etc.

Then we can go directly to the core logic of each rewrite.

quote $(Expr(:block, setup...)) Core logic here $(Expre(:block, teardown...)) end |> esc

korenmiklos commented 5 days ago

Done in #69