Skip to content

Commit 2e6d18e

Browse files
authored
feat: improve pgsql grammar and add unit tests(#201)
* feat(pgsql: upgrade keywords and refresh them to parser file): pgsql * feat(pgsql: check create table's syntax): pgsql * feat(pgsql: check and update drop syntax): pgsql: check and update drop syntax * feat: pgsql: check create's sql syntax and update g4 file * feat: pgsql:complete other's sql and syntax except select, insert, drop * feat: pgsql: update create, delete, insert, select, update and others' syntax * test: pgsql: update alter's sql * feat: pgsql: update syntax g4 file * feat: pgsql: upgrade keywords to without '_P' in lexer and parser file * docs: pgsql: update copyright and Reference of parser and lexer --------- Co-authored-by: zhaoge <>
1 parent 1927a70 commit 2e6d18e

31 files changed

Lines changed: 49562 additions & 47560 deletions

src/grammar/pgsql/PostgreSQLLexer.g4

Lines changed: 535 additions & 1035 deletions
Large diffs are not rendered by default.

src/grammar/pgsql/PostgreSQLParser.g4

Lines changed: 1806 additions & 1727 deletions
Large diffs are not rendered by default.

src/lib/pgsql/PostgreSQLLexer.interp

Lines changed: 1004 additions & 965 deletions
Large diffs are not rendered by default.

src/lib/pgsql/PostgreSQLLexer.tokens

Lines changed: 835 additions & 809 deletions
Large diffs are not rendered by default.

src/lib/pgsql/PostgreSQLLexer.ts

Lines changed: 3405 additions & 3412 deletions
Large diffs are not rendered by default.

src/lib/pgsql/PostgreSQLLexerBase.ts

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)