ooRexx logo ooRexx code - Work in Progress

(oo)Rexx

   Rexx history

   Rexx Language Association

   RexxLA's www.ooRexx.org

   Mark Hessling's www.rexx.org

   Howard Fossdick's www.rexxinfo.org

   Rony Flatscher's www.ronyrexx.net

   Josep Maria Blasco's rexx.epbcn.com

   ooRexx Classes and Methods

   ooRexx Messages and Codes

   ooRexx Downloads

   Back Home

Here are some (mostly oo)Rexx widgets/programs that are not complete yet and/or abandoned by me.

If you don't like the filetype extensions used, you can, of course, change them to your own liking without compromising their functionality.

NameDescriptionSource
xmlDOM.cls A non-validating XML DOM (Level 1) parser, DOM builder with accessor DOM methods. show
xmlDOM HTML documentation The documentation for the above in HTML format.
tryxmldom.rex Demonstrates using xmldom.cls, by transforming a Google maps directions query (XML) result into a GPX formatted stream. show
decodePoly.rex Used in tryxmldom.rex above. show
LongPondLane-vanEttenLane.xml A sample result of a Google Maps directions query, suitable as input for tryxmldom.rex.
rexx_gtk4_trial A provisional excercise to use GTK4 from ooRexx for windowing support rexx_gtk4.zip.
puzzle15.rex Sorry Michael, couldn't resist an excellent demo like this!
A clauded version of the 15-puzzle, Claude coded it, I specified how, took 6 iterations.
show
rexx_gtk4_trial.html Updated Makefile to check for Gtk version 4.12 or higher, included librexx_gtk4.so_ubuntu.
You can try the one provided by renaming to librexx_gtk4.so to check if it works for you.
For those of you interested (in yet another windowing interface for oorexx) the attached zip file contains the result of 2 days working with the free v>
You will find the following files in the rexx_gtk4.zip file:
  • hello.rex - a simple hello world in a window.
  • counter.rex - a window with 3 buttons that manipulate a counter of button clicks.
  • form.rex - a form asking for name, email anf telnr in entry fields and a button to submit the values.
  • Makefile - to compile and link the c(++) code that follows.
  • rexx_gtk4_bridge.cpp - the c(++) code used to implement the interfacein a shared library.
  • rexx_gtk4_bridge.h - the necessary includes.
I solelely use Linux nowadays, in my case Ubuntu or Mint and the Makefile lists the development packages needed for a Ubuntu
based linux system, but I guess adapoted easely to other systems.
To use unzip the rexx_gtk4.zip file in a directory of your choice where you have write access to, possibly you may need to
use chmod u+w * to acquire write rights.
To compile the shared library with all necessary packages installed type:
make
This should result in librexx_gtk4.so being generated in the same directory,. To run the provided rexx scripts type:
LD_LIBRARY_PATH=. rexx ./hello.rex
That's it. Of course this is still a very provisional effort, but shows some possibilities.The code is reasonably commented
if you want to dig into the internals.
It could be a starting point, the gtk4.cls file can possibly be generated by using Gobject Introspection Repository functions
and the code generated via rexx_gtk4.cpp based on the input from gtk4.cls.