Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

I haven't had any experience with moonscript before but it looks very laconically.

Great idea, I'll try to investigate it.

Thanks

(+1)

Both LUA and moonscript use ' -- ' as single line comment so maybe a way to allow the use of moonscript would be to use a special tag like "--[moonscript]".

- If the first line of the script as the exact tag "--[moonscript]" then all the code is in moonscript,

- otherwise it is in LUA

--[moonscript]
x = 10
if something
  local x
  x = 12
print x -- prints 10

seems to be a good idea

(1 edit)

made an issue https://github.com/nesbox/tic.computer/issues/8