-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Commits on Jul 23, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 277df8e - Browse repository at this point
Copy the full SHA 277df8eView commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for d748c85 - Browse repository at this point
Copy the full SHA d748c85View commit details -
refactor!: remove outdated ast pretty-printer
It had no practical use, because it was not comment-preserving There is in-progress version based on rowan parser, however it shares no code with current implementation BREAKING CHANGE: It is no longer possible to build jrsonnet-fmt Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 146d9d9 - Browse repository at this point
Copy the full SHA 146d9d9View commit details -
refactor(parser)!: remove intrinsic syntax
There was special support to refer to native functions for stdlib, as otherwise `std.native` was not implementable. However, now evaluator contains support for fancy builtins, and it is possible to reimplement standard library without any parser magic. BREAKING CHANGE: This syntax no longer works: $intrinsic(name), $intrinsicId, $intrinsicThisFile Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 5a21a2e - Browse repository at this point
Copy the full SHA 5a21a2eView commit details -
feat(interner): make more functions const
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 34a152f - Browse repository at this point
Copy the full SHA 34a152fView commit details -
refactor(evaluator)!: remove standard library
Implementation will be moved to jrsonnet-stdlib crate BREAKING CHANGE: `State::with_stdlib` was removed Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for ab6ba99 - Browse repository at this point
Copy the full SHA ab6ba99View commit details -
refactor(stdlib): implement as a standalone crate
New builtins system allows to split standard library to standalone crate Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 6d7ca68 - Browse repository at this point
Copy the full SHA 6d7ca68View commit details -
fix(evaluator): unnamed_len conflict with unnamed_iter
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 907d6da - Browse repository at this point
Copy the full SHA 907d6daView commit details -
feat(evaluator): function signature help
When calling functions with wrong arguments, evaluator will now suggest correct function signature Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 50ca1d2 - Browse repository at this point
Copy the full SHA 50ca1d2View commit details -
style: apply clippy suggestions
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 06fa714 - Browse repository at this point
Copy the full SHA 06fa714View commit details -
refactor(cli): move to split stdlib
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for dde7eda - Browse repository at this point
Copy the full SHA dde7edaView commit details -
refactor(libjsonnet): move to split stdlib
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 41db4d5 - Browse repository at this point
Copy the full SHA 41db4d5View commit details -
Helper for fancier building of user contexts Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 21a5131 - Browse repository at this point
Copy the full SHA 21a5131View commit details -
feat(evaluator):
IndexableMap::slice
helperPreviously `slice` method was only in `ArrayVal`, and for strings it needed to be implemented manually Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 3ee61c4 - Browse repository at this point
Copy the full SHA 3ee61c4View commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for b797bad - Browse repository at this point
Copy the full SHA b797badView commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 593731d - Browse repository at this point
Copy the full SHA 593731dView commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for cfd533f - Browse repository at this point
Copy the full SHA cfd533fView commit details
Commits on Aug 5, 2022
-
fix(cli): gc stats were always printed
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 6eba9c3 - Browse repository at this point
Copy the full SHA 6eba9c3View commit details -
fix(stdlib): std.trace should be lazy
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 68c8ac0 - Browse repository at this point
Copy the full SHA 68c8ac0View commit details -
refactor: keep source code alongside source path
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 4ad9956 - Browse repository at this point
Copy the full SHA 4ad9956View commit details -
fix(parser): allow trailing comma before forspec in object
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 673ea5e - Browse repository at this point
Copy the full SHA 673ea5eView commit details -
perf: only cache gets in top-level object
Deep cache only has sense in presence of standalone self, and most of the time it only takes unnecessary space, and takes time to fill/rehash the cache map. Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for b305ce3 - Browse repository at this point
Copy the full SHA b305ce3View commit details
Commits on Aug 7, 2022
-
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 0831da3 - Browse repository at this point
Copy the full SHA 0831da3View commit details -
perf: implement std.findSubstr in native
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for f51b87e - Browse repository at this point
Copy the full SHA f51b87eView commit details -
perf: remove allocation on empty string concat
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for a586993 - Browse repository at this point
Copy the full SHA a586993View commit details -
perf: implement std.{startsWith, endsWith} in native
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 4c21363 - Browse repository at this point
Copy the full SHA 4c21363View commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for aa97bc0 - Browse repository at this point
Copy the full SHA aa97bc0View commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for f22b934 - Browse repository at this point
Copy the full SHA f22b934View commit details
Commits on Aug 27, 2022
-
refactor: remove dummy lib.rs contents
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for c479536 - Browse repository at this point
Copy the full SHA c479536View commit details -
build: mark tests as no-publish
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 3c7fc76 - Browse repository at this point
Copy the full SHA 3c7fc76View commit details -
For usage in new import resolvers, this change allows to use custom types within importers, allowing to allow imports from internet Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for a7e60a9 - Browse repository at this point
Copy the full SHA a7e60a9View commit details -
feat(evaluator): custom source paths
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for bf006f5 - Browse repository at this point
Copy the full SHA bf006f5View commit details -
refactor(treewide): custom path support
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for b4d71ec - Browse repository at this point
Copy the full SHA b4d71ecView commit details -
doc(libjsonnet): copy official documentation to doccomments
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 921b990 - Browse repository at this point
Copy the full SHA 921b990View commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 3a6a304 - Browse repository at this point
Copy the full SHA 3a6a304View commit details -
fix: remove unnecessary reference
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for a5bf806 - Browse repository at this point
Copy the full SHA a5bf806View commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for f2fefaf - Browse repository at this point
Copy the full SHA f2fefafView commit details
Commits on Sep 18, 2022
-
refactor: trivial code review suggestions
Co-authored-by: Petr Portnov | PROgrm_JARvis <gh@progrm-jarvis.ru>
Configuration menu - View commit details
-
Copy full SHA for 097494e - Browse repository at this point
Copy the full SHA 097494eView commit details
Commits on Oct 11, 2022
-
fix: int rendering in format should operate floats
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for e8ba764 - Browse repository at this point
Copy the full SHA e8ba764View commit details -
feat: impl ArgsLike for Vec<Val>
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 420d09a - Browse repository at this point
Copy the full SHA 420d09aView commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 1178a0b - Browse repository at this point
Copy the full SHA 1178a0bView commit details -
feat: allow unnamed builtin arguments
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for afca252 - Browse repository at this point
Copy the full SHA afca252View commit details -
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for 70f3783 - Browse repository at this point
Copy the full SHA 70f3783View commit details
Commits on Oct 15, 2022
-
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for ff3e2c8 - Browse repository at this point
Copy the full SHA ff3e2c8View commit details -
Merge remote-tracking branch 'origin/master' into split-stdlib
Signed-off-by: Yaroslav Bolyukin <iam@lach.pw>
Configuration menu - View commit details
-
Copy full SHA for c39582b - Browse repository at this point
Copy the full SHA c39582bView commit details