Ticket #7 (new defect)
natural serophene
| Reported by: | PeterLjunglof | Owned by: | |
|---|---|---|---|
| Priority: | blocker | Version: | 2.9 |
| Keywords: | sfvscmksid | Cc: | none |
Description
This one is a bit radical...
It's almost never the case that you really want "foo bar" to mean a single token. Almost always you mean ["foo bar"]. So why is it the case that the string that is easier to write is the incorrect one? Best would be to always write [] around your strings, but that's cumbersome and makes grammars more difficult to read.
Suggestion: make "foo bar" always mean two tokens, and use e.g. "foo_bar" when you really mean a single token. I don't know of any other grammar formalism where you can specify tokens with whitespace inside.
Change History
Note: See
TracTickets for help on using
tickets.
