Skip to content

developing-today-forks/sqlite-antlr4-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANTLR SQLite Parser

This project is just a generation of a ANTLR4 go parser using SQLite grammar from antlr/grammars-v4 project. Its only reason to exist is to avoid forcing everyone that want a simple parser to install JAVA.

You can find the grammar inside ./grammar and the generated parser inside ./sqliteparser

Generate parser

Requirements

  • JAVA 11+ installed
  • ANTLR4 compelte java binaries. Link here
    • Put the binary inside /usr/local/lib

Important: The parser inside ./sqliteparser was generated using OpenJDK 11 and ANTLR 4.12.0

Steps

  • Just run ./generate-parser.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • ANTLR 67.1%
  • Go 32.0%
  • Shell 0.9%