IF Commons GitHub

ansi

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; // 0

Spec: 0001-sql-lang FR-017

Source: commons/lang-sql/src/ansi.ts

2 of 2 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

ANSI_LEXICALconst
const ANSI_LEXICAL: Lexical

The lexical of the base dialect.

Imported by 8 tests of the run (8 passed, 0 failed): the library's results

ansiconst
const ansi: Dialect

The base dialect.

Imported by 98 tests of the run (98 passed, 0 failed): the library's results

Titles, headings, exports, tables, columns and requirements. Esc closes.