On 7/1/22 8:35 pm, Ronald Wells wrote:
Most hackable
If by hackable you mean it's not secure then that's far from true.
Everything is Lua is contained in a single data structure, the table.
Game mods and frameworks such as Redis use a technique called sandboxing
to remove anything that could be dangerous such as the io library which
could access the file system http://lua-users.org/wiki/SandBoxes.
A good example of this is Wikipedia which uses Lua for templating. It's
removes all libraries that could be used by bad actors
https://www.mediawiki.org/wiki/Extension:Scribunto. Lua is my favorite
scripting language. It's the most elegantly designed programming
language I have ever used. It's incredibly powerful and the complete
syntax can fit on the back of an envelope
http://parrot.github.io/parrot-docs0/0.4.7/html/languages/lua/doc/lua51.bnf.html.
However, my team prefer Python so that's what we use.
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On Behalf Of
David Crayford
Sent: Thursday, January 6, 2022 8:42 PM
To: [email protected]
Subject: Re: ... Re: Top 8 Reasons for using Python instead of REXX for z/OS
** EXTERNAL EMAIL - USE CAUTION **
On 7/1/22 9:44 am, Bob Bridges wrote:
I never heard of Lua until I started playing Factorio a few years ago;
apparently it's the language in which players can add mods to the game. For
that reason I wasn't sure even what it is. Is it really a programming
language, or some special-purpose thingy?
It's a programming language. It's niche is to to be embedded as it's core is tiny which is
why it is the language of choice for video game scripting or mods. Almost all AAA video
games use Lua. It was designed as a configuration language so has features that make it
ideal for writting DSLs
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fleafo.net%2Fguides%2Fdsl-in-lua.html&data=04%7C01%7CRon.Wells%40OMF.COM%7C7772e90be1b44314ffc208d9d1874587%7C57c0053cb5f84a1e8bb6e8afa09f3b82%7C0%7C0%7C637771201790127602%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=BHm%2BNgGLz2WsI9rwgPEXZ5lnn8upcdSIIugwCCSK0y0%3D&reserved=0.
---
Bob Bridges, [email protected], cell 336 382-7313
/* To be "matter of fact" about the world is to blunder into fantasy -
and dull fantasy at that, as the real world is strange and wonderful.
-from the Notebooks of Lazarus Long */
-----Original Message-----
From: IBM Mainframe Discussion List <[email protected]> On
Behalf Of René Jansen
Sent: Thursday, January 6, 2022 20:15
I will look into Lua. Need to do that for TeX anyway.
--- On 6 Jan 2022, at 21:05, David Crayford <[email protected]> wrote:
...All of those requirements are met by Lua which runs on z/OS,
including modules in PDS data sets, supports TSO/ISPF and the entire
file system including VSAM which REXX does not.
https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Flua
4z.github.io%2FLua4z%2F&data=04%7C01%7CRon.Wells%40OMF.COM%7C7772
e90be1b44314ffc208d9d1874587%7C57c0053cb5f84a1e8bb6e8afa09f3b82%7C0%7
C0%7C637771201790127602%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiL
CJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=3uTfz%
2FG47ThubN%2BgkpNWU2ovTuDLfSGNkY0Z5C8SoWQ%3D&reserved=0
----------------------------------------------------------------------
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
Email Disclaimer
This E-mail contains confidential information belonging to the sender, which
may be legally privileged information. This information is intended only for
the use of the individual or entity addressed above. If you are not the
intended recipient, or an employee or agent responsible for delivering it to
the intended recipient, you are hereby notified that any disclosure, copying,
distribution, or the taking of any action in reliance on the contents of the
E-mail or attached files is strictly prohibited.
----------------------------------------------------------------------
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