From 1c850cdf326ce37a98ad25cb3c42442ca1eec907 Mon Sep 17 00:00:00 2001 From: wmin0 Date: Thu, 17 Jan 2019 15:51:56 +0800 Subject: core: vm: sqlvm: add sql language parser prototyping Add sql language parser prototyping along with 1. grammar file implemented with github.com/mna/pigeon 2. ast node struct definition 3. simple parser test which only test if error existed 4. ast printer utility for visualizing parsing result --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 14f79c8ef..f6dc12275 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,7 @@ devtools: env GOBIN= go get -u github.com/kevinburke/go-bindata/go-bindata env GOBIN= go get -u github.com/fjl/gencodec env GOBIN= go get -u github.com/golang/protobuf/protoc-gen-go + env GOBIN= go get -u github.com/mna/pigeon env GOBIN= go install ./cmd/abigen @type "npm" 2> /dev/null || echo 'Please install node.js and npm' @type "solc" 2> /dev/null || echo 'Please install solc' -- cgit