aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ClientHamr
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-03-19 21:09:37 +1000
committerDavid Walter Seikel2014-03-19 21:09:37 +1000
commit2acd3b60ea3b32ffa2ce3a1437bef49d532d37c7 (patch)
tree20233c35a34c4073d71f3ab4c14f8fedf404f347 /ClientHamr
parentAdd some notes to test.c. (diff)
downloadSledjHamr-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.c18
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
35NOTES and TODOs - 35NOTES and TODOs -
36 36
37Making these packages all a sub package of skang seems like a great idea.
38
37See if I can use LuaJIT FFI here. Since this will be a library, and 39See if I can use LuaJIT FFI here. Since this will be a library, and
38skang apps could be writte nin C or Lua, perhaps writing this library to 40skang apps could be written in C or Lua, perhaps writing this library to
39be FFI friendly instead of the usual Lua C binding might be the way to 41be FFI friendly instead of the usual Lua C binding might be the way to
40go? 42go?
41 43
@@ -108,12 +110,24 @@ thing. Java inheritance and interfaces where used. There's quite a few
108variations of OO support has been written for Lua, maybe some of that 110variations of OO support has been written for Lua, maybe some of that
109could be used? http://lua-users.org/wiki/ObjectOrientedProgramming 111could be used? http://lua-users.org/wiki/ObjectOrientedProgramming
110 112
113Other useful links -
114
115http://lua-users.org/wiki/ClassesViaModules (not in the above for some reason.
116http://lua-users.org/wiki/MetamethodsTutorial
117http://lua-users.org/wiki/MetatableEvents
118
119http://lua-users.org/wiki/MechanismNotPolicy
120http://www.inf.puc-rio.br/~roberto/pil2/chapter15.pdf
121http://lua-users.org/lists/lua-l/2011-10/msg00485.html
122http://lua-users.org/wiki/LuaModuleFunctionCritiqued
123
111Each "users session" (matrix-RAD term that came from Java 124Each "users session" (matrix-RAD term that came from Java
112applets/servlets) has a ThingSpace, which is a tree that holds 125applets/servlets) has a ThingSpace, which is a tree that holds
113everything else. It holds the class cache, commands, loaded modules, 126everything else. It holds the class cache, commands, loaded modules,
114variables and their values, widgets and their states. In matrix-RAD I 127variables and their values, widgets and their states. In matrix-RAD I
115built BonsiaTree and LeafLike, for the old FDO system I built dumbtrees. 128built BonsiaTree and LeafLike, for the old FDO system I built dumbtrees.
116Perhaps some combination of the two will work here? 129Perhaps some combination of the two will work here? On the other hand,
130with Lua tables, who needs trees? lol
117 131
118Get/set variables would be done here, though the widget package, for 132Get/set variables would be done here, though the widget package, for
119instance, would override this to deal with the UI side, and call the 133instance, would override this to deal with the UI side, and call the