comp.lang.ada
 help / color / mirror / Atom feed
From: Paul Rubin <no.email@nospam.invalid>
Subject: Re: ada-mode failing at formatting still
Date: Sun, 20 May 2018 17:19:21 -0700
Date: 2018-05-20T17:19:21-07:00	[thread overview]
Message-ID: <87d0xpdfna.fsf@nightsong.com> (raw)
In-Reply-To: 90964a59-84ee-4037-ba57-42e75faabb2e@googlegroups.com

"Dan'l Miller" <optikos@verizon.net> writes:
> All the language modes in emacs rely on regular expressions instead of
> a grammar.

Not since many years ago.  Language modes these days tend to use
Semantic.  See:

https://www.gnu.org/software/emacs/manual/html_node/semantic/Introduction.html

which says:

   Semantic provides a new infrastructure to analyze source code using
   parsers instead of regular expressions. It contains two built-in
   parser generators (an LL generator named Bovine and an LALR generator
   named Wisent, both written in Emacs Lisp), and parsers for several
   common programming languages. It can also make use of external
   parsers—programs such as GNU Global and GNU IDUtils.

   Semantic provides a uniform, language-independent API for accessing
   the parser output. This output can be used by other Emacs Lisp
   programs to implement “syntax-aware” behavior. Semantic itself
   includes several such utilities, including user-level Emacs commands
   for navigating, searching, and completing source code.


  parent reply	other threads:[~2018-05-21  0:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-20 18:51 ada-mode failing at formatting still Lucretia
2018-05-20 18:59 ` Dan'l Miller
2018-05-20 19:03   ` Lucretia
2018-05-20 19:18     ` Dan'l Miller
2018-05-20 23:55   ` Shark8
2018-05-21  0:19   ` Paul Rubin [this message]
2018-05-21  3:28     ` Dan'l Miller
2018-05-21  3:37       ` Paul Rubin
2018-05-20 20:19 ` Simon Wright
2018-05-20 20:42   ` Lucretia
2018-05-20 21:07     ` Dan'l Miller
2018-05-21  6:49       ` Simon Wright
2018-05-21  7:11     ` Simon Wright
2018-05-21  8:57       ` Lucretia
2018-05-21 12:31         ` Simon Wright
2018-05-21 12:51           ` Lucretia
2018-05-21 13:35           ` Simon Wright
2018-05-21  7:18     ` Simon Wright
2018-05-21  8:59       ` Lucretia
2018-05-20 20:19 ` Lucretia
2018-05-21 16:35 ` Lucretia
2018-05-21 16:37   ` Dan'l Miller
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox