Auroriax / PuzzleScriptPlus

Puzzlescript Plus: Open Source HTML5 Puzzle Game Engine (with lots of extra functionality)
https://auroriax.github.io/PuzzleScript/
34 stars 4 forks source link

All // for end of line comments #98

Closed david-pfx closed 1 year ago

david-pfx commented 1 year ago

Everything after // is a comment, everywhere except in command text (like MESSAGE), sprites and levels

EOL comments are very convenient, used across a wide range of languages.

Codemirror already knows about them: see comment.js.

Auroriax commented 1 year ago

I don't see an use case of this. I agree that // is very normal in programming languages, but purely for the PS experience it would add very little (especially since the () syntax for comments in PS already have a pretty non-standard syntax).