Commit Graph

51 Commits

Author SHA1 Message Date
Paul Molloy 2cc77e5fba Basic Lua operations working. Code from "programming in Lua 4th ed" by
Roberto Ierusalimschy.

Currently using Lua 5.3.4 downloaded from: https://www.lua.org/ftp/
lua.c and luac.c are the only files excluded as those are the standalone
lua(c) source files which aren't intented for this embedded solution.
License and logo included in lua/doc dir as required/requested.

Currently just have basic Lua creating lua state, loading libraries.
Then loading test.lua file which contain variables.
Which are then retrieved and printed.

Planning to put nearly all control code in lua which addresses all my
frustrations and complaints from last commit.  The more I learn about lua
the more I like it and look forward to it's use.  Planning to implement
the entire gui with lua as well, potentially wxlua
http://wxlua.sourceforge.net/

Plan is to do some basic lua pulling of USB device from lua scripts.
Then modify/create usb functions which can be called from lua directly.
With that should be able to start building up lua scripts to perform
everything which is currently handled by lua code.
2017-07-05 01:15:13 -05:00