moonscript icon indicating copy to clipboard operation
moonscript copied to clipboard

Option to preserve comments

Open dluciv opened this issue 9 years ago • 1 comments

I think this can be desired feature for many users to generate both -- and --[[ ... ]] comments in Lua code.

dluciv avatar Jan 30 '15 14:01 dluciv

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.

bpj avatar May 25 '20 14:05 bpj