all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@member.fsf.org>
To: emacs-devel@gnu.org
Subject: Re: access to parser stack in SMIE
Date: Tue, 09 Oct 2012 07:23:07 -0400	[thread overview]
Message-ID: <85liffhotg.fsf@member.fsf.org> (raw)
In-Reply-To: <85txu4iaqt.fsf@member.fsf.org> (Stephen Leake's message of "Mon,  08 Oct 2012 23:29:30 -0400")

Stephen Leake <stephen_leake@member.fsf.org> writes:

> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>> I'll still play with semantic; there are front-end tools like code
>>> completion and function call template that rely on it. But it's less
>>> urgent.
>>
>> Semantic support would be really neat, yes.
>> [ Hopefully, at some point SMIE and Semantic will get closer, to the
>>   point where a given language mode doesn't need to give 2 different
>>   specifications of the language.  ]
>
> You could write a translator from the bison BNF format to the current
> SMIE BNF format, that should not be too hard. 

I take this back; the SMIE grammar needs refined tokens, which the BNF
does not. Most of the work in building a SMIE indentation engine is
figuring out what tokens to refine, and how to refine them.

-- 
-- Stephe



      parent reply	other threads:[~2012-10-09 11:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-06  4:21 access to parser stack in SMIE Stephen Leake
2012-10-06 12:37 ` Stefan Monnier
2012-10-06 18:55   ` Stephen Leake
2012-10-07 19:04     ` Stefan Monnier
2012-10-07 23:18       ` Stephen Leake
2012-10-08  1:00         ` Stefan Monnier
2012-10-08  1:28           ` Stephen Leake
2012-10-08 22:58             ` Stephen Leake
2012-10-09  2:26               ` Stefan Monnier
2012-10-09  3:29                 ` Stephen Leake
2012-10-09  4:20                   ` Stefan Monnier
2012-10-09 11:23                   ` Stephen Leake [this message]

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

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

  git send-email \
    --in-reply-to=85liffhotg.fsf@member.fsf.org \
    --to=stephen_leake@member.fsf.org \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.