• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

google / go-jsonnet / 64
44%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2017 12:10AM UTC
Jobs 2
Files 24
Run time 47s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
64

push

travis-ci

sparkprime
Interpreter & runtime - minimal usable version (#24)

* Interpreter & runtime - minimal usable version

Accomplishments in this commit:
* Majority of language features implemented:
	* Unary operators
	* Binary operators
	* Conditionals
	* Errors
	* Indexing arrays
	* Indexing objects
	* Object inheritance
	* Imports
	* Functions
	* Function calls
* There is a quite nice way for creating builtins
* Static analyzer is there with most of the functionality
* Standard library is included and parts unaffected by missing features
work
* Some bugs in existing parts fixed
* Most positive tests from C++ version pass, the rest is failing mostly
due to missing builtins and comprehensions.
* Some initial structure was created that should allow more incremental
  and focused changes in the future PRs.
* Some comments/explanations added
* Panics translated to a little bit more gentle internal errors (with a
  link to issues on github).

What still sucks:
* Stack traces & error messages (there's some stuff in place)
* Almost everything is in the same package
* Stuff is exported or unexporeted randomly (see above)
* Missing a few lexing/parsing features
* Missing builtins
* Missing support for extvars and top-level-args
* Checking function arguments is missing
* No clean Go API that commandline and compatibility layer to C can use
* No compatibility layer to C
* Assertions don't work (desugaring level, assertEquals works).
* Manifestation stack traces (and generally it could use some work).
* The way environments are constructed is sometimes suboptimal/clumsy.

1211 of 1211 new or added lines in 14 files covered. (100.0%)

2709 of 3516 relevant lines covered (77.05%)

124727.06 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
location.go
9
100.0
thunks.go
12
100.0
error_formatter.go
13
100.0
static_analyzer.go
13
100.0
vm.go
20
100.0
value.go
25
100.0
evaluator.go
58
100.0
interpreter.go
70
100.0
imports.go
84
100.0
std.go
96
100.0
builtins.go

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
interpreter.go
Jobs
ID Job ID Ran Files Coverage
1 64.1 25 Aug 2017 12:10AM UTC 0
77.05
Travis Job 64.1
2 64.2 25 Aug 2017 12:11AM UTC 0
77.05
Travis Job 64.2
Source Files on build 64
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #64
  • 5da57ac4 on github
  • Prev Build on master (#58)
  • Next Build on master (#67)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc