2 ms·
I noticed that Araq's personal post about v1.0 mentioned a powerful macro system as a top priority. I wonder if Nim's macro system is now expressive enough that
by mwcampbell 7y ago
I noticed that Araq's personal post about v1.0 mentioned a powerful macro system as a top priority. I wonder if Nim's macro system is now expressive enough that a front-end web framework like Svelte [1] could be implemented using Nim macros, as opposed to Svelte's HTML template language and custom compiler. COuld be useful for developing isomorphic web apps with something lighter than Node on the server side.
[1]: https://svelte.dev/ https://svelte.dev/
- leorize 7y agoI think this is what you're looking for: https://github.com/pragmagic/karax https://github.com/pragmagic/karax
- mwcampbell 7y agoNot quite. Karax has a virtual DOM, and Svelte's creator argues that this is pure overhead [1]. [1]: https://svelte.dev/blog/virtual-dom-is-pure-overhead https://svelte.dev/blog/virtual-dom-is-pure-overhead