Skip to content

jcbasso/json2yaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Json2Yaml is a json parser using yacc.

To build it:

$ go generate
$ go build

or

$ go generate
$ go run expr.go

Then run, for example

$ echo "{\"a\":true}" | go run expr.go

The file main.go contains the "go generate" command to run yacc to create expr.go from expr.y. It also has the package doc comment, as godoc will not scan the .y file.

The actual implementation is in expr.y.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors