emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guidelines for the "symbol" syntax class


From: Dmitry Gutov
Subject: Re: Guidelines for the "symbol" syntax class
Date: Mon, 4 Jan 2016 04:01:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Thunderbird/43.0

(Cc-ing emacs-devel)

On 01/04/2016 03:46 AM, John Yates wrote:

I think that you are confusing issues of syntax and symbol resolution.

I'd put the question this way: should the symbol correspond more to an atomic expression in a given language, or should it be the "name" of the identifier or atom denoted by the expression.

To give a distant example: in Perl an PHP, you usually declare and use a variable by prefixing its name with $. Should $ be a symbol constituent? Both perl-mode and cperl-mode say no.

  emacs' notion of symbol is purely syntactic.

And that's the model I'm trying to work in. Again, I'm not trying to determine qualified names.

Starting with the the
current symbol collection framework you could build a purely syntactic
model of qualified names that should cover a very large set of
contemporary languages.

I'm not sure how you think I could do that.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]