[Gambas-user] Lua component for Gambas
benoit.minisini at gambas-basic.org
Mon Jul 31 09:21:22 CEST 2023
Le 31/07/2023 à 03:22, Frank a écrit :
> I started making a Gambas component for the Lua language.
> It's already functional. Just assign a value to the Code property and
> call the Execute method.
> If anyone is interested, it's available at
> By the way, is there any more recent documentation or book with
> guidelines on how to create C/C++ components for Gambas?
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
I don't know what's your goal exactly with this component.
But if you go further, I suggest the following:
- Put the code for one class in its own file, for example "c_lua.c" for
the _Lua class.
- I don't see the point for the "Execute" event.
- I don't see the point of adding the properties to make the Lua class a
As the interpreter API documentation is not up to date, ask your
question on the mailing-list, and I will answer.
More information about the User