On Thu, 1 Dec 2016 14:53:51 +0800 konsolebox <konsole...@gmail.com> wrote:
> I got similar idea here, but my version is that you don't have to use > u: or v: The entire point of defining it as a prefix-space was to avoid ambiguity, and leave plenty of room for other such selector prefixes. Relying on properties like "is it a number" or "is it text" is a shoddy heuristic. A heuristic that will fail us as soon as we want to add new features in our matcher syntax. Hence, <ATOM>[<CONSTRAINT>(,<CONSTRAINT>...)] CONSTRAINT: <identifier>:<parameter>(,<parameter>...) Then instead of debates about how we can invent some "new" syntax where we have to constantly reinvent existing syntax to allow space for the new syntax, we can just define new identifiers, because we thought ahead about this problem and gave us wiggle room to add features.
pgpPjQN0_eTZ1.pgp
Description: OpenPGP digital signature