nash icon indicating copy to clipboard operation
nash copied to clipboard

parser: comment not allowed inside lists

Open i4ki opened this issue 8 years ago • 1 comments

The parser complain in the code below:

tests = (
      # oops
     some
     list
)

The parser is right regarding our specification, but I think we need to improve it: https://github.com/NeowayLabs/nash/blob/master/spec.ebnf#L75

i4ki avatar Feb 10 '17 12:02 i4ki

I tried to do this these days and got surprised it did not work, it would definitely be good :+1:

katcipis avatar Feb 18 '17 01:02 katcipis