GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 1ilit/oracle-sql-parser: Spec compliant SQL parser and AST explorer for Oracle

BranchesTags
Open more actions menu

Latest commit

 

History

148 Commits
148 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
playground
playground
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.npmignore
.npmignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

oracle-sql-parser

Simple SQL parser and AST explorer for Oracle SQL following the Oracle Database Language Reference.

Usage

Install the package:

npm i oracle-sql-parser

Parse and print:

const { Parser } = require('oracle-sql-parser');

const parser = new Parser();

const sql = 'CREATE TABLE users (id integer);';
const ast = parser.parse(sql);

console.log(ast);

Run locally

git clone https://github.com/1ilit/oracle-sql-parser.git
cd oracle-sql-parser
npm i
npm test

Scripts

Generate the parser in ./build/parser.js

npm run generate

Generate and minify the parser in ./build/parser.js

npm run build

About

Spec compliant SQL parser and AST explorer for Oracle

1ilit.github.io/oracle-sql-parser/

Topics

astast-exploreroracleoracle-databaseparserpegjs

Resources

Readme
MIT license
Activity

Stars

11 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.