Skip to content

DescribeGrammar comments

Viktor Chernev edited this page Aug 2, 2024 · 10 revisions

Comments in describe are much like comments in C++ or C#, or other C type languages - we have single line comments, that start with two slashes and a space // and end with a new line, and we also have the delimited type, starting with slash and a star - /* and ending with a star and a slash - */.

Note that, a colon before two forward slashes :// will escape the comment. This is done because we want to be able to write links in text - https://abc... e.g. without the need to escape the forward slashes, which would be annoying.

Example:
comments


Note - Nesting of comments is not supported, as in most major programming languages.

Links

Next
Prev

Clone this wiki locally