[GRASS5] i18n for tcltkgrass
Jan-Oliver Wagner
jan at intevation.de
Tue May 28 03:38:41 EDT 2002
Hi,
of course there already exist some XML parsers for tcl.
When I developed the XML interface description, there was
one nice parser, but with some license issues.
A short search brought up
http://www.proprius.co.uk/resources/sxml_home.htm
At least worth a look - there might be more.
I recommend to directly use the xml inteface specification
to keep tcltk-GRASS up-to-date at a far lower price.
Best
Jan
On Mon, May 20, 2002 at 11:35:08AM +0200, Radim Blazek wrote:
> On Friday 17 May 2002 07:09 pm, Bernhard Reiter wrote:
> > > > > BTW: In g51 Tcl/Tk is already generated from options/flags
> > > > > if parameters are not given:
> > > >
> > > > What are they generated from?
> > >
> > > I suggest to study the source code of 5.1 :-)
> > > In grass51/lib/gis/parser.c is a new function G_gui() doing the
> > > job.
> >
> > Uh, so we do have tcltk specific code in there.
> > It's nice as a hack, but wasn't the idea to use the gui and
> > gui version independent XML interface file?
>
> My idea was to remove necessity of grass/src/tcltkgrass/module/*
> files (now about 2000 rows, 20 modules missing, + I guess some
> inconsistencies). To insert between G_parser and GUI additional
> XML generator and XML parser seemed to me as not necessary, extra
> work. But if you write XML parser in Tcl/Tk, we can remove G_gui
> of course. Or such parser/GUI generator exists?
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/
More information about the grass-dev
mailing list