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

refactor: move more stdlib functions to builtins #159

Merged
merged 46 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
893ba00
refactor: move more stdlib functions to builtins
CertainLach May 1, 2024
56316b2
fix: experimental build
CertainLach May 1, 2024
6d436d3
fix: preserve_order arg defaults
CertainLach May 1, 2024
1b608b1
feat: add description stacktrace frames for all formats
CertainLach May 4, 2024
3de4628
fix: ObjValue is_empty should not account hidden fields
CertainLach May 4, 2024
4e03597
fix: benchmarks against release
CertainLach May 17, 2024
0b4fbcf
build(nix): update `flake.lock` on 13.05.2024
JarvisCraft May 12, 2024
261130a
style: fix clippy warnings
CertainLach May 17, 2024
f008573
fix: manifest formats
CertainLach May 17, 2024
5073b1b
fix: spacing in array toString
CertainLach May 17, 2024
cc8862c
doc: outdated panic reason
CertainLach May 17, 2024
dd94fb0
feat: `*stripChars` builtins
JarvisCraft May 17, 2024
a59708a
feat: default params in function description
CertainLach May 19, 2024
2e770d8
fix: wrong is_empty condition
CertainLach May 19, 2024
a8e6d82
perf: move C++ compat to native
CertainLach May 19, 2024
97b7866
perf: move mapWithIndex to native
CertainLach May 19, 2024
649d0cc
perf: move std.lines to native
CertainLach May 19, 2024
30c28c2
fix: ToStringFormat should not quote top-level string
CertainLach May 19, 2024
0503842
perf: move ini manifestification to native
CertainLach May 19, 2024
3ed80e7
fix: enforce Val::Num finityness at type level
CertainLach May 19, 2024
b4916ff
perf: move deepJoin to native
CertainLach May 19, 2024
f340888
fixup!: forgot to commit IniFormat
CertainLach May 19, 2024
c3e02c6
perf: move std.assertEqual, std.find to native
CertainLach May 19, 2024
ec89bf2
perf: move mergePatch to native
CertainLach May 19, 2024
b5ab57d
perf: move resolvePath to native
CertainLach May 19, 2024
62ca823
perf: move mapWithKey to native
CertainLach May 19, 2024
71206de
perf: remove AST (de)serialization
CertainLach May 19, 2024
d6c7d6b
feat: enable std.thisFile by default
CertainLach May 19, 2024
a5ceb37
style: fix clippy warnings
CertainLach May 19, 2024
b1d98ba
fixup! fix formatting
CertainLach May 19, 2024
794d37b
refactor: drop interior mutable settings from State
CertainLach May 19, 2024
48c2404
perf: inline NumValue methods
CertainLach May 27, 2024
118f407
ci: add pre-commit hook
CertainLach May 27, 2024
f6504ba
refactor: add proper getters for LocExpr
CertainLach May 27, 2024
476a44c
perf: document iter_cheap vs iter
CertainLach May 27, 2024
e3f600e
feat: impl ContextInitializer for Option<impl ContextInitializer>
CertainLach May 27, 2024
c9caeec
fix: StateBuilder leftovers
CertainLach May 27, 2024
af71128
feat: thread_enter/thread_exit bindins
CertainLach May 28, 2024
962eba5
refactor: move push_frame out of State struct
CertainLach May 28, 2024
bc92574
refactor(bindings): extra interop methods
CertainLach May 28, 2024
8b8d76f
ci: bindings launch helper
CertainLach May 28, 2024
6b6461e
fix: std.mapWithKey callback signature
CertainLach May 28, 2024
9bc41c0
style: remove unused import
CertainLach May 28, 2024
9e17876
fix: bindings param optionality
CertainLach May 28, 2024
ca50bd2
feat(xtask): auto-target
CertainLach May 28, 2024
340f75c
fix: experimental features build
CertainLach Jun 11, 2024
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
7 changes: 7 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
root = true

[tests/golden/*.jsonnet.golden]
generated_code = true
indent_style = space
indent_size = 4
insert_final_newline = false
7 changes: 7 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
RED='\033[0;31m'
RESET='\033[0m'

use flake

if ! diff .github/hooks/pre-commit .git/hooks/pre-commit >/dev/null; then
echo -e "${RED}Hooks are updated, read .github/hooks/pre-commit, and then install it with cp .github/hooks/pre-commit .git/hooks/pre-commit${RESET}"
fi
1 change: 1 addition & 0 deletions .github/hooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cargo xtask lint
133 changes: 58 additions & 75 deletions Cargo.lock

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

Loading