- From: Zack Weinberg <zackw@panix.com>
- Date: Fri, 5 Apr 2013 10:34:19 -0400
- To: www-style list <www-style@w3.org>
On Fri, Apr 5, 2013 at 10:01 AM, Kang-Hao (Kenny) Lu <kanghaol@oupeng.com> wrote: > (13/04/05 21:27), Zack Weinberg wrote: >> An alternative (a la Smalltalk) would be to declare that any >> two-character sequence of DELIM characters -- that is, ASCII >> punctuation excluding ,;:()[]{} -- is a single token. That >> would be future-proof, but we'd have to audit the existing grammar >> carefully to make sure it doesn't do anything it shouldn't. > > You'll have to exclude * from DELIM then. Because there are *|* and > *.class. Otherwise, it sounds good. Are there other situations like this? That's inconvenient because *= is already considered one token. Oh well, it's not like this grammar is a shining model of internal consistency anyway.
Received on Friday, 5 April 2013 14:34:42 UTC