Go to file
2017-09-11 16:38:37 -04:00
ast Array comprehensions (#35) 2017-09-07 11:55:33 -04:00
jsonnet Interpreter & runtime - minimal usable version (#24) 2017-08-24 20:09:10 -04:00
parser Array comprehensions (#35) 2017-09-07 11:55:33 -04:00
std Interpreter & runtime - minimal usable version (#24) 2017-08-24 20:09:10 -04:00
testdata Fix desugaring of assertions 2017-09-11 16:38:37 -04:00
_gen.go Finish up blocking out the parser. 2016-03-01 17:08:35 -08:00
.gitignore Interpreter & runtime - minimal usable version (#24) 2017-08-24 20:09:10 -04:00
.travis.yml use t.Run for tests 2017-08-16 23:03:05 +02:00
builtins.go Add a bunch of tests for fundamental builtins 2017-09-11 16:35:59 -04:00
CONTRIBUTING Add CONTRIBUTING, add newline to end of other files 2016-02-19 17:36:19 -05:00
desugarer_test.go First end-to-end test (addition of numbers) 2016-03-08 01:17:44 -05:00
desugarer.go Fix desugaring of assertions 2017-09-11 16:38:37 -04:00
doc.go Finish up blocking out the parser. 2016-03-01 17:08:35 -08:00
error_formatter.go Move parser to its own package 2017-08-25 00:30:56 -04:00
evaluator.go Array comprehensions (#35) 2017-09-07 11:55:33 -04:00
imports.go Move AST to its own package 2017-08-25 00:30:56 -04:00
interpreter_test.go First end-to-end test (addition of numbers) 2016-03-08 01:17:44 -05:00
interpreter.go Actually unparse field names 2017-09-08 14:14:32 -04:00
LICENSE Add CONTRIBUTING, add newline to end of other files 2016-02-19 17:36:19 -05:00
main_test.go Optional args parser/lexer/ast support (#33) 2017-09-06 11:53:10 -04:00
README.md Pass through JSON 2016-04-04 02:16:03 -04:00
runtime_error.go Move AST to its own package 2017-08-25 00:30:56 -04:00
static_analyzer_test.go Move AST to its own package 2017-08-25 00:30:56 -04:00
static_analyzer.go Optional args parser/lexer/ast support (#33) 2017-09-06 11:53:10 -04:00
std.go Interpreter & runtime - minimal usable version (#24) 2017-08-24 20:09:10 -04:00
tests.sh Interpreter & runtime - minimal usable version (#24) 2017-08-24 20:09:10 -04:00
thunks.go Optional args parser/lexer/ast support (#33) 2017-09-06 11:53:10 -04:00
value.go Even more builtins 2017-09-08 14:19:19 -04:00
vm.go Move parser to its own package 2017-08-25 00:30:56 -04:00

go-jsonnet

GoDoc Widget Travis Widget Coverage Status Widget

This is a port of jsonnet to go. It is very much a work in progress.

This implementation is largely based on the the jsonnet C++ implementation. The precise revision is 27ddf2c2f7 but when we reach feature parity with that revision, we will chase up all the recent changes on the C++ side.

Implementation Notes

We are generating some helper classes on types by using http://clipperhouse.github.io/gen/. Do the following to regenerate these if necessary:

go get github.com/clipperhouse/gen
go get github.com/clipperhouse/set
go generate