Stanisław Barzowski
214a61790a
Update Go versions in CI. ( #758 )
...
Drop support for Go < 1.20.
2024-06-10 21:42:18 +01:00
itchyny
e544339880
Remove dependency on gen to generate sets ( #746 )
2024-06-09 19:24:41 +01:00
Jack
353caa131c
docs: explicit addition for installing other tools ( #658 )
2022-11-28 22:54:29 +00:00
Nicklas Frahm
68af6e05bb
Document installation for go >= 1.17
2021-12-12 17:12:52 +00:00
Dave Cunningham
2f2f6d664f
Add wasm build
2021-09-09 12:45:53 +01:00
Dave Cunningham
e3c7ddab44
Remove support for go 1.11
2021-09-09 12:45:53 +01:00
Bruno Silva
dde866ffbb
Add example usage as library in README ( #560 )
...
Add example usage as library in README
2021-08-31 22:34:41 +01:00
Paul Fischer
ece9c5dc94
updated pre-commit config and readme
2021-05-19 16:01:22 +02:00
Stanisław Barzowski
e120148a45
Add a short script for updating cpp-jsonnet.
2020-11-21 15:26:25 +01:00
Stanisław Barzowski
fe28095772
Support for array comparison
2020-10-30 20:42:46 +01:00
Varun B Patil
2e346e53e7
jsonnet-deps: Jsonnet static dependency parser
...
Fixes #833
2020-08-08 19:59:36 +02:00
Stanisław Barzowski
aaf50f5b65
Update project status in README.md
2020-07-03 17:34:29 +02:00
Weston McNamee
3563a21847
perf(stdlib): ⚡ ️ implement manifestJsonEx as native Go
...
❯ make benchmark FILTER=Builtin_manifestJsonEx
go build ./cmd/jsonnet
./benchmark.sh Builtin_manifestJsonEx
Running Before Test... (10s)
Running After Test... (10s)
benchmark old ns/op new ns/op delta
Benchmark_Builtin_manifestJsonEx-16 22656394 7502016 -66.89%
2020-06-13 19:53:42 +02:00
Frank Blechschmidt
bedbae2e6c
Add Homebrew install instructions
2020-04-15 10:26:02 +02:00
Dave Cunningham
724650d358
Add native golang formatter ( #388 )
...
Add native golang formatter
2020-03-10 22:19:49 +00:00
Weston McNamee
27b4c60bc7
feat: Improve performance of substr by 84.44%
...
This pulls in the implementation of substr into native Go instead of interpretted Jsonnet.
benchmark old ns/op new ns/op delta
Benchmark_Builtin_substr-16 97121527 15115905 -84.44%
part of #111
2020-01-26 09:20:58 +01:00
Carlos Cobo
e90ff27a27
Fix git clone in build instructions
2020-01-22 11:08:43 +01:00
Stanisław Barzowski
b44e63e102
Bump officially supported Go version to 1.11
...
Go 1.8 has been unsupported for more than a year.
2019-12-20 15:48:45 +01:00
Stanisław Barzowski
e6c74ca7a6
Address review comments
2019-08-28 20:16:47 +01:00
Stanisław Barzowski
82f949e7fe
Extract AST processing to separate packages
...
Making it independent from the jsonnet package breaks the circular
dependency during stdast generation.
2019-08-28 20:16:47 +01:00
Jason Cooke
13437c69e1
docs: fix typo
2019-08-24 22:06:58 +02:00
Steve Harris
4996d46471
Allow use of Bazel repository externally
2019-07-04 13:09:47 +02:00
Steve Harris
3e7d3b16a4
Commit astgen/stdast.go file for use with "go get"
2019-06-15 01:34:11 +02:00
Steve Harris
5b0d9c4da0
dumpstdlibast: Take source file path as parameter
2019-06-15 01:34:11 +02:00
Steve Harris
e7f9dcae99
Augment documentation with use of Bazel
2019-06-15 01:34:11 +02:00
Stanisław Barzowski
c195e570ef
Share std.jsonnet with cpp-jsonnet
...
So far `std.jsonnet` needed to be updated seprately from
the cpp-jsonnet submodule. Since we should update it anyway
at the same time (to make sure the tests are running fine),
we can just as well get it directly from there, eliminating
the extra step of copying the new `std.jsonnet` version.
This change updates the cpp-jsonnet used.
2019-04-16 20:35:19 +02:00
Michael Schuett
2188e2d62a
Add go mod / cleanup ( #266 )
...
Add go mod
Also make the build docs nicer and cleanup the file directory to be in line
with most other go projects. This also make it so you can build jsonnet
without setting -o on go build.
2019-04-03 15:46:19 +02:00
Gareth Rushgrove
2999f7d4f6
Fix build instructions
...
Without downloading the dependency the current instructions fail to build.
2018-09-24 18:36:56 -04:00
Marcelo Cantos
cf6933d45b
Add C++-Jsonnet submodule for tests ( #202 )
...
* Add C++-Jsonnet submodule for tests
* Add tests.sh to travis-ci
2018-03-06 13:05:00 -05:00
Stanisław Barzowski
d6623a98cb
Oldest version known to work = Go 1.8, closes #177
...
It seems like it was broken on older compilers
since pregenerated stdlib AST.
It adds go 1.8.x to travis, so that we have a chance
of catching when our "known to work" no longer holds.
2018-01-18 12:48:20 -05:00
Liang Mingqiang
8f568c1115
remove escLocalFS ( #150 )
...
* remove escLocalFS
* update README
2017-11-10 09:55:22 -05:00
Dave Cunningham
b04e73e163
Fix unparsing of enums, avoid static type error
2017-11-08 11:28:38 -05:00
Dave Cunningham
5ff7ee047d
Update README.md
2017-10-13 19:55:06 -04:00
Dave Cunningham
09c7c8c7c0
Pass through JSON
2016-04-04 02:16:03 -04:00
Joe Beda
142b77c41f
Finish up blocking out the parser.
...
There is the most minimal of tests and so this probably doesn't work well yet. Adding tests is the next job.
2016-03-01 17:08:35 -08:00
Joe Beda
a469f9615b
Fix up repo paths in the README.
2016-02-20 18:34:59 -08:00
Dave Cunningham
4a8db91129
Add CONTRIBUTING, add newline to end of other files
2016-02-19 17:36:19 -05:00
Joe Beda
96c648f646
Add travis widget
2016-01-21 13:47:24 -08:00
Joe Beda
cdbee43fa4
Improve test coverage, add README badges.
2016-01-21 13:40:20 -08:00
Joe Beda
a04a6cf2e3
Initial commit with lexer
2016-01-21 13:11:48 -08:00