IssueRaiser

I really like how syntax trivia allows you to completely ignore comments and whitespace, if you want, and focus exclusively on your probl...

I really like how syntax trivia allows you to completely ignore comments and whitespace, if you want, and focus exclusively on your problem domain (source code). But it's also available for when you do want to inspect or modify it. Because Wasabi doesn't implement syntax trivia, there's no way to losslessly round-trip Wasabi code. Whitespace is not preserved, and comments are always assumbed to be on a line of their own. Did your team invent the idea, or is there prior research I could read?

Posted by krallja on Jul 16, 2015, 4:52 PM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,500 issues0 comments

hackernews (Other)

I really like how syntax trivia allows you to completely ignore comments and whitespace, if you want, and focus exclusively on your probl...

kralljaJul 16, 2015, 4:52 PM

I really like how syntax trivia allows you to completely ignore comments and whitespace, if you want, and focus exclusively on your problem domain (source code). But it's also available for when you do want to inspect or modify it. Because Wasabi doesn't implement syntax trivia, there's no way to losslessly round-trip Wasabi code. Whitespace is not preserved, and comments are always assumbed to be on a line of their own. Did your team invent the idea, or is there prior research I could read?

Comments (0)

No comments yet. Start the discussion.

Comment on this issue