sergeyklay / bnf-mode

A GNU Emacs major mode for editing BNF grammars
GNU General Public License v3.0
45 stars 8 forks source link

Introduce ALGOL 60 comments style #4

Closed sergeyklay closed 5 years ago

sergeyklay commented 5 years ago

Setting bnf-mode-algol-comments-style to non-nill means use for BNF comments style introduced in ALGOL 60.

For the purpose of including text among the symbols of a program the following "comment" conventions will hold:

The sequence of basic symbols Is equivalent to
; comment <any sequence not containing ;>; ;
begin comment <any sequence not containing ;>; begin

Note: Enabling this feature will disable comments recognition which use semicolon only (;).