IoT
Government // Enterprise Architecture
Commentary
8/31/2008
12:00 AM
Commentary
Commentary
Commentary
50%
50%
RELATED EVENTS
IoT & Insurance: How Big Data May Affect Your Privacy & Premiums
May 06, 2016
Gwenn Bezard is co-founder and research director at Aite Group, where he leads the insurance pract ...Read More>>

FIJI Fun - Still Crazy After All These Years

In 2001 I posted the last public changes of my ForthIsh Java Interpreter to SourceForge. There was a lot of interest in Java interpreters at that time. FIJI was a pretty good cut but the arcaneness of addressing Java classes in RPN insured a manageably small user community, so to speak. Jump ahead to this week when

In 2001 I posted the last public changes of my ForthIsh Java Interpreter to SourceForge. There was a lot of interest in Java interpreters at that time. FIJI was a pretty good cut but the arcaneness of addressing Java classes in RPN insured a manageably small user community, so to speak.

Jump ahead to this week when PigIron needs some serious automated testing.

We're not talking about write-once unit testing here, these tests have to be customized and parameterized to the testing installation because they create and destroy entities such as virtual images and virtual LANs at the superuser level in very complex environments.

 

REXX being popular in the mainframe world, BSF4Rexx is the obvious choice for what's going to be months of hand-rolled testing via scripting. As I wrestled with the installation, building Open ObjectRexx for Solaris and compiling and installing BSF4Rexx with tips from author Rony Flatscher, I started musing upon my own sadly neglected Java scripting framework ...

{geshibot}` \ Call the com.softwoehr.pigiron.Main.main() with HOST PORT USERID PASSWORD TARGETID` drop

: set-array ` \ array(array) index(long) object(any class but must be object) -- ` drop
rot java.lang.Object ()
( swap , rot Long>intparam , swap java.lang.Object () ,
java.lang.reflect.Array class set rot ) drop
;

: compose-pig-args ` \ String String String String String -- String[] ` drop
5 java.lang.String array
5 0 do
dup rot 4 0 index - swap set-array
loop
;

: pigiron-main ` \ String String String String String -- ret ` drop
compose-pig-args com.softwoehr.pigiron.Main class main rot ( swap , ) ;
{/geshibot}

Comment  | 
Email This  | 
Print  | 
RSS
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Register for InformationWeek Newsletters
White Papers
Current Issue
4 Trends Shaping Digital Transformation in Insurance
Insurers no longer have a choice about digital adoption if they want to remain relevant. A comprehensive enterprise-wide digital strategy is fundamental to doing business today.
Back Issues | Must Reads
Video
All Videos
Slideshows
Twitter Feed
InformationWeek Radio
Archived InformationWeek Radio
Join us for a roundup of the top stories on InformationWeek.com for the week of April 24, 2016. We'll be talking with the InformationWeek.com editors and correspondents who brought you the top stories of the week!
FULL SCHEDULE | ARCHIVED SHOWS
Sponsored Live Streaming Video
Everything You've Been Told About Mobility Is Wrong
Attend this video symposium with Sean Wisdom, Global Director of Mobility Solutions, and learn about how you can harness powerful new products to mobilize your business potential.
Full schedule | Archived Shows