Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Comments #4

Open
rkatzmann opened this issue Jul 13, 2023 · 1 comment
Open

Support for Comments #4

rkatzmann opened this issue Jul 13, 2023 · 1 comment

Comments

@rkatzmann
Copy link

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

@rochus-keller
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants