Re:State of the Common Lisp ecosystem, 2020
by kazinator on Monday February 08, 2021 @04:14PM
(#26070216)
Note that declarative syntax for specifying GUI properties is actually old hat, too. (Even if we ignore things like HTML and CSS).
I mean, for instance, oh, Windows resource files.
Glancing through CLIM, I also don't see anything like that sort of separation between GUI logic and form.
Re:State of the Common Lisp ecosystem, 2020
by setpatchaddress on Monday February 08, 2021 @08:12PM
(#26072631)
Sure, the lineage of declarative UI is pretty long. I'm aware of Windows resource files and the Mac's resource files that inspired them; there may be earlier antecedents on 8-bit micros.
SwiftUI provides a fundamentally different way of thinking about UI composition and managing data flow in your app. Much of the GUI logic simply disappears. Syntactically and functionally, it seems like something structured like it would be a great fit for a cross-platform Lisp UI framework.
I glanced at CLIM, and it's very much still traditional verbose, imperative GUI code. Someone should really take a look at doing a Lisp version of the SwiftUI concept. It seems to be made for s-expressions.