arturo-lang / art-html-module

HTML generator for Arturo
MIT License
4 stars 1 forks source link

Html v2 - Proposal #4

Closed RickBarretto closed 1 month ago

RickBarretto commented 2 months ago
RickBarretto commented 2 months ago

This may sound crazy, but the reason why I removed some tests is because I'll make this even more flexible. Instead of determine what is right or wrong, I'll delegate this decision to the final user, by type inference. So, instead of delimite which type each element gets, this just gets and just produces the right output, simple like that.

So, if he is sending a dictionary as parameter, this MUST be a void element, period. Also, this would reduce a lot the current amount of repetitive code, what reduces the chances of finding bugs, so, win-win.

RickBarretto commented 2 months ago

@drkameleon, can you help me to debug this? I have no idea what is going on... image

RickBarretto commented 2 months ago

@drkameleon, and finished! I hope you like it! 🙂

drkameleon commented 1 month ago

And... ready to merge! 🚀