diff options
author | David Walter Seikel | 2012-02-10 16:45:22 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-10 16:45:22 +1000 |
commit | 79d87a9bf9cec73add710cc9983fc7aa16a8912b (patch) | |
tree | d464f18bf473ae2d9d02a3c9138dcbf6acd9bb7d /LuaSL/README | |
parent | Move sound functions to media. (diff) | |
download | SledjHamr-79d87a9bf9cec73add710cc9983fc7aa16a8912b.zip SledjHamr-79d87a9bf9cec73add710cc9983fc7aa16a8912b.tar.gz SledjHamr-79d87a9bf9cec73add710cc9983fc7aa16a8912b.tar.bz2 SledjHamr-79d87a9bf9cec73add710cc9983fc7aa16a8912b.tar.xz |
More design notes.
Diffstat (limited to '')
-rw-r--r-- | LuaSL/README | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/LuaSL/README b/LuaSL/README index 7eb9ce0..cf5f9ae 100644 --- a/LuaSL/README +++ b/LuaSL/README | |||
@@ -19,7 +19,8 @@ The basic design will be made up as I go along, but so far I have this - | |||
19 | 19 | ||
20 | An object is a file system directory, full of LSL scripts as text files, | 20 | An object is a file system directory, full of LSL scripts as text files, |
21 | notecards as text files, animations as BVH (or later BVJ) files, etc. | 21 | notecards as text files, animations as BVH (or later BVJ) files, etc. |
22 | There will be some sort of metadata in place. | 22 | There will be some sort of metadata in place. This could be created by |
23 | our own OpenSim compatible cache module. | ||
23 | 24 | ||
24 | A parser parses an LSL script, validating it and reporting errors. | 25 | A parser parses an LSL script, validating it and reporting errors. |
25 | 26 | ||
@@ -34,8 +35,9 @@ The Lua source is compiled by the Lua compiler. | |||
34 | 35 | ||
35 | LuaJIT is used as the Lua compiler, library, and runtime. | 36 | LuaJIT is used as the Lua compiler, library, and runtime. |
36 | 37 | ||
37 | Luaproc is used to start up operating system threads and hand Lua | 38 | Luaproc is used to start up operating system threads and hand Lua states |
38 | states between them. | 39 | between them. Luaproc messaging is also being used, but might need to |
40 | change to edje messaging. | ||
39 | 41 | ||
40 | Nails is used to pump commands in and out of the LuaSL system. Incoming | 42 | Nails is used to pump commands in and out of the LuaSL system. Incoming |
41 | commands invoke LSL events via the LuaSL state metatable. LL and OS | 43 | commands invoke LSL events via the LuaSL state metatable. LL and OS |
@@ -45,7 +47,7 @@ to the command pump. | |||
45 | Initialy, since this is the first thing being written, a nails command | 47 | Initialy, since this is the first thing being written, a nails command |
46 | pump client needs to be installed into OpenSim's C# stuff. Though it | 48 | pump client needs to be installed into OpenSim's C# stuff. Though it |
47 | might be possible to talk directly to ROBUST instead. Think I'll try | 49 | might be possible to talk directly to ROBUST instead. Think I'll try |
48 | the ROBUST route, see hov far I can get. That's the general principle | 50 | the ROBUST route, see how far I can get. That's the general principle |
49 | applying in all of this - try to avoid C# and see how for we can get. | 51 | applying in all of this - try to avoid C# and see how for we can get. |
50 | lol | 52 | lol |
51 | 53 | ||
@@ -56,6 +58,14 @@ Some form of serialization will need to be created for saving script | |||
56 | state during shutdowns, passing script state to other threads / | 58 | state during shutdowns, passing script state to other threads / |
57 | processes / computers. | 59 | processes / computers. |
58 | 60 | ||
61 | There will have to be a MySQL (and maybe SQLite) client in the system, | ||
62 | so we can talk directly to the local sim database. Esskyuehl may be | ||
63 | suitable, though it's still in the prototype stage. | ||
64 | |||
65 | Email, HTTP, and XML-RPC might need to be dealt with by us. A ROBUST | ||
66 | client will be needed to. Azy might be suitable, but it's also in | ||
67 | prototype. | ||
68 | |||
59 | 69 | ||
60 | Test harness. | 70 | Test harness. |
61 | ------------- | 71 | ------------- |