[Gambas-user] Gambas API options
Fabien Bodard
gambas.fr at ...626...
Tue Feb 15 21:38:50 CET 2011
2011/1/20 John Spikowski <support at ...2529...>:
> On Thu, 2011-01-20 at 02:30 +0100, Benoît Minisini wrote:
>> > Hi List,
>> >
>> > Does Gambas provide a API other languages can access? (shared object) I
>> > would like to create the framework for an application in Gambas and
>> > interface with it with ScriptBasic. The .so libraries I did peek at
>> > didn't seem to have anything useful exported.
>> >
>> >
>> > The following link will show a few examples of scripting libraries and
>> > embedding.
>> >
>> > http://www.scriptbasic.org/forum/index.php/topic,211.0.html
>> >
>> > John
>> >
>>
>> What do you want to do ?
>>
>> Call a ScriptBasic program from a Gambas program?
>>
>> Or call a Gambas program from a ScriptBasic program?
>>
>
> Actually both.
>
> By default, ScriptBasic is an embeddable scripting engine API based on
> traditional Basic. Even though written to ANSI C standards, it has an
> object API interface. The link I posted show an example of ScriptBasic
> embedding into itself. The distribution comes with a command line
> interpreter and multi-threaded web server as examples of using the
> ScriptBasic API.
>
> My hope is that Gambas has an open interface to it's components that
> other (scripting) languages can access and share. I was encouraged when
> the term "extensions to the interpreter" was mentioned.
>
> I looked at a few of the shared objects (components) Gambas uses and it
> didn't seem that any useful functions were exported.
>
> BTW: The scripter is a nice feature and like using ScriptBasic's console
> mode interpreter.
>
>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
have you tested gbs3 ?
the gambas scripter...
and i don't understand what you want ... did you want a way to acceed
to the current program varables and functions from a user level script
?
--
Fabien Bodard
More information about the User
mailing list