[Gambas-devel] Improved gbs2

Daniel Campos dcamposf at ...176...
Thu Nov 22 12:26:06 CET 2007


>
> I can help you with the lang file
>

Of course, if you have knowledge or time to do it, you can start with
it, thanks!


>
> ----- Original Message ----
> From: Daniel Campos <dcamposf at ...176...>
> To: mailing list for gambas developers
> <gambas-devel at lists.sourceforge.net>
> Sent: Wednesday, November 21, 2007 11:43:27 AM
> Subject: Re: [Gambas-devel] Improved gbs2
>
>  Thanks, Fabien, this is really useful! I'll try to finish the
> gambas.lang file...
>
> Daniel
>
>
> 2007/11/21, Fabien Bodard <gambas.fr at ...176...>:
> > Le Wednesday 21 November 2007 17:18:27 Daniel Campos, vous avez écrit:
> > > Hi:
> > >
> > > I've made a complete reimplementation of gbs2, the main features:
> > >
> > > -> It can detect and warn about syntax errors prior to invoke the
> compiler.
> > >
> > > -> It is able to redirect the errors from gbc2 to the right source
> > > script file in which the error was done, including the right line
> > > number.
> > >
> > > -> As the prior implementation it can use the "INCLUDE" keyword to
> > > include more script files, but here you can use "-i=file-to-include"
> > > too, so you can reimplement classes and launch the main script using
> > > them
> > >
> > > -> The implementation of a class with a given name can be divided in
> > > more than a file, the gbs2 program will join them, so you can
> > > reimplement methods including different files, or expand the
> > > capabilities of a class with new methods.
> > >
> > > I send the source code as well as an example with an error, now It is
> > > easy to find as you can detect the file and line number in which the
> > > problem exists.
> > >
> > > 1) Compile the gbs2 implementation, then put it into /usr/bin
> > > 2) Run the example: gbs2 program.g
> > > 3) QUIZ! Fix the error and then run it again
> > >
> > > Daniel
> >
> > Marvellous !
> >
> > It is now quicker to find error :)
> > Another great job from you Daniel
> > So for that this is a present for you : The kate highlighting template
> file...
> > Sorry , i've not the gtksourceview one as it is so hard to do...
> > Put it in /usr/share/apps/katepart/syntax
> >
> > To avoid problem on kate color... delete the highlight*.rc file in your
> > home/../.kde/share/app
> > or .kde/conf... i don't remember
> >
> > The .lang file is for gtksourceview...
> > put it in /usr/share/gtksourceview-2.0/language-specs/
> >
> > But it is not finished... if you have time...
> >
> >
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Gambas-devel mailing list
> > Gambas-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-devel
> >
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
>
>  ________________________________
> Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-devel mailing list
> Gambas-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-devel
>
>




More information about the Devel mailing list