Thanks, agreed. However I am trying to write code to handle Youtubes rolling cipher which is always changing and is written in JS. So instead of going back and updating my code every time it changes I figure it would be nice to just parse it and generate the relevant nim code dynamically with macros.
I see it as either parsing the page with a javascript engine and getting the result in Nim, or compiling Nim code to Js, and within Nim getting the code, handling it, etc. iow, the dynamic implementation of the rolling cipher will be used only at runtime, but all the surrounding details can be coded in nim. (you have access to dom, etc)