aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--docs/common/LunaCy.txt28
-rw-r--r--docs/index.html1
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 @@
1Another crazy idea I just had. lol
2
3Write a Lua like language as a thin wrapper around C. Try to keep it
4out of C++ territory, or call it C++ done right. B-)
5
6It's basically a hybrid of Lua and C syntax, so could be called LuaC,
7though I quite like LunaCy, since Lua and Luna both mean "The Moon".
8Plus, as mentioned above, it's a crazy idea. lol
9
10The first rule of LunaCy is -
11 The voices in my head don't talk about LunaCy. B-)
12
13The idea is to have our cake and eat it to. A high level language that
14mostly looks like Lua, but is actually a lower level, coz it's mostly
15pure C with little overhead. Though I also like the idea of sticking
16with C semantics, but with Lua features. Dealing with the Pascal like
17semantics of Lua might not work so well, especially "end".
18
19So start with Lua tables, and implement that in C. EFL might be
20interested in this bit, since Raster has always wanted the ability to
21pass Lua tables as parts of EFL messages. Should also have a
22translation 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
26Things like ".." would have to be some sort of syntax parser to turn
27that 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>