Parrot-0.0.1

Ketil Z Malde ketil at ii.uib.no
Wed Aug 25 05:16:00 EDT 1999


philh at vision25.demon.co.uk (Phil Hunt) writes:

> The Parrot tool has other potential advantages, e.g: 

> 1. you only have to learn one syntax, that can then be used for
> lots of languages and GUI libraries.

> 2. assuming the right import and export tools have been written,
> Parrot can allow you to use one GUI builder to output to a different
> GUI, for example you could design your GUI in Glade, and use Parrot
> to output it as a series of C++ files for KDE/Qt.

Or - you could extend Parrot to allow switching between GUIs on the
fly.  Parse the GUI spec, building the dialogs and other GUI
components, and voila! your application has a new "skin" (or "theme"
or whatever).

I suppose it might be easier to use an already interpreted language
like TCL to do this, create GUI as separate components that hook into
the application main code.  You'd probably want some business logic in 
the GUI scripts though, like disabling certain widgets depending on
the state in another, etc.

-kzm
-- 
If I haven't seen further, it is by standing in the footprints of giants




More information about the Python-list mailing list