All i new some pseudo code.
template `with`(value : someObject) =
if indentation is ok here, then allow user to write someObject's
members with a dot sign.
allow user to write as many lines starting with a dot.
Compiler, please take the value on the right of each "=" sign in each
line.
Assign that value to the left side expression.
Run
Ha ha just joking... I dont know nothing about templates and macros. I saw a
tutorial but the very first word of that tutorial article prevent me from
learning it. It was NimNode. To study about macro, forst of all, i should need
to mearn AST and NimNode first. I am just a hobby programmer. Fell in love with
this language, but not with the ugly back side of this language.