Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/adarshnaidu/simple-sql-parser
- Owner: AdarshNaidu
- Created: 2021-07-02T14:32:12.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-11T10:18:10.000Z (over 3 years ago)
- Last Synced: 2025-01-11T08:52:49.826Z (about 1 month ago)
- Topics: parser, sql
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)