On 22/06/2021 10:19 pm, Seymour J Metz wrote:
It's not a question of what environment it can run in; it's  a question of what 
facilities it supports in those environments.

Indeed. Lua supports TSO, ISPF, CICS, IMS, the full MVS file system including VSAM. DB2 SQL + a SQLite API. A date/time module that supports dates that are greater than Mon Jan 01 1000000 BCE 00:00:00 and less than Mon Jan 01 1000001 00:00:00 etc, etc. We presented at SHARE where we demonstrated how to use Lua integration to convert a 3270 CICS BMS application to a mobile web app https://share.confex.com/share/123/webprogram/Handout/Session15892/15892%20Mobile%20CICS%20Application%20Using%20Lua.pdf.

I spent a lot of time making sure Lua integrated well into the TSO/MVS environment. The irony is I spend very little time in TSO/ISPF these days. I spend most of my time in a shell and switch the ISPF when I want to use SDSF. I write new scripting code in Python which is enhanced ASCII so only runs in z/OS UNIX. Rocket and IBM don't see any value in integrating ported tools with TSO as it's not strategic. The main focus is on containers.

BTW, did you know that the photo sharing app Instagram is written in Python? It's staggering to imagine that what we would consider a scripting language is serving over 1 billion monthly users.



--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of David 
Crayford <dcrayf...@gmail.com>
Sent: Tuesday, June 22, 2021 9:57 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Coding for the future

On 22/06/2021 8:55 pm, Seymour J Metz wrote:
What distinguishes REXX is not syntactic sugar but the plumbing that enables 
close coupling of scripts with applications. Lua is missing that.
Maybe. But I can't think of an environment that REXX runs in that Lua
can't. I could port Python to run in TSO if I had the time but it's a
heavy lift. IBM have ported golang now which is compiled. We've had a
look at it and it's interesting.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to