Lazarus
Programming => LCL => Topic started by: NilBr on May 26, 2021, 09:10:24 pm
-
Has anyone tried to do this?
I was thinking in use LCL as GUI for Go programs...
-
I think that is more a question for a Go forum.
-
I agree, and I port it elsewhere. But maybe someone here have some insights about...
-
I agree, and I port it elsewhere. But maybe someone here have some insights about...
It will involve having to provide a flat, C-like API for the LCL. And using the form designer won't be trivially possible, because it relies on the RTTI and resource systems provided by FPC which Go does not provide. That's all I can say about that topic.
-
That already exists, afaik based on work done by Felipe. I assumed OP was hinting on that. In case it is not:
It is called "govcl", https://github.com/ying32/govcl
-
I was thinking in use LCL as GUI for Go programs...
Just to clarify something: the LCL is a collection of classes etc., many of which have RTTI (Run-Time Type Information); it is not in itself an IDE.
Lazarus is the corresponding IDE, which relies on RTTI etc. provided by the LCL.
Some brave souls drive the LCL directly without using the Lazarus IDE's RAD facilities (i.e. the form designer etc.), but basically the Lazarus IDE, LCL and Object Pascal (plus obviously things like the debugger) are deeply interdependent.
I think what you're really asking is where can you find an IDE that supports Go, and offers something approaching the richness of the Lazarus+LCL RAD combination. As others have said, that really is something which you'd be better discussing with the Go community (or, for that matter, any other self-styled "modern language" community): if they have nothing comparable to offer I assure you that I sympathise.
MarkMLl
-
That already exists, afaik based on work done by Felipe. I assumed OP was hinting on that. In case it is not:
It is called "govcl", https://github.com/ying32/govcl
Gotta admit, that is impressive. :o Especially as aside from Go there seems to be (initial) support Nim (https://github.com/ying32/nim-vcl) and Rust (https://github.com/ying32/rust-vcl) as well...
-
It is called "govcl", https://github.com/ying32/govcl
Wow, what some people are willing to do to avoid having to type "begin" and "end" !
-
That already exists, afaik based on work done by Felipe. I assumed OP was hinting on that. In case it is not:
It is called "govcl", https://github.com/ying32/govcl
In every top of each binding:
The code is automatically generated by the GenlibLcl tool.
This guy knows how to work smart.