Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

SQL parser in javascript

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

SQL parser in JavaScript

This project provides a PEG.js grammar for SQL syntax. Why? I wanted to properly parse SQL in JavaScript, knocking down yet another thing in that long list of things that will be reimplemented in JavaScript one day.

See the ./sql.pegjs file, or...

Unlike previous hand-coded attempts at SQL parsing in JavaScript, such as my previous, the parsing here is grammar (PEG) based.

SQL syntax

The SQL syntax follows sqlite 3.7 documented syntax, specifically from...

See also


Apache 2.0 -- this was made for you and me.

Something went wrong with that request. Please try again.