Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I'm glad to anounce the HWX project for the monks. HWX is an environment for development and execution of open source & portable GUI applications in Perl.

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:

# 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 ;
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.

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".


In reply to HWXperl - The place for GUI apps in Perl by gmpassos

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 02:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found