Skip to content

cloudspannerecosystem/memefish

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

252b4df · Oct 20, 2024
Oct 15, 2024
Oct 20, 2024
Apr 12, 2023
Sep 20, 2024
Apr 12, 2023
Feb 3, 2020
Oct 20, 2024
Apr 12, 2023
Apr 12, 2023
Aug 21, 2024
Sep 12, 2019
Sep 20, 2024
Apr 12, 2023
Oct 17, 2024
Oct 15, 2024
Sep 20, 2024
Sep 23, 2024
Apr 12, 2023
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Oct 20, 2024
Sep 20, 2024
Sep 29, 2024
Sep 29, 2024

Repository files navigation

méméfish

méméfish is the Spanner SQL parser for Go.

GoDoc Reference

News

ℹ️

Since 2023/4/1, this repository has been moved from MakeNowJust to cloudspannerecosystem. You may need to migrate import paths from github.com/MakeNowJust/memefish to github.com/cloudspannerecosystem/memefish like:

 import (
-	"github.com/MakeNowJust/memefish/pkg/parser"
+	"github.com/cloudspannerecosystem/memefish/pkg/parser"
 )
ℹ️

Since 2023/4/12, the layout of this repository has been changed. Now, the old parser package has been moved to the top of the repository as the new memefish package, and sub-packages in the pkg directory are placed under the top. You may need to migrate import paths like:

 import (
-	"github.com/cloudspannerecosystem/memefish/pkg/token"
-	"github.com/cloudspannerecosystem/memefish/pkg/parser"
+	parser "github.com/cloudspannerecosystem/memefish"
+	"github.com/cloudspannerecosystem/memefish/token"
 )

In addition, we removed the analyzer package from the repository. Thus, if you want to use the old analyzer package, please pin the dependency by the commit hash before this change.

Features

  • Parse Spanner SQL to AST
  • Generate Spanner SQL from AST (unparse)

Notice

This project is originally developed under "Expert team Go Engineer (Backend)" of Mercari Summer Internship for Engineer 2019.

License

This project is licensed under MIT license.