EbnfStudio icon indicating copy to clipboard operation
EbnfStudio copied to clipboard

Support for Comments

Open rkatzmann opened this issue 2 years ago • 1 comments

Please add support for comments. Currently I see only "//" but official comments "(*" are not supported https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form (Table of symbols).

Also if C++-style comments are supported, it would be great to have multi-line comments like C++, C and for EBNF as well.

Thank you

Example:

/* 
 * EBNF Grammar for my humble language
 * - Purpose: <insert some explanation here>
 * - See also: <insert some URL here>
 */

Thank you

rkatzmann avatar Jul 13 '23 13:07 rkatzmann

I will put /**/ comments on the TODO list, but it's not a top priority (I currently implement a C++ parser generator which can be used instead of Coco/R et al.). Anyway the tool still has a lot of bugs and I should improve the analyzer too.

rochus-keller avatar Jul 13 '23 14:07 rochus-keller