lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


hi TNHarris,
  what's NumberScript for?

On Sun, Jun 24, 2012 at 10:45 AM, TNHarris <telliamed@whoopdedo.org> wrote:
The original NumberScript[1] for _javascript_ was announced a few days ago. I
thought it would work well with Lua.

   https://github.com/whoopdedo/number-lua

NumberScript has a compact syntax. There's no significant whitespace, no
semicolons, no braces, no operators. It uses only the numbers '0' - '9'.

For example, this simple script:

   9795508356633822141337704998199448662254090

Which, of course, will print "Hello Lua!".

NumberScript for Lua depends on LHF's lbn module. That hadn't been uploaded to
LuaRocks yet, so I've submitted a rockspec for it and will show up soon. Until
then you can download directly from github and use Make.

[1] https://github.com/substack/number-script

--
-- tom
telliamed@whoopdedo.org