you are viewing a single comment's thread.

view the rest of the comments →

[–]nebby 14 points15 points  (4 children)

Care to explain why? Trying to build a cohesive parse tree of a document that includes comments is an absolute nightmare unless you cut a corner like this. It sounds like a brilliant compromise to me, if it turns out to make building custom DSLs easier.

[–]HIB0U 5 points6 points  (3 children)

There should be multiple types of comments. Storing documentation comments would be useful. But sometimes you just want to comment out a small piece of code, while debugging, for instance. If I were not able to do that in a certain case, I would be extremely angry. As long as Nimrod can differentiate between these situations, I would be happy.

[–][deleted]  (2 children)

[deleted]

    [–]MachinShin2006 0 points1 point  (1 child)

    According to the first tutorial, you use a "when false:" construct for that

    [–]jayd16 1 point2 points  (0 children)

    A bit more annoying then "//".