[pdal] RE: Gist notes

Mateusz Łoskot mateusz at loskot.net
Fri Dec 9 16:08:34 EST 2011


2011/12/9 Michael P. Gerlek <mpg at flaxen.com>:
>> IMO, a DSL should recognise this kind of things without any special and artificial delimiters.
>
> Ideally, yes, but as a practical matter, this string:
>
>        30250400-4089-1103-9000-030508203301
>
> without any annotation or delimiter is ambiguous: it could be a guid,
> or it could be an arithmetic expression of the form "a-b-c-d-e".

You could expect

SELECT from FROM from WHERE where = 0;

but grammar of DSL will handle that, and recognize if from, where are
reserved keywords, or allowed names (e.g. if DSL is case-sensitive).

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org


More information about the pdal mailing list