ISO TESTS for a Pg lexer+parser - Mailing list pgsql-general

From Kynn Jones
Subject ISO TESTS for a Pg lexer+parser
Date
Msg-id c2350ba40707061215v28f3b796n7c1d055b72d010db@mail.gmail.com
Whole thread Raw
Responses Re: ISO TESTS for a Pg lexer+parser  (Stephen Frost <sfrost@snowman.net>)
Re: ISO TESTS for a Pg lexer+parser  ("Dann Corbit" <DCorbit@connx.com>)
List pgsql-general
Hi!  I am in the process of writing a PostgreSQL lexer/parser in Perl,
because everything else I've found in this area is too buggy.  I'm
basing this lexer/parser on the lexer and parser encoded respectively
in scan.l and gram.y under src/backend/parser.

I'm looking for a solid collection of test cases to test my
lexer/parser.  (I'm hoping that such a collection has already been
produced to test the PostgreSQL yacc-generated parser that comes with
the PostgreSQL distribution.)

(Alternatively, if a non-flaky, rock-solid, and easily customizable Pg
parser in Perl already exists please let me know.)

TIA!

kj

pgsql-general by date:

Previous
From: "rupesh bajaj"
Date:
Subject: Implementation of three new operators inside the PostgreSQL
Next
From: "Harpreet Dhaliwal"
Date:
Subject: Capturing return value of a function in Pl/Perl