Re: Can the nim compiler run in the browser? Experimenting Nim to template web pages

2020-06-09 Thread mitai
really interesting! Is there a TODO list on which i can help?

Re: Can the nim compiler run in the browser? Experimenting Nim to template web pages

2020-06-05 Thread dponyatov
Is any abstraction or some generic algorithm exists to build a bridge between graph rewrite (DOM) and async message passing (AJAX)? Looking on a task on writing universal frontend engine, which transfers changes between in-browser DOM and server-side application model (with DOM mirror in every

Re: Can the nim compiler run in the browser? Experimenting Nim to template web pages

2020-06-01 Thread exelotl
This is looking absolutely stellar! Have really wanted something like this, was thinking of making my own but didn't know where to start. I'm definitely gonna try this out :)

Re: Can the nim compiler run in the browser? Experimenting Nim to template web pages

2020-06-01 Thread mildred
I just finished implementing two-way binding, and I'm using macros to generate automatic getters and setters for arbitrary datasets (setters with the ability to update the whole template on parts that changed only) Also, compared to what i did originally, it can now template any arbitrary

Re: Can the nim compiler run in the browser? Experimenting Nim to template web pages

2020-05-02 Thread timothee
see also [https://github.com/pragmagic/karax](https://github.com/pragmagic/karax) which uses a virtual DOM, but is production ready.

Re: Can the nim compiler run in the browser? Experimenting Nim to template web pages

2020-05-02 Thread Kvothe
Nice, i was asking for the svelte approach in nim on the gitter channel the other day. It’s an interesting idea.

Re: Can the nim compiler run in the browser? Experimenting Nim to template web pages

2020-05-02 Thread Omnomnim
Nice project. If your back end has access to the compiler, then you don't need to "embed" anything. You can simply use AJAX or WebSockets to transfer data in real-time.