From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Stephen Leake <stephen_leake@member.fsf.org>
Cc: emacs-devel@gnu.org
Subject: Re: access to parser stack in SMIE
Date: Mon, 08 Oct 2012 22:26:11 -0400 [thread overview]
Message-ID: <jwvzk3wqt9h.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <85vcek1sgm.fsf@member.fsf.org> (Stephen Leake's message of "Mon, 08 Oct 2012 18:58:49 -0400")
> So you typically only have to go back one statement, not all the way to
> the top. I can construct a worse case scenario that requires scanning to
> the top, but it's pretty pathological code.
Great. That was also my experience with other languages so far, but I'm
glad it worked for you too.
> I've kept the cache; it's simple, and it should speed things up quite a
> bit. I'll try to measure how much when I'm all done.
I'd be interested to see your results.
> 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. ]
Stefan
next prev parent reply other threads:[~2012-10-09 2:26 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 [this message]
2012-10-09 3:29 ` Stephen Leake
2012-10-09 4:20 ` Stefan Monnier
2012-10-09 11:23 ` Stephen Leake
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=jwvzk3wqt9h.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=stephen_leake@member.fsf.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.