Yah it compiles really quickly too!

The gtk theme seems to be a default gtk one. It’s not too bad though, mostly 
fine with hidpi. Though the shortcuts seems to use ctrl not cmd.

Also I installed gtk4 using brew.

> How do you differentiate between attributes and widgets currently? Both 
> should result in very similar ASTs, shouldn't they?

Currently the dsl isn’t done using a top level macro. Rather each widget uses 
my cdecl applies macro in a template. The templates takes a do-body argument 
and turns it into a function call. It means there’s nothing really to do to 
figure out attributes vs widgets. Child widgets don’t work quite the same in 
Fidget as they’re just templates or maybe an anonymous procs.

That said I’ve not figured out a good way to do a `GridLayout` where you can 
attach a meta attribute very similar to your `{.add_left.}` to child widgets. 
So those made total sense when I saw them!

I actually added a version of cdecl applied that uses ` = ` last night. Going 
to try it tonight. 
<https://github.com/elcritch/cdecl/blob/070bd0249f19aed01c048523b515e61165dce886/tests/testApplies.nim#L373>

The equals argument format seems to break with procs or blocks a bit more. 

Reply via email to