Is there a Julia macro that emulates SAS data step?

I am wondering whether there is a macro that emulates a SAS data step. Or more specifically a macro that automatically runs through all rows in a DataFrame such that a symbol indicates a column in a DataFrame (as in a @with macro in DataFramesMeta) and that takes if and for statements.

Any pointers would be greatly appreciated.