Go to file
2017-10-05 03:31:16 -04:00
ast Don't escape block strings (#98) 2017-10-03 14:29:12 -04:00
compat Support of +:, in, in super 2017-09-28 22:21:46 -04:00
compat_test Some placeholders and experiments for C library 2017-09-27 22:01:29 -04:00
jsonnet Support --ext-str and --ext-code options 2017-10-03 14:31:53 -04:00
parser Allow all kinds of string literals as object field names 2017-10-03 14:30:32 -04:00
std Interpreter & runtime - minimal usable version (#24) 2017-08-24 20:09:10 -04:00
testdata Support for stack trace size limit 2017-10-05 03:31:16 -04:00
_gen.go Finish up blocking out the parser. 2016-03-01 17:08:35 -08:00
.gitignore Some placeholders and experiments for C library 2017-09-27 22:01:29 -04:00
.travis.yml travis: update go version 2017-09-19 23:48:34 -04:00
builtins.go Location, error formatting and stack trace improvements (#59) 2017-10-03 14:27:44 -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 Support $ in comprehesions, fixes #68 2017-10-03 19:51:01 -04:00
doc.go Remove go:generate causing errors 2017-09-29 12:36:04 -04:00
error_formatter.go Support for stack trace size limit 2017-10-05 03:31:16 -04:00
evaluator.go Location, error formatting and stack trace improvements (#59) 2017-10-03 14:27:44 -04:00
imports.go Support for std.thisFile, fixes #91. 2017-10-03 15:17:43 -04:00
interpreter_test.go First end-to-end test (addition of numbers) 2016-03-08 01:17:44 -05:00
interpreter.go Remove commented out code 2017-10-03 15:17:43 -04:00
LICENSE Add CONTRIBUTING, add newline to end of other files 2016-02-19 17:36:19 -05:00
main_test.go Support for stack trace size limit 2017-10-05 03:31:16 -04:00
README.md Pass through JSON 2016-04-04 02:16:03 -04:00
runtime_error.go Location, error formatting and stack trace improvements (#59) 2017-10-03 14:27:44 -04:00
static_analyzer_test.go Move AST to its own package 2017-08-25 00:30:56 -04:00
static_analyzer.go Support of +:, in, in super 2017-09-28 22:21:46 -04:00
std.go Interpreter & runtime - minimal usable version (#24) 2017-08-24 20:09:10 -04:00
tests.sh Support --ext-str and --ext-code options 2017-10-03 14:31:53 -04:00
thunks.go Express at-most-once evaluation (thunk caching) in types 2017-10-03 19:50:12 -04:00
value.go Express at-most-once evaluation (thunk caching) in types 2017-10-03 19:50:12 -04:00
vm.go Support for stack trace size limit 2017-10-05 03:31:16 -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