Thread: parsing geometric operators

parsing geometric operators

From
Konstantin Izmailov
Date:
I'm creating my own parser/regex combination for fast and lightweight Postgres queries processing (in a user app). So I wanted to double check some details in PG source, but could not find the geometric operators (http://www.postgresql.org/docs/8.4/static/functions-geometry.html) definition/rules neither in gram.y nor in scan.l.

I could try to define the rules based on documentation... but would it be possible to find how they are defined in the PG source?

Thank you,
Konstantin

Re: parsing geometric operators

From
Konstantin Izmailov
Date:
Please ignore my question. I found "Op" tokens definition in scan.l!

On Fri, Jun 4, 2010 at 6:15 PM, Konstantin Izmailov <pgfizm@gmail.com> wrote:
I'm creating my own parser/regex combination for fast and lightweight Postgres queries processing (in a user app). So I wanted to double check some details in PG source, but could not find the geometric operators (http://www.postgresql.org/docs/8.4/static/functions-geometry.html) definition/rules neither in gram.y nor in scan.l.

I could try to define the rules based on documentation... but would it be possible to find how they are defined in the PG source?

Thank you,
Konstantin