Lua Game Code Examples

The Lua package for FSUIPC and WideClient is installed automatically for you in the FSUIPC Documents sub-folder in your FS Modules folder. Types of code include standalone reusable functions/classes, reusable modules, example code illustrating the use of other modules, tutorials on using other modules, full programs, and design patterns. LUA is good as a universal language for programming of internal game logic, as there is a ready library for embedding LUA anywhere. write programs in a language called Lua. I have figured out how to pass functions around in Lua, and I am using the technique of inserting functions into tables in order to dynamically assign functions to the cards in a trading card game. Chapter 7: Introduction to Lua C API 37 Syntax 37 Remarks 37 Examples 37 Creating Lua Virtual Machine 37 Calling Lua functions 38 Embedded Lua Interpreter with Custom API and Lua Customization 39 Table manipulation 40 Getting the content at a particular index: 40 Setting the content at a particular index: 41. As mentioned earlier, lua is the programming language LÖVE uses, so you will need to have at least some idea of how lua works to be able to create your game. Events can be connected to a function, and this function will run when the event is called. It includes the customized REPL code from chapter 6. So you can for example define a C++ function say_hello() and make this function callable from a Lua script. The language used in Codea is Lua which is used in lots of video games. There are four types of scripts in Mach4: M codes, modules, screen, and panels. ROBLOX and Lua game development tutorials, tips and tricks #ROBLOXdev #rbxdev. I use them in Adobe Lightroom, but they're pure Lua 5, so can be used anywhere Lua is. txt inside main. txt inside main. org 3d game engine examples test-played for easier access to the engine. lua are executed when the game startup. 2 standard, so if you hit into undefined function see the alternative for it from the reference. Codea for iPad lets you create games and simulations — or any visual idea you have. Custom applications for the Creative Technology Zen X-Fi2 portable media player can be created in Lua. Programming in Lua is targeted at people with some programming background, but does not assume any prior knowledge about Lua or other scripting languages. It contains the game's entire source code, art assets, audio, tools, assets from the show itself (such as backgrounds and scripts), prototype builds and much more. Accessing our C++ game data in Lua. These pages guide you through programs created by other users. 3, LuaJIT, and other Lua engines. lua, menutest. Wonder no further! In this article I'll attempt to stuff Lua scripting into every possible place Lua scripting could be stuffed. The game covers a wide range of programming topics — strings, variables, method invocation, vector drawing, and much more. CMANO - Making a Basic Function. These pages guide you through programs created by other users. * Singles: Flirt Up Your Life uses Lua for in-game scripts and object/character behavior. If you think that something is missing from the list - please go to our GitHub repository and create an issue or even a pull request!. If I'm trying out a new project there is often a build step or setup step or even the project itself. Wonder no further! In this article I'll attempt to stuff Lua scripting into every possible place Lua scripting could be stuffed. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. The PSL is a list of domains where there may be sub-domains outside of the administrator’s control. Not logged in, it's limited to 1000 codes per batch. Language: C C++ D Haskell Lua OCaml PHP Perl Plain Text Python Ruby Scheme Tcl. The Lua (pronounced LOO-ah) programming language is a lightweight, reflective , imperative and procedural language, designed as a scripting language with extensible semantics as a primary goal. Currently, Lua is being used in areas ranging from embedded systems to Web development and is widely spread in the game industry, where knowledge of Lua is an indisputable asset. It consists of the general introduction to the FSUIPC Lua facilities, a reference guide to the FSUIPC added library functions, and an extensive set of examples, some useful right out of the package. For example, lua code to make units explode if they fell down a cliff would need to be synced. raylib-lua binding is self-contained in a header-only file: raylib-lua. lua-http has been written to perform asynchronously so that it can be used in your application, server or game without blocking your main loop. There is no need for an external internet host for Lua scripts, everything is self-contained in your game’s save file (Workshop uploads work the same way). Which language are you using? Are you tranferring from one language to another?. Lua is used in a lot of game engines due to its simple language structure and syntax. the physics engine, the rendering engine is just middleware. If we need to require a file in a Lua script to use functions or constants from it, we'd do it at the top of the script, before beginning our code: local constants = require 'constants' However, make sure to prefix this by mods. All these are available with the engine release, download it fo. Take your game design to the next level, with this complete guide to Roblox coding and scripting! Learn how to code using the programing language Lua to create new objects and games in the Roblox world: from teleporting objects (or PCs/NPCs!), to adding and applying power ups, to creating a leaderboard, and allowing players to save their games. Plus, the scripting capabilities of the Lua language give you full control over game. zip - Lua 5. json file of the save game as a plain text string. The Lua programming language was created in 1993 at the Pontifical Catholic University. Normally this is used only for weapon information. You can open the "lua" folder of the game as a workspace and browse through all the files to discover how all the components (powertrain, controllers, etc) fit together. Boosting our experience to reach MAX lvl Lua. Very simple `Hello world' java program that prints HelloWorld. I need to load this into a game called "Roblox", but it doesn't take 3D files, so I have to use a script to load it into the parts that Roblox can use. 0 works To make it work in the Unity Editor, the main lua dll plus an additional luanet. 1M uncompressed. Code on the Web A web browser is all you need to build with Google Apps Script. Each script get's it's own lua state (virtual machine). It is, however, most suitable for retro like games. Game states (loading, intro sequence, main game) - Chapter 18. game_class_example. You can use the Lua Debugger extension to debug Lua programs with Visual Studio Code. In the game the player uses five bullets to shoot at his enemies. It will review the basics of how to format code, the building blocks for you to base your code on and provide some examples. I'm trying to get in to game dev as a hobby and Love/Lua is great for someone who wants to make games, but would rather spend time writing code than learning something like Unity. Many Thanks again George. Lua Programming and Game Development with LÖVE 4. Lua has its value across multiple platforms ranging from large server systems to small mobile applications. In this presentation I'd like to explain where systemd stands in 2016, and where we want to take it. org's global Hour of Code event, we are publishing a series of introductory scripting tutorials that you can follow at. We will start off this tutorial with a complete, working program that will most likely make absolutely no sense to you. How to use Ideone? Choose a programming language, enter the source code with optional input data and you are ready to go!. This plugin uses Lua 5. Ndless is not required. The Cons: The code examples contain a lot of errors. This tutorial covers various topics ranging from the basics of Lua to its scope in various applications. The varous Digilines mods also have interaction with the mesecons controller, and include their own brand of controller. This website can generate batches of up to 250,000 unique random codes at a time. Hey, by the way, most DCS config files are written in Lua as well, so if you want to see live examples of Lua in action, you can go and check some of them out now. Do games usually just use Lua as a "glue" languge, and implement the rest in C/C++? Yes. Hi there! LÖVE is an *awesome* framework you can use to make 2D games in Lua. searchcode is a free source code and documentation search engine. These are the only two code files we will need. Our mission: to help people learn to code for free. You may also want to have a look at the Lua documentation and/or start asking questions at the GameGuardian forums. In the game the player uses five bullets to shoot at his enemies. Code on the Web A web browser is all you need to build with Google Apps Script. table[0] = "foo" is valid and works. Lua is simple and very easy to pick up, although I think the next time I touch Love and Lua I'll try out the OOP library the author mentions instead of rolling my own. A few days ago I was looking here and on GTA Forums how to reboot LUA scripts ingame. org, 2006 Game Development with Lua Charles River Media, 2005 入門Luaプログラミング 2007 World of Warcraft Programming Wiley, 2008. How to make the simplest script, you can read on a special page: How to write a simple script. CMANO - Lua Tables. The varous Digilines mods also have interaction with the mesecons controller, and include their own brand of controller. GitHub Gist: instantly share code, notes, and snippets. If you think that something is missing from the list - please go to our GitHub repository and create an issue or even a pull request!. Leadwerks coding tutorials are easy to follow and teach you everything you need to know to make your own games, with hundreds of code examples. You can debug the scripts written here by setting a breakpoint by clicking next to the line numbers. Every Leadwerks project has one script in the "Scripts" folder called "Main. Hi everyone. I think by working with these samples, it's easily possible to make a good one for a game. Squirrel is a high level imperative, object-oriented programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games. In the end, we will be executing our own Lua code inside the game context without any limitation. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. In a couple of hours, you’ll find yourself building and running your next great game. Therefore, I suggest you walk through this lua quick guide. This is a discussion on lua converter within the NDS Developers Forum forums, part of the NDS Development and Homebrew category; so i wrote my hello world except its hello QJ for dslua and i was thinking if u substitute a. Some sources have been slightly reorganized for better presentation as stand-alone programs. Lua is used for numerous applications, from games to web and image processing applications. The Lua package for FSUIPC and WideClient is installed automatically for you in the FSUIPC Documents sub-folder in your FS Modules folder. All books are in clear copy here, and all files are secure so don't worry about it. nil (no interaction response) or a table -- see sbvnobject and challengedoor examples in -- the link for code examples below. Combine the behavioral traits of your game objects using inheritance and multiple inheritance. Codea is an app designed to make it easy to create games and software. Hour of Code is a huge event every year, and in this free guide called Hour of Code 2019 | Roblox Coding with Lua, we share a series of free activities on one of our favorite kids coding and game development platforms - Roblox Studio. This file will store all of our game logic. Nodejs style network API Event-driven API for network applicaitons, which faciliates developers writing code running on a 5mm*5mm sized MCU in Nodejs style. Not finding anything specific (only suggestive examples) - I risked by myself write such code: [See attached archive & ScreenShots]. Requirements. When a developer wishes to perform that sequence of commands, they can refer to it by name, rather than cutting-and-pasting the code block over-and-over. lua-psl is a set of bindings to libpsl, a C library that handles the Public Suffix List (PSL). It's possible to change object properties, control object behavior and read. The reader should know the basics of programming and using the Lua language. methods to allow the use of C functions inside Lua code and vice-versa. We’ll walk through a couple of variations and go over their good and bad points. It is probably the largest pay-to-play Java online game, with over 5000 paying members and 1 million free registrations. If you are new to lua, why not just use c++ (you just have to consider the entire script is in a while true loop so it is a matter of organizing your code differently). While coding, you can modify the parameters in the code to customize your game. Programming in Lua by Roberto Ierusalimschy Code Examples. Examples from Libraries. allwords (iterates over all words of a file), from Section 7. Here are some of Pulsar’s features:. Quoting the release text, it adds "a new module system, incremental garbage collection, new mechanism for varargs, new syntax for long strings and comments, mod and length operators, metatables for all types, new configuration scheme via luaconf. Once you’ve got these details mastered, everything gets a lot easier. This website can generate batches of up to 250,000 unique random codes at a time. There are numerous typos, some variables have different names in different parts of the code, and the code examples have very inconsistent indentation. The same applies if. Using the object-oriented approach in Lua will also help in the process of debugging and fixing the issues in your code much faster so you can launch your game as soon as possible. Lua is a very powerful scripting language. A Lua Script is essentially a Lua program that creates the whole contents of a web page and returns it to the client. If I'm trying out a new project there is often a build step or setup step or even the project itself. In this course, we'll cover the basics of Lua and also see how Lua's flexible meta table system allows us to implement many object-oriented concepts like classes. I need to load this into a game called "Roblox", but it doesn't take 3D files, so I have to use a script to load it into the parts that Roblox can use. The Appkit is a project-agnostic collection of game components that provides some basic scripts and units for a game. Clone the sdk source code from poco-sdk repo. Clean OOP approach − Gideros provides its own class system with all the basic OOP standards, enabling you to write clean and reusable code for any of your future games. Lua uses lines of code to tell the game what to do at a certain time or place. Programming in Lua is targeted at people with some programming background, but does not assume any prior knowledge about Lua or other scripting languages. There are numerous typos, some variables have different names in different parts of the code, and the code examples have very inconsistent indentation. nice i was able to edit this, aristathGR was here Roblox Wiki is a FANDOM Games. cjson anddkjson are recommended, but you can use other JSON libraries whose interfaces are compatible. Useful Lua code snippets. Classes; Lua Resource Pack Making; Example Programs. And this can even be trimmed to only look for table files, looking for local files first is for updating/debugging. Nodejs style network API Event-driven API for network applicaitons, which faciliates developers writing code running on a 5mm*5mm sized MCU in Nodejs style. It’s a great way to add more code and scripts without having to recompile the existing source code for the primary application. You can run all of the code examples I provide directly in Cheat Engine, but don’t just copy them over because CE won’t recognize some of the copied characters! If you do copy/paste, look for the characters you have to fill in. The project wasn't perfect, but it was a great example 5 years ago. Very much helped me to better understand how Lua and Unity can be used in a practical way. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. 1565521968216. Lua is an elegant, portable, fast, and embarrassingly flexible language. 1 64 10 50 1 100 1 100 1 1 abc {textVariable} abc {textVariable} {textVariable} abc abc abc abc 5 {listVariable} {listVariable} {listVariable} {listVariable}, 100 50 0 #ff0000 #3333ff 0. This allows developers who want a convenient runtime scripting language to easily implement the basic API elements needed by the scripting language, then use Lua code from their applications. In the next block of code, we create a window that is 1024 x 768 pixels in size. Plus, the scripting capabilities of the Lua language give you full control over game. 1 of the official Lua specification is implemented, and should suit most addon maker's needs. It’s a great way to add more code and scripts without having to recompile the existing source code for the primary application. json file of the save game as a plain text string. For example, it is the embedded scripting language of network applications like nmap and wireshark, and can also be found as a scripting language in World of Warcraft, Orbiter and other games. It's free, open-source, and works on Windows, Mac OS X, Linux, Android and iOS. Plug and play Debug Lua files inside your application without making any code changes. Lua is most commonly used in the industry as a scripting language on top of the engine. Edited November 26, 2018 by TrisT. All gists Back to GitHub. If you have prior experience with Java but not with game development, we recommend starting with Unit 2 and Unit 3. This may be a part being touched, or a Player respawning. stonehearth when requiring stonehearth files from your mod:. Lua first appeared in HAProxy 1. These are the only two code files we will need. Lua Scripting uses the LuaJava API, this gives you the ability to access Java classes and objects from Lua. I tried to make it as detailed as possible so it may appear quite long for a basic tutorial but it actually is pretty short due to the parts of code and screenshots included. * SimCity 4 uses Lua for some in-game scripts. There are some pretty major differences in each version of Lua. What is Lumberyard? Amazon Lumberyard is a free, cross-platform, 3D game engine that allows you to create high-quality games, connect your games to the compute and storage of the AWS Cloud, and engage fans on Twitch. Visit us @ Source Codes World. After an introduction to Lua, we are going to analyze how we can hook Lua inside any game and then we are going to explain each step to write your own LuaHook. Please note that while the game's own Lua scripts use the functions listed below, your own mod will not be able to use many of them. Plug and play Debug Lua files inside your application without making any code changes. Update`, `Appkit. Lua is a very powerful scripting language. lua it will run when the board resets. " + the type of turret I last added. This tutorial is going to build on a basic knowledge of Lua to create some basic World of Warcraft addons. As our game server is written in C++ that meant embedding and integrating Lua into C++. Lua's C API allows exceptionally clean and simple code both to call Lua from C, and to call C from Lua. 2, and can easiy suit for furture versions It can works on cocos2d-x 3. Engines are separate from game-specific code, which enables different A6 Game Engine, C-script like language/C++/Delphi, Windows, Commercial, 3D, Yes, Yes logic. Director class was the only scene management choice at the time and there was no way to organize projects with sub-directories. Comments in Lua - Lua example. Lua is very popular because it provides "meta language" features. When you are programming the ESP8266 with Lua, you can write any Lua programs you like to the board's flash memory. This tutorial now covers version 5. As described above, it is necessary to have access to instances of classes to use the scripting API. We also have thousands of freeCodeCamp study groups around the world. Here is the complete listing for main. Depending on platform, a variety of different video and audio output methods are supported. Notably, operating system and file I/O libraries are not present. Each enemy will then create another four bullets that help take down a larger number of targets. Lua also is used to teach coding in the Codea iPad application. The list is divided in two categories: "Mappable" codes, to which Unicode characters can be assigned in the High-level editor "Non-mappable" codes (modifiers, special keys). There is however, an alternative way of laying out SWeps. lua - launches balls. It also exposes an interface to manage `World` objects, `Level` objects, and arbitrary game objects. plot (plots the graph of a function), from Chapter 6. exe), which I have been granted access to and am supporting, all the LUA code is open source allowing users to examine and modify. Maybe you don't mathematically know how to make a tank, but you should be able to find someone else's tank through the toolbox, copy the code, and try to implement it yourself. and associated with the Lua Source File format as it's primary file type. We will start off this tutorial with a complete, working program that will most likely make absolutely no sense to you. Books Beginning Lua Programming Wrox, 2007 Lua 5. A Lua Script is essentially a Lua program that creates the whole contents of a web page and returns it to the client. In my understanding for example musicdsp. Note that the World of Warcraft API does not provide all standard Lua functions. The game engine you waited for. Some events also come with arguments, that can be used. This is Java 2D games tutorial. That makes it unfortunately unusuable for some tasks so I hope the attached patch has some chance to get added. Update`, `Appkit. If I'm trying out a new project there is often a build step or setup step or even the project itself. Special input URL types are available to read input from a variety of sources other than disk files. Previous appearances will be overwritten. The goal of the game is to produce an. There is no need for an external internet host for Lua scripts, everything is self-contained in your game's save file (Workshop uploads work the same way). The Lua programming language was created in 1993 at the Pontifical Catholic University. Cocos2d uses Lua to build games with their Cocos Code IDE. The command line tools also let you run MoonScript directly from the command line, like any first-class scripting language. The scenario is as follows. If you are of an impatient kind, want to learn a little bit of Lua. The first example is a real program from the Lua site; it illustrates the use of Lua as a data description language. Elementary students will learn the logical thinking required to eventually do "real" text-based programming using Lua -- but Lua is not for young learners. Unofficial documentation for the Module API - the system built into Transformice that allows minigames to run without a bot. 5 released Fourth edition of Programming in Lua available as e-book; Lua Workshop 2018 held in Kaunas, Lithuania. This allows developers who want a convenient runtime scripting language to easily implement the basic API elements needed by the scripting language, then use Lua code from their applications. I’ll write about integrating Lua into Unity as a separate post. dll has to be somewhere Unity can find. * Spring (computer game) is an advanced open-source RTS engine, which is able to use Lua for many things, including unit. The garbage collection feature is often quite useful in games which consume a lot of memory due to rich graphics that is used. Lua (from the Portuguese word for "moon" ) is a scripting language used by World of Warcraft for Interface Customization. list of basic c++ programs about if statements, control structure, loops, recursion etc which helps to understand the basic concept in coding. Lua has a wide array of uses, but it is commonly used as an extension language for web applications and video games. Now this article might a tad on the lengthy side but it has a lot of repeated code listings so don't worry! In the beginning To use Lua scripting in a game, you first need a game. Asynchronous operations are achieved by utilizing cqueues, a Lua/C library that incorporates Lua yielding and kernel level APIs to reduce CPU usage. When developers choose to code a game in Java, apparently Lua is not an option anymore. lua which contains the Lua source code for the addon and SimpleCombatHud. As wziard said, lots of code readingand May the Source be with you!. It can't be "won" yet, because it needs additional commands from chapter 17. If it exists, the link will bring you to the series table of contents, otherwise there may be multiple links. Learn to Code Games If you want to make engaging games, programming is the way to go. Using supplied graphics we will code a shooting game using Lua and the Corona SDK API's. plot (plots the graph of a function), from Chapter 6. I've tried out some of the most entertaining and useful games for learning to code. Here are tutorials and links to online resources. I have seen people discussing Lua's use in games everywhere. Writing your first Android game using the Corona SDK If you have any coding experience then the example code should be easy enough to follow. The BASIC language was an OK start, but I'm struck at how messy it can get with all those GOTO statements. This tutorial covers various topics ranging from the basics of Lua to its scope in various applications. LÖVE2d for Lua Game Programming makes it easier and quicker for you to learn everything you need to know about game programming. You may have to register before you can post: click the register link above to proceed. Take your game design to the next level, with this complete guide to Roblox coding and scripting! Learn how to code using the programing language Lua to create new objects and games in the Roblox world: from teleporting objects (or PCs/NPCs!), to adding and applying power ups, to creating a leaderboard, and allowing players to save their games. Properly handling scripting errors. Using ready-made graphics, we'll create an entertaining game using the Lua programming language and the Corona SDK APIs. You should be able to use a JSON library in a Lua program to be debugged. Lua Java - Which programs are fastest? Back in April 2010, Russ Cox charitably suggested that only fannkuch-redux, fasta, k-nucleotide, mandlebrot, nbody, reverse-complement and spectral-norm were close to fair comparisons. Utility which loads Tiled map (exported to lua format) and provides selector methods for certain elements. In my understanding for example musicdsp. Depending on platform, a variety of different video and audio output methods are supported. Programs specifically designed for Command Computers. With a comprehensive curriculum that includes six computer science units and reinforces learning through project-based game development and web development units, kids will progress on a journey from basic. You should be able to use luasocket in a Lua program to be debugged. Discover and install extensions and subscriptions to create the dev environment you need. It's possible to change object properties, control object behavior and read. A few days ago I was looking here and on GTA Forums how to reboot LUA scripts ingame. Squirrel is a high level imperative, object-oriented programming language, designed to be a light-weight scripting language that fits in the size, memory bandwidth, and real-time requirements of applications like video games. As described above, it is necessary to have access to instances of classes to use the scripting API. move_sprite_mouse. py; Move a sprite with the keyboard in discrete "jumps. This article will present an introductory example of calling lua functions from C++. The Random Code Generator. This page has been accessed 81,119 times. For more resources about cqueues, please see: The cqueues website for more information about the cqueues. There are numerous typos, some variables have different names in different parts of the code, and the code examples have very inconsistent indentation. But the lua code to produce the attractor is rather. Tired of looking at the globals. This site tries to gather open-source remakes of great old games in one place. - In the Lua code a member of ExposedMembers must be defined underneath the definition of the function it is referring to, or else it will reference a nil value. You can also use -- to comment out a single line instead of a block. lua file inside the prefabs folder, referencing my custom tracks when it's assigning the music to "busy" and "danger", like it. The latest stable version of Lua is Lua 5. But first, let’s write the game rules. Some basics of using tables in Lua. In this presentation I'd like to explain where systemd stands in 2016, and where we want to take it. Begginers Guide To Lua Scripting. March 28, 2013 - Port Part 1 from old blog. If you want to learn more about Telegram bots, start with our Introduction to Bots telegram-bot-lua. A Lua Page is a conventional markup text (HTML, XML etc) file that embeds Lua code using some special tags. What is Lumberyard? Amazon Lumberyard is a free, cross-platform, 3D game engine that allows you to create high-quality games, connect your games to the compute and storage of the AWS Cloud, and engage fans on Twitch. It is probably the largest pay-to-play Java online game, with over 5000 paying members and 1 million free registrations. Check out Learn To Code In LUA!. Here are tutorials and links to online resources. Some of the examples in this guide will use cqueues for simple demonstrations. Lua Templates are first converted to Lua code when they are parsed for the first time and then executed, which generates the output, optionally escaping the output it for the target format. If you pass it command-line args, it assumes the args are files with Lua code, and tries to execute them. These functions are part of the Lua programming language (v5. lua with the basic. C++; Qt / Color Dialog 1: Drag Drop 7: Draw Shape 8: Font Dialog 1: foreach 1: Layout 8: Open File Dialog 2. 1 Reference Manual Lua. If the files are not there make sure you installed the mod in the game. Codea is designed to let you touch your code. LUA files can be used as stand-alone scripting files (in which they are usually stored in a text-based file format) or they can be compiled to create an executable software program. Most LUA files can be viewed with six known software applications, typically Microsoft Notepad developed by Microsoft Corporation. Currently, Lua is being used in areas ranging from embedded systems to Web development and is widely spread in the game industry, where knowledge of Lua is an indisputable asset. 1 Reference Manual. But first, let's write the game rules. the JAR A320 – I haven’t read the Lua scripts myself. A few days ago I was looking here and on GTA Forums how to reboot LUA scripts ingame. Begginers Guide To Lua Scripting. Boosting our experience to reach MAX lvl Lua. A telling exception from this list are Java games on consoles. Turn your thoughts into interactive creations that make use of iPad features like Multi-Touch and the accelerometer. Lua is freely distributable (under MIT license) open-source codes in C. We’ll demonstrate some code examples, but see our Lua code repository for more context. Generated code is not always 100% correct/optimal (Lua has it's own quirks and strong points), but gives a good idea of how different syntax structures translate, and can be used to largely automate the process of porting code for use on the Lua side. Really, the motivation here is that I want to make other posts with code examples that use this, and so I should document it. It is an extremely powerful, flexible and easy to integrate scripting language. Not finding anything specific (only suggestive examples) - I risked by myself write such code: [See attached archive & ScreenShots]. lua, is just a test suite to see the added functionality in action.