Source language: Translate to:

rlNeoLua - i dreamt about this, and that dream came TRUE! :)

Plug-ins and utilities of interest to NeoBook authors

Moderator: Neosoft Support

rlNeoLua - i dreamt about this, and that dream came TRUE! :)

Postby Guest » Wed Mar 16, 2005 5:39 pm

rlNeoLua Plug-In for NeoBook 4/5

Version: 1.2b

go to http://www.geocities.com/reynolds_maily/rlFunctions/

Note: Whenever I update my plug-ins, the website runs out of bandwidth on the first day. I apologize for this trouble :wink:

Description:

rlNeoLua is a FREE Lua script interpreter plug-in for NeoBook 4.1.x and higher. It allows a neobooker to program in a very powerful and light-weight programming (C/C++/BASIC-like) language. Thus extending the capability of NeoBook much higher than any other multimedia authoring tool available.

Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping.
[/b]
Last edited by Guest on Sun Mar 20, 2005 5:11 pm, edited 2 times in total.
Guest
 

Postby Guest » Wed Mar 16, 2005 5:46 pm

With Permission from reynoldlariza the developer of this plugin

You can obtain it from my website as well

http://www.spiritssoft.us/rlNeoLuaPlugInSetup.zip
Guest
 

Postby Guest » Fri Mar 18, 2005 1:18 am

Hello Reynold,

nice work with the integration of the popular LUA.

A few observations:

You seems to have statical linked the Lua+Lib.dll into your plugin.
Renaming the DLL will produce an error on install or NB5 start (with installed plugin which is then thrown out).

You seems to have hardcoded the copying and use of the Lua+Lib.dll to the [TempDir]. What when a user does not want this? What about housekeeping on programm-end.

You should also provide a link to LUA itself in your docu.
(http://www.lua.org/)
Guest
 

Postby Guest » Fri Mar 18, 2005 3:27 am

HPW wrote:Hello Reynold,

nice work with the integration of the popular LUA.

A few observations:

You seems to have statical linked the Lua+Lib.dll into your plugin.
Renaming the DLL will produce an error on install or NB5 start (with installed plugin which is then thrown out).

You seems to have hardcoded the copying and use of the Lua+Lib.dll to the [TempDir]. What when a user does not want this? What about housekeeping on programm-end.

You should also provide a link to LUA itself in your docu.
(http://www.lua.org/)


omg :wink: , I apologize for this troubles, thank you for testing it out. I will fix this.

Also I have done a major change about the rlNeoLuFile function, I discovered the truth that Lua itself, allows spaghetti style coding, so I did changed a lot for the next release.
(SpirithorseNOOT, gave me head-ache last night, about this :oops: )

Yes the link to the official website of Lua must be added to the help-doc. The updated help file have this link now and some other typo-fix. :wink:

I really apologize for these troubles, I will fix this as soon as possible.

Thanks :wink:
Guest
 

Postby Guest » Fri Mar 18, 2005 5:03 am

yeah well you told me to give you a headache if I had any brilliant suggetions
Guest
 

Postby Guest » Fri Mar 18, 2005 11:59 am

ok version 1.1 is now release!

lot's for fixes and changes.
If you find bugs or problems please post here or contact me :)
Thank you!
Guest
 

Postby Guest » Sat Mar 19, 2005 2:03 pm

Version 1.2 is released! :)

it's much much better now.

- It now have an integrated debugger that will show you if there's any syntax errors, undefine functions, calls/declarations and invalid expressions, statements.
- No more dlls, Lua itself is now fully integrated. and Can be easily used with NeoBook 4/5.
- added nbAlertBox() function.
Guest
 

Postby Guest » Sat Mar 19, 2005 2:33 pm

>it's much much better now.

Yes, well done. Perfect integration.
When I wouldn't be a LISP-fan, I could get a LUA fan. ;-)
Guest
 

Postby Guest » Sat Mar 19, 2005 2:36 pm

HPW wrote:>it's much much better now.

Yes, well done. Perfect integration.
When I wouldn't be a LISP-fan, I could get a LUA fan. ;-)


thank you :oops:
Guest
 

Postby Guest » Sat Mar 19, 2005 4:43 pm

Current version: 1.2b

Another link to download it:

http://es.geocities.com/neobook05/rlNeoLuaPlugInSetup12b.zip

Aaron
Last edited by Guest on Mon Mar 21, 2005 2:52 pm, edited 1 time in total.
Guest
 

Postby Guest » Sat Mar 19, 2005 5:07 pm

thank you very much Aaron :)
Guest
 

Postby Guest » Sun Mar 20, 2005 5:08 pm

Version 1.2b is now released!

What's new?
- modified the print() Lua function to act as a MessageBox().
- The help file now includes a Lua Language Reference.
- included a stand-alone Lua Compiler for running compiled(byte-code) lua scripts.

The Lua compiler is included, which allows you to compile Lua scripts into binaries which can be loaded for later use. You can execute compiled Lua scripts like a normal readable lua script (rlneoluaFile,rlNeoLuaMain, or dofile() lua function).

The main advantages of pre-compiling chunks are: faster loading, protecting source code from user changes, and off-line syntax error detection. Luac can also be used to learn about the Lua virtual machine.

To learn how to program in Lua visit http://www.lua.org/pil/
Guest
 

Postby Sam Cox » Sun Mar 20, 2005 5:15 pm

Hello reynoldlariza,

Thank you for this interesting plug-in. May I suggest adding a version as part of the name of each download so that we can tell them apart? For example, the 1.2b version could be named "rlNeoLuaPlugInSetup12b.zip".

Thank you,
-- Sam
User avatar
Sam Cox
 
Posts: 768
Joined: Fri Apr 01, 2005 7:30 am
Location: Loveland CO USA

Postby Guest » Sun Mar 20, 2005 5:23 pm

sorry about that :wink:

ok it's done now. I've added the "12b" as part of the filename.

Thank's :)
Guest
 

Postby Guest » Sun Mar 20, 2005 11:40 pm

Maybe you could add the version number also to the plugin-name to be visible in neobook's plugin install dialog. (And/Or implement an about-dialog)

Add some doc about the compiler to the doc.
Guest
 

Next

Return to NeoBook Plug-Ins and Utilities

Who is online

Users browsing this forum: No registered users and 1 guest