[Gambas-user] A little thing to play with gambas

Fabien Bodard gambas.fr at ...626...
Mon Oct 15 22:39:21 CEST 2007


In fact i found the .gambas extention too long comparate to other language 
one ... isn't it ?
.py
.c
.bas
.h
.class  < this is the max




Le Monday 15 October 2007 22:19:48 Benoit Minisini, vous avez écrit :
> On lundi 15 octobre 2007, Fabien Bodard wrote:
> > Hi to all,
> > I've done a little Gambas program that allow to use gambas as a script
> > programming language.
> >
> > I know that it will be better to do it in C but it is just to make a
> > mockup...
> >
> > It add Three new KEYWORDS :
> >
> > -  USE : is for give used components
> > -  CLASS *: is for begin a class content and ended with END CLASS
> > -  INCLUDE: Allow to include another script file anywhere in the code
> > (like in php)
> >
> > To use gbs2 you need to compile it in the ide, and copy the executable
> > in /usr/local/bin, then make a symbolic link named 'gbs2'
> >
> > The test then can be launched by the ./test.gbs command
> >
> > I hope i work ... it's just an early alpha... but i think it's suffisely
> > cool to be showed.
> >
> >
> > Fabien Bodard
>
> Actually you can name your "gambas script" with the *.gambas extension.
>
> After all, they are Gambas code, and they are run as scripts, exactly like
> the true Gambas executable. Only one letter change:
>
> "#!/usr/bin/env gbr2" -> "#!/usr/bin/env gbs2"






More information about the User mailing list