Please document the syntax of slint files
Could you please document the syntax of the slint language. Something like https://www.sqlite.org/lang.html would be very helpful.
Hi, there is a Slint language reference https://slint.dev/releases/1.4.1/docs/slint/. It also contains details about the syntax. Is that what are you looking for?
Florin,
I was looking at something more formal, for example the syntax diagrams for sqLite that I linked to. Perhaps I am wrong there.
Regards, Martin Ellison (he/him)
On Wed, 14 Feb 2024, 18:04 Florian Blasius, @.***> wrote:
Hi, there is a Slint language reference https://slint.dev/releases/1.4.1/docs/slint/. It also contains details about the syntax. Is that what are you looking for?
— Reply to this email directly, view it on GitHub https://github.com/slint-ui/slint/issues/4614#issuecomment-1943435108, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEA3AVR3GPA3RWTALWSQSTYTSD2DAVCNFSM6AAAAABDHZDE3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBTGQZTKMJQHA . You are receiving this because you authored the thread.Message ID: @.***>
Hi Martin, no problem. Then it I think you suggestion is a improvement for the documentation.
Regards Florian
Do you want this to write tooling or as real documentation?
For the first use-case you might find our tree-sitter grammar handy. It's in editors/tree-sitter-slint/grammar.js. That does of course not work as documentation!
Real documentation. I just want to write slint code for a personal project.
I think other slint users would benefit from the same documentation. The existing documentation is more of a tutorial (despite the name) and reference documentation would be useful.