moonscript
moonscript copied to clipboard
Option to preserve comments
I think this can be desired feature for many users to generate both -- and --[[ ... ]] comments in Lua code.
My two worthless coins:
Preserve (start-of-line?) comments starting with three hyphens or even better with some character sequence which is a syntax error in both Lua and Moonscript like (I think) ## right after the hyphens so that
--## this is a Lua comment
And of course removing the two (or more) hatches in the Lua code.