Hacker News new | ask | show | jobs
by CoastalCoder 929 days ago
> use the actual parser from the Postgres server. so no grammar definition and the like.

Doesn't Postgres use Lex/Yacc to describe the grammar?

1 comments

It actually uses Flex/Bison, and does take advantage of the extended features they provide.
Thanks for the correction. But either way, doesn't this mean that a formal lexicon/grammar are available for the language server to draw upon?