From ca1331e2d253d4a399cdbe8c7d0782e6662080c4 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 26 Feb 2016 18:18:35 +1000 Subject: Added LunaCy ideas. --- docs/common/LunaCy.txt | 28 ++++++++++++++++++++++++++++ docs/index.html | 1 + 2 files changed, 29 insertions(+) create mode 100644 docs/common/LunaCy.txt 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 @@ +Another crazy idea I just had. lol + +Write a Lua like language as a thin wrapper around C. Try to keep it +out of C++ territory, or call it C++ done right. B-) + +It's basically a hybrid of Lua and C syntax, so could be called LuaC, +though I quite like LunaCy, since Lua and Luna both mean "The Moon". +Plus, as mentioned above, it's a crazy idea. lol + +The first rule of LunaCy is - + The voices in my head don't talk about LunaCy. B-) + +The idea is to have our cake and eat it to. A high level language that +mostly looks like Lua, but is actually a lower level, coz it's mostly +pure C with little overhead. Though I also like the idea of sticking +with C semantics, but with Lua features. Dealing with the Pascal like +semantics of Lua might not work so well, especially "end". + +So start with Lua tables, and implement that in C. EFL might be +interested in this bit, since Raster has always wanted the ability to +pass Lua tables as parts of EFL messages. Should also have a +translation function, so we can pass these tables between C and Lua. + +"..." might be hard to deal with. Though maybe varargs with callbacks? + +Things like ".." would have to be some sort of syntax parser to turn +that into C. + 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!
  • The Naminator eliminates human readable names, to make way for computer names from SkyNet. Or something.
  • Nails bangs it all together, mostly via the command pump.
  • mumble Voice integration.
  • +
  • Complete LunaCy!
  • The various libraries used.