[09 Jul 2008] Hollywood and LUA syntax?
Posted: Sat Jun 13, 2020 5:31 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Wed, 09 Jul 2008 20:04:35 -0000
Hi
Some time ago it dawned on me that LUA seems to be a cornerstone of Hollywoods script language. As I had no previous knowledge about LUA this has been a source of much fun and experiments coming to grips with the LUA language and exploiting it inside the framework of Hollywood (or is it the other way round!?)
Anyway. Here is a question for you Andreas... Can I expect to use LUA syntax without restrictions or have you made some changes that modifies behaviour. Two things I am wondering about is the use of '(' and ')' in some cases, as well as indexes starting at 0 or 1 in tables/lists.
I am using the new knowledge to rewrite the GUI kit parts, I published in a dare I say unfinished state some time ago, into more compact code. The aim is also to structure it, so new user controls can be made more or less by copy and paste from other controls supplemented by a unique draw routine and some code to handle any unique functionality.
I start my summer holiday in a few weeks time and hope to be ready with another version at its end. The code will go to the same folder as before. (itemlist)
Have a nice summer holiday everyone.
Jesper
Hi
Some time ago it dawned on me that LUA seems to be a cornerstone of Hollywoods script language. As I had no previous knowledge about LUA this has been a source of much fun and experiments coming to grips with the LUA language and exploiting it inside the framework of Hollywood (or is it the other way round!?)
Anyway. Here is a question for you Andreas... Can I expect to use LUA syntax without restrictions or have you made some changes that modifies behaviour. Two things I am wondering about is the use of '(' and ')' in some cases, as well as indexes starting at 0 or 1 in tables/lists.
I am using the new knowledge to rewrite the GUI kit parts, I published in a dare I say unfinished state some time ago, into more compact code. The aim is also to structure it, so new user controls can be made more or less by copy and paste from other controls supplemented by a unique draw routine and some code to handle any unique functionality.
I start my summer holiday in a few weeks time and hope to be ready with another version at its end. The code will go to the same folder as before. (itemlist)
Have a nice summer holiday everyone.
Jesper