Skip to content

Dagon0577/DagonParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DagonParser

GitHub issues GitHub forks GitHub forks GitHub stars GitHub license

MySQL high-performance parser, use byte stream parsing.

Lexical analysis and grammatical analysis refer to MySQL 8.0

Quick start

Open the /src/test/java folder, select any statement, and run the unit test.

Optimization point

  • Pure byte stream analysis, String is not generated if it is not necessary.
  • Process all supported SQL, and directly generate the syntax tree after receiving the byte stream to avoid subsequent duplication of work.
  • Synchronous collection of relevant information such as SQL summary during grammar analysis.

Parsed statement

DML

DDL

reference

cobar

Thanks

If you want to be added to this list and have submitted an Issue or PR, please contact me.

Releases

No releases published

Packages

No packages published

Languages