puffnfresh/roy

syntax for comments

dominictarr opened this issue · 1 comments

syntax for comments is really awkward.

console.log('hello') // comment
Error: Parse error on line 2: Unexpected 'COMMENT'

the expected behaviour is for the parser to just ignore comments.

Indeed the parser should accept comments in "natural" places.
This is a major annoyance because one cannot just comment out code that does not work.
One must move it in a safe place first.