diff options
author | David Walter Seikel | 2016-02-26 18:18:35 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-02-26 18:18:35 +1000 |
commit | ca1331e2d253d4a399cdbe8c7d0782e6662080c4 (patch) | |
tree | 58595591905163a1f4647f5ac3c25da701b0efaf | |
parent | Notes about a web based 3D viewer. Happy someone else is working on it. B-) (diff) | |
download | SledjHamr-ca1331e2d253d4a399cdbe8c7d0782e6662080c4.zip SledjHamr-ca1331e2d253d4a399cdbe8c7d0782e6662080c4.tar.gz SledjHamr-ca1331e2d253d4a399cdbe8c7d0782e6662080c4.tar.bz2 SledjHamr-ca1331e2d253d4a399cdbe8c7d0782e6662080c4.tar.xz |
Added LunaCy ideas.
Diffstat (limited to '')
-rw-r--r-- | docs/common/LunaCy.txt | 28 | ||||
-rw-r--r-- | docs/index.html | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/docs/common/LunaCy.txt b/docs/common/LunaCy.txt new file mode 100644 index 0000000..ea23ef2 --- /dev/null +++ b/docs/common/LunaCy.txt | |||
@@ -0,0 +1,28 @@ | |||
1 | Another crazy idea I just had. lol | ||
2 | |||
3 | Write a Lua like language as a thin wrapper around C. Try to keep it | ||
4 | out of C++ territory, or call it C++ done right. B-) | ||
5 | |||
6 | It's basically a hybrid of Lua and C syntax, so could be called LuaC, | ||
7 | though I quite like LunaCy, since Lua and Luna both mean "The Moon". | ||
8 | Plus, as mentioned above, it's a crazy idea. lol | ||
9 | |||
10 | The first rule of LunaCy is - | ||
11 | The voices in my head don't talk about LunaCy. B-) | ||
12 | |||
13 | The idea is to have our cake and eat it to. A high level language that | ||
14 | mostly looks like Lua, but is actually a lower level, coz it's mostly | ||
15 | pure C with little overhead. Though I also like the idea of sticking | ||
16 | with C semantics, but with Lua features. Dealing with the Pascal like | ||
17 | semantics of Lua might not work so well, especially "end". | ||
18 | |||
19 | So start with Lua tables, and implement that in C. EFL might be | ||
20 | interested in this bit, since Raster has always wanted the ability to | ||
21 | pass Lua tables as parts of EFL messages. Should also have a | ||
22 | translation function, so we can pass these tables between C and Lua. | ||
23 | |||
24 | "..." might be hard to deal with. Though maybe varargs with callbacks? | ||
25 | |||
26 | Things like ".." would have to be some sort of syntax parser to turn | ||
27 | that into C. | ||
28 | |||
diff --git a/docs/index.html b/docs/index.html index 65eb173..41ca289 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -35,6 +35,7 @@ Welcome to the home of SledjHamr! | |||
35 | <li><a href="common/The_Naminator.txt">The Naminator</a> eliminates human readable names, to make way for computer names from SkyNet. Or something.</li> | 35 | <li><a href="common/The_Naminator.txt">The Naminator</a> eliminates human readable names, to make way for computer names from SkyNet. Or something.</li> |
36 | <li><a href="common/Nails.html">Nails</a> bangs it all together, mostly via the command pump.</li> | 36 | <li><a href="common/Nails.html">Nails</a> bangs it all together, mostly via the command pump.</li> |
37 | <li><a href="common/README.mumble">mumble</a> Voice integration.</li> | 37 | <li><a href="common/README.mumble">mumble</a> Voice integration.</li> |
38 | <li>Complete <a href="common/LunaCy.txt">LunaCy</a>!</li> | ||
38 | <li>The various <a href="common/README.libraries">libraries</a> used.</li> | 39 | <li>The various <a href="common/README.libraries">libraries</a> used.</li> |
39 | <ul> | 40 | <ul> |
40 | <li><a href="/source/LICENCES">licences</a>.</li> | 41 | <li><a href="/source/LICENCES">licences</a>.</li> |