Closed bbrk24 closed 2 years ago
Yeah I didn't get around to implementing block comments, should be a trivial thing to add. Before I do, anyone have any ideas for making them more strayan? Here's an idea:
OI MATE!
Everything inside of here is commented out
GOT IT?!
Oh that's great, but some flexibility in syntax would be good. It should be equally valid to start a comment block with other vocative forms. In other words, OI DRONGO!
or OI D***HEAD!
should also work, no?
The main reason I suggested it was so I could do comments inline, like f(/* comment here */);
. That being said, I like your idea too much to say no. It also lines up with how everything before the G'DAY MATE!
is ignored.
Added support for block comments:
OI MATE!
This is a comment
GOT IT?
@zackradisic I don't see them in the documentation anywhere.
The syntax highlighting suggests
/* ... */
comments exist, but using one causes an error.