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: about 1 month 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 (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-11T10:18:10.000Z (almost 4 years ago)
- Last Synced: 2025-04-04T08:47:35.777Z (3 months ago)
- Topics: parser, sql
- Language: Go
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple SQL Parser
[](https://github.com/AdarshNaidu/simple-sql-parser/actions/workflows/run_tests.yml) 
## 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)