I have published the 1.01c Alpha Release of HWXperl (the interpreter for HWX apps). It uses wxPerl (wxWindows) for the GUI lib and GML (GUI Markup Language) for the codes. You can get it at:
http://sourceforge.net/projects/hwx/
HWX now is in Alpha stage. We are developing first the interpreter, specially the GML objects, and after this we go to the HWXeditor. Now HWXperl show all the basics of HWX and GML and now has the architecture defined.
A good improvement was the GML to write the apps. GML is like a HTML, but with some adds in the syntax to help the parser, and can insert perl codes too. The idea is to bring the easiness of Web Sites to GUI apps. And with GML you can put your app in the web too, you just need to load them, like a html. :-P
HWXperl has some differences from the Standart Perl, one is the Class::DotRef. It enables the use of dots for classes, and other things, but this was made inside toke.c, becoming native of the Perl syntax and enabled inside eval() too (thing that can't be done with Filter::Simple). It's very good to work with the GML objects (GUI Controls) and isn't case sensitive:
HWXperl has some tools, one of them is for publishing, where you transforms your script in to a binary (executable) without a compiler. This tool is the PerlBin, it takes any HWXperl binary, change some marks inside it and add your script in the end of the binary. You can use PerlBin with CopyLib, this will create a perl/lib with only the packages used in your app.# For example, I want to destroy a frame (window): # without Class::DotRef: # First you need to have the variable $frame. $frame->Destroy ; # with Cladd::DotRef: # you can do this in any point of the code, since the obj. class i +s global: obj.frame.MyFrameID.destroy ; # You can use DotRef to get a object too: $frame = obj.frame.MyFrameID ; # And work in the normal way: $frame->Destroy ;
I will be glad for your feeback about HWX and ideas, or better, joining to the development team! :-)
Graciliano M. P.
"The creativity is the expression of the liberty".
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: HWXperl - The place for GUI apps in Perl
by PodMaster (Abbot) on Sep 22, 2002 at 04:19 UTC | |
by gmpassos (Priest) on Sep 22, 2002 at 05:14 UTC | |
(more questions) Re: HWXperl - The place for GUI apps in Perl
by PodMaster (Abbot) on Sep 22, 2002 at 12:11 UTC | |
by gmpassos (Priest) on Sep 22, 2002 at 13:45 UTC |