10 ms·
I love this. It's very similar to something I've been working on for a while - a programming language for UI designers. The syntax he's arrived at is quite simi
by danielvaughn 4y ago
I love this. It's very similar to something I've been working on for a while - a programming language for UI designers. The syntax he's arrived at is quite similar to mine.
- sonicgear1 4y agoLooking forward to it. I also see this as potential syntax that could be translated into html.
- danielvaughn 4y agoYes exactly. My approach was to make everything a component. In each component, you'd define your props (called "variants" in my language), elements, and styles. Something like this: component Square variants color bg: red elements shape square style square width: 100px height: 100px fill: $bg
- nwienert 4y agohttps://youtu.be/HHTYHm6qLFY https://youtu.be/HHTYHm6qLFY Fwiw I don’t think a new language is the right level of abstraction that will gain popularity.
- ognarb 4y agoSounds like QML but without brackets: https://www.qt.io/product/qt6/qml-book/ch04-qmlstart-qml-syntax https://www.qt.io/product/qt6/qml-book/ch04-qmlstart-qml-syn...
- specialist 4y agoAgreed. With a few tweaks, and adding a define & use (simple class prototyping), it's basically VRML-97. Before the X3D goons ganked it with all their XML and XSchema nonsense.