nimskull icon indicating copy to clipboard operation
nimskull copied to clipboard

add AST builder procs

Open haxscramper opened this issue 2 years ago • 1 comments

initial collection of the procedure to see whether the idea is useful enough to extend it further.

per earlier discussion in matrix, @saem

yeah, this is closer, I think the API should feel a bit like you're writing jsx in react. You simply write the tree as it should be produced, in a single expression. Breaking it up would mean function call in the expression but otherwise just "draw" it like it should be.

haxscramper avatar Jul 03 '22 06:07 haxscramper

I temporarily converted this into a draft PR, I will return to it later on when I have more time to (approximately July 22nd or later)

haxscramper avatar Jul 06 '22 20:07 haxscramper