andlabs / andlabs/libui

C-compliant React-like syntax proposal for libui

Offen
#293 6 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C
Sterne
10.9k
Forks
612
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Hi,

This is a proof-of-concept syntax for making UI programming with **libui** more declarative. I don't really have any experience with this library, but looking at some example apps I imagined a React-like syntax for the library that is still C-complaint.

Here's a gist of control gallery example implemented with this hypothetical syntax:
https://gist.github.com/zheksoon/5ed91f694397a73f10aa882affa637d3

Does it make sense to develop it more? Will it help someone?

Thanks!

PS Actually, there is a real React bindings to libui using libui-node, you can see how the real React syntax looks like:
https://github.com/parro-it/react-libui

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.