unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Serghei Iakovlev <sadhooklay@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: [ELPA] New package: bnf-mode
Date: Tue, 07 May 2019 15:01:40 -0400	[thread overview]
Message-ID: <jwvlfziccpp.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <871s1a5c4s.fsf@gmail.com> (Serghei Iakovlev's message of "Tue, 07 May 2019 21:54:11 +0300")

> --
> <nonterminal> ::= ...
>         <foo> ::= ...
>     <foo-bar> ::= ...
> --
> Figure #1: Align by "::="
>
> and
>
> --
> <nonterminal> := A | B | C 
>                | D | E | F
>                | G | ...
> --
> Figure #2: Align alternatives

I guess for pure BNF there's no that much to do, indeed.
Tho there's still also

    <nonterminal> := A | B | C 
                   | D1 D2 D3
                     D4 D5 D6
                   | G | ...

once you go to EBNF there can be some more interesting cases.

Anyway, you can all return to your regular Elisping,


        Stefan



  reply	other threads:[~2019-05-07 19:01 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-04 15:51 [ELPA] New package: bnf-mode Serghei
2019-05-04 18:35 ` Stefan Monnier
     [not found]   ` <87h8a93qqu.fsf@gmail.com>
2019-05-05 14:49     ` Fwd: " Serghei Iakovlev
2019-05-05 14:56   ` Serghei Iakovlev
2019-05-05 16:07     ` Stefan Monnier
2019-05-05 22:31       ` John Yates
2019-05-06  0:47         ` Drew Adams
2019-05-06  0:48         ` Drew Adams
2019-05-06  5:54           ` Serghei Iakovlev
2019-05-06 12:31             ` Stefan Monnier
2019-05-06 18:57               ` Serghei Iakovlev
2019-05-07  0:59                 ` Stefan Monnier
2019-05-07 17:36                   ` Serghei Iakovlev
2019-05-07 17:58                     ` Stefan Monnier
2019-05-07 18:54                       ` Serghei Iakovlev
2019-05-07 19:01                         ` Stefan Monnier [this message]
2019-05-09  4:06               ` Serghei Iakovlev
2019-05-05 15:01   ` Serghei Iakovlev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvlfziccpp.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=sadhooklay@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).