diff options
author | David Walter Seikel | 2014-03-19 21:09:37 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-03-19 21:09:37 +1000 |
commit | 2acd3b60ea3b32ffa2ce3a1437bef49d532d37c7 (patch) | |
tree | 20233c35a34c4073d71f3ab4c14f8fedf404f347 /ClientHamr | |
parent | Add some notes to test.c. (diff) | |
download | SledjHamr-2acd3b60ea3b32ffa2ce3a1437bef49d532d37c7.zip SledjHamr-2acd3b60ea3b32ffa2ce3a1437bef49d532d37c7.tar.gz SledjHamr-2acd3b60ea3b32ffa2ce3a1437bef49d532d37c7.tar.bz2 SledjHamr-2acd3b60ea3b32ffa2ce3a1437bef49d532d37c7.tar.xz |
More notes, and URLs of interest.
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/GuiLua/GuiLua.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/ClientHamr/GuiLua/GuiLua.c b/ClientHamr/GuiLua/GuiLua.c index 3086889..e0efd00 100644 --- a/ClientHamr/GuiLua/GuiLua.c +++ b/ClientHamr/GuiLua/GuiLua.c | |||
@@ -34,8 +34,10 @@ scripts can have a poper GUI for a change. | |||
34 | 34 | ||
35 | NOTES and TODOs - | 35 | NOTES and TODOs - |
36 | 36 | ||
37 | Making these packages all a sub package of skang seems like a great idea. | ||
38 | |||
37 | See if I can use LuaJIT FFI here. Since this will be a library, and | 39 | See if I can use LuaJIT FFI here. Since this will be a library, and |
38 | skang apps could be writte nin C or Lua, perhaps writing this library to | 40 | skang apps could be written in C or Lua, perhaps writing this library to |
39 | be FFI friendly instead of the usual Lua C binding might be the way to | 41 | be FFI friendly instead of the usual Lua C binding might be the way to |
40 | go? | 42 | go? |
41 | 43 | ||
@@ -108,12 +110,24 @@ thing. Java inheritance and interfaces where used. There's quite a few | |||
108 | variations of OO support has been written for Lua, maybe some of that | 110 | variations of OO support has been written for Lua, maybe some of that |
109 | could be used? http://lua-users.org/wiki/ObjectOrientedProgramming | 111 | could be used? http://lua-users.org/wiki/ObjectOrientedProgramming |
110 | 112 | ||
113 | Other useful links - | ||
114 | |||
115 | http://lua-users.org/wiki/ClassesViaModules (not in the above for some reason. | ||
116 | http://lua-users.org/wiki/MetamethodsTutorial | ||
117 | http://lua-users.org/wiki/MetatableEvents | ||
118 | |||
119 | http://lua-users.org/wiki/MechanismNotPolicy | ||
120 | http://www.inf.puc-rio.br/~roberto/pil2/chapter15.pdf | ||
121 | http://lua-users.org/lists/lua-l/2011-10/msg00485.html | ||
122 | http://lua-users.org/wiki/LuaModuleFunctionCritiqued | ||
123 | |||
111 | Each "users session" (matrix-RAD term that came from Java | 124 | Each "users session" (matrix-RAD term that came from Java |
112 | applets/servlets) has a ThingSpace, which is a tree that holds | 125 | applets/servlets) has a ThingSpace, which is a tree that holds |
113 | everything else. It holds the class cache, commands, loaded modules, | 126 | everything else. It holds the class cache, commands, loaded modules, |
114 | variables and their values, widgets and their states. In matrix-RAD I | 127 | variables and their values, widgets and their states. In matrix-RAD I |
115 | built BonsiaTree and LeafLike, for the old FDO system I built dumbtrees. | 128 | built BonsiaTree and LeafLike, for the old FDO system I built dumbtrees. |
116 | Perhaps some combination of the two will work here? | 129 | Perhaps some combination of the two will work here? On the other hand, |
130 | with Lua tables, who needs trees? lol | ||
117 | 131 | ||
118 | Get/set variables would be done here, though the widget package, for | 132 | Get/set variables would be done here, though the widget package, for |
119 | instance, would override this to deal with the UI side, and call the | 133 | instance, would override this to deal with the UI side, and call the |