ANSI_LEXICALconstconst ANSI_LEXICAL: LexicalThe lexical of the base dialect.
The base dialect, ansi (commons lang-sql 0001-sql-lang FR-017): -- and nested /* *\/ comments, " quoted identifiers, ' strings that write a quote twice, the common operators, numbers with a fraction and an exponent, and the words of standard SQL that a parser asks about. Every dialect of this folder extends it.
import { ansi, lex } from "@intellectual-frontiers/lang-sql";
lex("select 1", ansi.compiled).errors.length; // 0Spec: 0001-sql-lang FR-017
ANSI_LEXICALconstconst ANSI_LEXICAL: LexicalThe lexical of the base dialect.
ansiconstconst ansi: DialectThe base dialect.