|
From: | Andreas Röhler |
Subject: | Re: Defining functions on the fly |
Date: | Wed, 17 Jun 2015 08:13:37 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
Am 17.06.2015 um 00:23 schrieb Stefan Monnier:
Currently Emacs provides some scheme to fontify source code and some basic moves: linewise, symbol, word, paragraph, sexp. There is no idea of statement, block/loop or expression and a poor top-level --beginning/end-of-defun.Since we don't need to define functions dynamically for "linewise, symbol, word, paragraph, sexp",
These are very basic things based on character-syntax tables.Expression is limited that way - see the difficulties around triple-quoted-string.
I don't see how "statement, block/loop or expression and a poor top-level --beginning/end-of-defun" would require dynamic definition of functions.
Because these functions depend on grammar of the goal-language. [ ... ]
[Prev in Thread] | Current Thread | [Next in Thread] |