News for hackers. Stuff that matters.
Re:Immediate Mode GUI Programming by jesse__ on Monday January 15, 2024 @07:03PM (#39007732)
> this sounds like you've created a retained mode DSL that gets compiled into immediate mode

Nope, I wrote a template-metaprogramming language, which generates the UI. There's nothing retained-mode about it.

The source code:

https://github.com/scallyw4g/bonsai/blob/672a3520d7537ef4e75...

The result: https://github.com/scallyw4g/bonsai/blob/master/generated/do...

> And yes, 10 KLoC is definitely a small project

I said it cleared the bar for quick-n-dirty. I agree it's not a large amount of code.

There are no comments on this comment yet.