Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate jrsonnet-evaluator and stdlib implementation #82

Closed
wants to merge 45 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
277df8e
doc: add patreon link
CertainLach Jun 26, 2022
d748c85
ci: remove outdated build
CertainLach Jul 7, 2022
146d9d9
refactor!: remove outdated ast pretty-printer
CertainLach Jul 7, 2022
5a21a2e
refactor(parser)!: remove intrinsic syntax
CertainLach Jul 23, 2022
34a152f
feat(interner): make more functions const
CertainLach Jul 23, 2022
ab6ba99
refactor(evaluator)!: remove standard library
CertainLach Jul 23, 2022
6d7ca68
refactor(stdlib): implement as a standalone crate
CertainLach Jul 23, 2022
907d6da
fix(evaluator): unnamed_len conflict with unnamed_iter
CertainLach Jul 23, 2022
50ca1d2
feat(evaluator): function signature help
CertainLach Jul 23, 2022
06fa714
style: apply clippy suggestions
CertainLach Jul 23, 2022
dde7eda
refactor(cli): move to split stdlib
CertainLach Jul 23, 2022
41db4d5
refactor(libjsonnet): move to split stdlib
CertainLach Jul 23, 2022
21a5131
feat: `ContextBuilder`
CertainLach Jul 23, 2022
3ee61c4
feat(evaluator): `IndexableMap::slice` helper
CertainLach Jul 23, 2022
b797bad
build: regenerate lockfile
CertainLach Jul 23, 2022
593731d
build: regenerate lockfile
CertainLach Jul 23, 2022
cfd533f
ci: remove outdated nix flake
CertainLach Jul 23, 2022
6eba9c3
fix(cli): gc stats were always printed
CertainLach Aug 5, 2022
68c8ac0
fix(stdlib): std.trace should be lazy
CertainLach Aug 5, 2022
4ad9956
refactor: keep source code alongside source path
CertainLach Aug 5, 2022
673ea5e
fix(parser): allow trailing comma before forspec in object
CertainLach Aug 5, 2022
b305ce3
perf: only cache gets in top-level object
CertainLach Aug 5, 2022
0831da3
perf: reimplement AST codegen
CertainLach Aug 7, 2022
f51b87e
perf: implement std.findSubstr in native
CertainLach Aug 7, 2022
a586993
perf: remove allocation on empty string concat
CertainLach Aug 7, 2022
4c21363
perf: implement std.{startsWith, endsWith} in native
CertainLach Aug 7, 2022
aa97bc0
test: update for split stdlib
CertainLach Aug 7, 2022
f22b934
style: fix clippy warnings
CertainLach Aug 7, 2022
c479536
refactor: remove dummy lib.rs contents
CertainLach Aug 27, 2022
3c7fc76
build: mark tests as no-publish
CertainLach Aug 27, 2022
a7e60a9
feat: custom SourcePath trait
CertainLach Aug 27, 2022
bf006f5
feat(evaluator): custom source paths
CertainLach Aug 27, 2022
b4d71ec
refactor(treewide): custom path support
CertainLach Aug 27, 2022
921b990
doc(libjsonnet): copy official documentation to doccomments
CertainLach Aug 27, 2022
3a6a304
build: regenerate lockfile
CertainLach Aug 27, 2022
a5bf806
fix: remove unnecessary reference
CertainLach Aug 27, 2022
f2fefaf
style: fix trailing newline
CertainLach Aug 27, 2022
097494e
refactor: trivial code review suggestions
CertainLach Sep 18, 2022
e8ba764
fix: int rendering in format should operate floats
CertainLach Oct 11, 2022
420d09a
feat: impl ArgsLike for Vec<Val>
CertainLach Oct 11, 2022
1178a0b
doc: builtin trait
CertainLach Oct 11, 2022
afca252
feat: allow unnamed builtin arguments
CertainLach Oct 11, 2022
70f3783
style: fix clippy warnings
CertainLach Oct 11, 2022
ff3e2c8
doc: review issues
CertainLach Oct 15, 2022
c39582b
Merge remote-tracking branch 'origin/master' into split-stdlib
CertainLach Oct 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .envrc

This file was deleted.

58 changes: 0 additions & 58 deletions .gitlab-ci.yml

This file was deleted.

108 changes: 73 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["crates/*", "bindings/jsonnet", "cmds/jrsonnet"]
members = ["crates/*", "bindings/jsonnet", "cmds/jrsonnet", "tests"]

[profile.test]
opt-level = 1
Expand Down
5 changes: 4 additions & 1 deletion bindings/jsonnet/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "jsonnet"
name = "libjsonnet"
description = "Rust implementation of libjsonnet.so"
version = "0.4.2"
authors = ["Yaroslav Bolyukin <iam@lach.pw>"]
Expand All @@ -10,12 +10,15 @@ publish = false
[dependencies]
jrsonnet-evaluator = { path = "../../crates/jrsonnet-evaluator", version = "0.4.2" }
jrsonnet-parser = { path = "../../crates/jrsonnet-parser", version = "0.4.2" }
jrsonnet-stdlib = { path = "../../crates/jrsonnet-stdlib", version = "0.4.2" }
jrsonnet-gcmodule = { version = "0.3.4" }

[lib]
name = "jsonnet"
crate-type = ["cdylib"]

[features]
# Export additional functions for native integration, i.e ability to set custom trace format
interop = []
experimental = ["exp-preserve-order", "exp-destruct"]
exp-preserve-order = ["jrsonnet-evaluator/exp-preserve-order"]
Expand Down
Loading