Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adarshnaidu/simple-sql-parser

A program to parse basic sql queries.
https://github.com/adarshnaidu/simple-sql-parser

parser sql

Last synced: 1 day ago
JSON representation

A program to parse basic sql queries.

Awesome Lists containing this project

README

        

Simple SQL Parser

[![Tests](https://github.com/AdarshNaidu/simple-sql-parser/actions/workflows/run_tests.yml/badge.svg?branch=main)](https://github.com/AdarshNaidu/simple-sql-parser/actions/workflows/run_tests.yml) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/AdarshNaidu/simple-sql-parser?color=brightgreen&logo=semantic-release)

## Project Setup

1. Clone the repository
2. To start program: `go run main.go`
3. To run tests: `go test ./sql -v`
4. To build project: `go build`

## Usage

1. Download a suitable executable from releases.
2. Run the executable. (Sample inputs in `./sql/*test.go` files)


Tutorial followed to build sql package: [https://blog.gopheracademy.com/advent-2014/parsers-lexers](https://blog.gopheracademy.com/advent-2014/parsers-lexers)