To answer Waynes original question, I use all three languages. If I want
to write a simple TSO script or use the SDSF API I reach out for REXX.
If I want to make use of a massive standard library I use Python.
If I'm writing integration code I use Lua.
Lua is a niche language designed to be embedded (which is why I like
it). It doesn't have a huge standard library and makes no assumptions
about file systems other than fopen().
This is good because when I ported it I could easily run Lua scripts
from PDS libraries. I can run it in CICS, anywhere LE C runs. Because it
was designed as a configuration language
I use standard Lua scripts for config DSLs. Lua supplies the parser.
//SHELL EXEC PGM=COZBATCH,PARM='/ /bin/sh -L'
//STEPLIB DD DISP=SHR,DSN=DOC.COZ.LOADLIB
//STDERR DD SYSOUT=*
//STDOUT DD SYSOUT=*
//STDIN DD *
progit push
/*
//CONFIG DD *
path = "/u/bamboo/progit/cex240"
git = {
remote = "ssh://git@intranet:7999/cex/cex240.git",
branch = "bugfix/multiple-fixes",
commit_message = "Publisher API fixes"
}
codepage = "IBM-037"
environment = "CEX240.TEST"
libraries = {
"C",
"CLINKCTL",
"CPP",
"DTL",
"DTLCOPY",
"H",
"HPP",
"LINKCTL",
"MACLIB",
"SCEXEXEC",
"SCEXSAMP",
"SCEXSENU",
"SOURCE",
"USERMACS",
}
/*
https://stackify.com/ruby-vs-python/
On 2020-03-30 11:47 AM, Seymour J Metz wrote:
Well, at the moment Ruby looks better than Python, and I'm wondering about Lua
and Rust. Java and JavaScript are probably unavoidable.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
________________________________________
From: IBM Mainframe Discussion List [[email protected]] on behalf of
Jack J. Woehr [[email protected]]
Sent: Sunday, March 29, 2020 11:19 PM
To: [email protected]
Subject: Re: strange python announcement
On 3/29/20 8:36 PM, Seymour J Metz wrote:
Note; I don't like Perl syntax, but I use it anyway - because it offers me
enough that I'm willing to put up with it.
Perl cool, been using it for about 30 years, but Python is a different
beast.
More coherent and sound language model.
Better and sounder module support.
Math, math, math but not about math.
Supported by a huge, lively, and leading-edge user/developer community.
You're going to love Python on z/OS. It's revolutionizing IBM i.
--
Jack J. Woehr # Science is more than a body of knowledge. It's a way of
http://secure-web.cisco.com/1WaTBfEDP9KyvQgLoUaQfoXdNRSqrfNWlNo-Y7ibSv6qN2KZdxagpZpHlJxa2N8BXufBFPodk2EtCAZci7eReFrRA7kz1L4HivQpNymbaLKs770NxoJv7jFLZ5yLXg0JekC3RcR4uh_SeZN8_YSW2qp_7tlI9T4FBh3n6rvOkQZDts3xZYFxi0G2wcpAZ1Oin2YLPWt2uNxWK4mXYIgPQvJiZozlWisnw96eVmEHN8drf9KXl4yfvDks7IjE-sPXZPBgLnCRI04YSPdZV-mJ164MbHHzskyiVvFwMGKa2o-RNd-hw--8vVSBXYzIdY6X3OIarb4PJcDPUWb_xj7XGM28WpcdYTsHtGpm5Yi7F4Mmea6X-2KEdFdcsIq_mO5aQxmVYVFeyNd3mY-psjqRoUpUoDCEO08pxILfm2w9FCOcwfkWKxrg_0UkPiSxCmwar/http%3A%2F%2Fwww.well.com%2F%7Ejax
# thinking, a way of skeptically interrogating the universe
http://secure-web.cisco.com/1w0INMlAHyfFbfh3MMIyOtqz9Xds39f7efBdy3xtFmhjd_ApdbzA-q7zoLbnbDj6od_EENGJqkX22JMAKoNxiHsnxeGHNkXsqiKTkN_ubkhLIBKS2X3wiS_upxhHIwZFWs7rYoQATKy2YUKUtCH7-FDPMgpyUZITUvhG2AHKx2VSVQcOcLrwXierOG-eabSTFuvO3LwFrk9QdtqvgxwzRvGaZPA1dm-9wxpDpMYx1rZhiSl-gTS2JDKted33AvsRYY6vTAvja4KUheZqE_uR5BZ6g4LQOKutEamicjhdjzIoUDLbYWxc-6paBAAiDs9IzeWC0s4qQdetGIS5bZ-Z55UUF9q2YRVpMpLhXyE1ayto4ZkI1nHXVB_-XTctv21mXs55NNg0eepo9v8emt1zhz-9w8WU0iutRaxAOlh5A1ZlG3QGIJ6expKE1Qu7ZsAXC/http%3A%2F%2Fwww.softwoehr.com
# with a fine understanding of human fallibility. - Carl Sagan
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN