Go to file
Stanisław Barzowski fe62ec46a8 Improve imports (#66)
* Improve imports

* Nonexistent file is now a runtime error (used to be ignored)
* Permission denied is a runtime error (used to be an internal error)
* Basic tests added for imports
* Renamed tests from .input to .jsonnet
	* It's standard
	* It's compatible with C++ test suite
	* Editors enable syntax highlighting based on extension
	* Importing .input looks weird
2017-09-22 18:03:00 -04:00
ast Remove unused autogenerated code 2017-09-12 17:10:36 -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 Improve imports (#66) 2017-09-22 18:03:00 -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 travis: update go version 2017-09-19 23:48:34 -04:00
builtins.go Add std.filter 2017-09-22 13:45:52 -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 Object invariants (#62) 2017-09-22 18:02:05 -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 Improve imports (#66) 2017-09-22 18:03:00 -04:00
interpreter_test.go First end-to-end test (addition of numbers) 2016-03-08 01:17:44 -05:00
interpreter.go Improve imports (#66) 2017-09-22 18:03:00 -04:00
LICENSE Add CONTRIBUTING, add newline to end of other files 2016-02-19 17:36:19 -05:00
main_test.go Improve imports (#66) 2017-09-22 18:03:00 -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 Object invariants (#62) 2017-09-22 18:02:05 -04:00
value.go Object invariants (#62) 2017-09-22 18:02:05 -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