Commit Graph
100 Commits
Author SHA1 Message Date
imxyy1soope1 ae5febd5dd feat(cli): compile 2026-02-18 20:45:42 +08:00
imxyy1soope1 3cc7c7be75 chore: update deps; restructure tests; use Map over Record 2026-02-17 12:02:54 +08:00
imxyy1soope1 f49634ccc0 optimize: use Map to represent NixAttrs 2026-02-17 10:35:37 +08:00
imxyy1soope1 4a885c18b8 chore: add eslint 2026-02-17 10:35:37 +08:00
imxyy1soope1 37e395c0e3 optimize: builtins.intersectAttrs 2026-02-16 23:07:52 +08:00
imxyy1soope1 16a8480d29 feat(cli): support eval file 2026-02-16 21:52:08 +08:00
imxyy1soope1 f0a0593d4c feat: implement builtins.toXML 2026-02-16 19:52:33 +08:00
imxyy1soope1 ce64a82da3 feat: inspector 2026-02-16 19:52:33 +08:00
imxyy1soope1 5c48e5cfdd feat: implement hash related primops 2026-02-15 19:55:29 +08:00
imxyy1soope1 7836f8c869 refactor: handle derivation generation on Rust side 2026-02-15 19:38:11 +08:00
imxyy1soope1 e357678d70 feat: implement realisePath 2026-02-15 18:26:24 +08:00
imxyy1soope1 2f2c690023 chore(runtime-ts): fix linter errors 2026-02-15 12:20:31 +08:00
imxyy1soope1 cf4dd6c379 fix: preserve string context in builtins.{path,fetch*} 2026-02-14 20:06:38 +08:00
imxyy1soope1 31c7a62311 chore(typos): ignore lang tests 2026-02-14 19:02:26 +08:00
imxyy1soope1 ad5d047c01 chore: eliminate Result::unwrap 2026-02-14 19:01:06 +08:00
imxyy1soope1 795742e3d8 deps: upgrade dependencies 2026-02-14 19:01:00 +08:00
imxyy1soope1 60cd61d771 feat: implement fromTOML; fix fromJSON implementation 2026-02-14 13:30:31 +08:00
imxyy1soope1 d95a6e509c feat: tidy fetcher (partial)
* shouldn't have used LLM to implement this...
2026-02-13 21:57:51 +08:00
imxyy1soope1 48a43bed55 fix: fetchTarball 2026-02-13 21:19:34 +08:00
imxyy1soope1 6d8f1e79e6 fix: handle NixPath in nixValueToJson 2026-02-13 21:19:34 +08:00
imxyy1soope1 df4edaf5bb fix: preserve string context in + operator 2026-02-13 20:14:46 +08:00
imxyy1soope1 3aee3c67b9 optimization: with scope lookup 2026-02-13 18:50:42 +08:00
imxyy1soope1 a8f1c81b60 fix: derivation (WIP) 2026-02-12 00:18:12 +08:00
imxyy1soope1 249eaf3c11 refactor 2026-02-12 00:18:12 +08:00
imxyy1soope1 a79e20c417 fix: drvDeep 2026-02-12 00:18:12 +08:00
imxyy1soope1 bd9eb638af fix: deepSeq 2026-02-08 15:35:59 +08:00
imxyy1soope1 d09b84676c refactor: with_thunk_scope 2026-02-08 12:48:01 +08:00
imxyy1soope1 1346ae5405 refactor 2026-02-08 12:21:48 +08:00
imxyy1soope1 6b46e466c2 feat: implement scopedImport & REPL scoping 2026-02-08 03:53:53 +08:00
imxyy1soope1 f154010120 chore: update flake.lock 2026-02-08 02:50:48 +08:00
imxyy1soope1 f5364ded1e feat: handle regex operations on rust side 2026-02-08 01:20:38 +08:00
imxyy1soope1 26e7b74585 refactor: remove unused span_utils.rs 2026-02-08 01:20:38 +08:00
imxyy1soope1 e8a28a6d2f feat: use ere (compile-time regex compilation) 2026-02-07 18:42:16 +08:00
imxyy1soope1 216930027d refactor: move ops to runtime/ops.rs 2026-02-07 16:28:19 +08:00
imxyy1soope1 4d6fd6d614 feat: eval_shallow & eval_deep 2026-01-31 22:09:12 +08:00
imxyy1soope1 b7f4ece472 fix: force the first argument of builtins.trace 2026-01-31 20:26:53 +08:00
imxyy1soope1 a68681b4f5 fix: derivation references 2026-01-31 20:19:31 +08:00
imxyy1soope1 ba3e2ae3de feat: set v8 stack size to 8 MiB 2026-01-31 19:29:09 +08:00
imxyy1soope1 c5aee21514 fix: remove incorrect dynamic attr check 2026-01-31 18:59:11 +08:00
imxyy1soope1 8f01ce2eb4 fix: handle __functor in forceFunction 2026-01-31 18:58:44 +08:00
imxyy1soope1 a08f0e78a3 feat: builtins.placeholder 2026-01-31 18:54:13 +08:00
imxyy1soope1 547f8f3828 fix: disable TCO test 2026-01-31 17:51:01 +08:00
imxyy1soope1 aa368cb12e fix: toJSON test 2026-01-31 17:29:57 +08:00
imxyy1soope1 0360bbe4aa fix: canonicalize paths 2026-01-31 17:23:28 +08:00
imxyy1soope1 db64763d77 fix: escape "${" 2026-01-31 17:23:07 +08:00
imxyy1soope1 1aba28d97b fix: symlink resolution 2026-01-31 16:55:44 +08:00
imxyy1soope1 6838f9a0cf fix: unsafeGetAttrPos call on functionArgs 2026-01-31 16:46:16 +08:00
imxyy1soope1 cb539c52c3 chore: fmt 2026-01-31 16:23:23 +08:00
imxyy1soope1 b8f8b5764d fix: print test 2026-01-31 15:36:03 +08:00
imxyy1soope1 1cfa8223c6 fix: path related tests 2026-01-31 15:03:30 +08:00
imxyy1soope1 13874ca6ca fix: structuredAttrs 2026-01-31 13:53:02 +08:00
imxyy1soope1 5703329850 fix: copy path to store in concatStringsWithContext 2026-01-31 12:47:32 +08:00
imxyy1soope1 f0812c9063 refactor: recursive attrset; fix attrset merging 2026-01-31 12:07:13 +08:00
imxyy1soope1 97854afafa fix: getenv test 2026-01-30 22:52:03 +08:00
imxyy1soope1 9545b0fcae fix: recursive attrs 2026-01-30 22:51:42 +08:00
imxyy1soope1 aee46b0b49 feat: use CppNix's test suite 2026-01-30 22:47:47 +08:00
imxyy1soope1 1f835e7b06 fix: derivation semantic 2026-01-30 22:45:37 +08:00
imxyy1soope1 9ee2dd5c08 fix: inherit in recursive attribute sets 2026-01-29 18:40:13 +08:00
imxyy1soope1 084968c08a fix: implication operator (->) 2026-01-29 17:35:19 +08:00
imxyy1soope1 058ef44259 refactor(codegen): less allocation 2026-01-29 11:42:40 +08:00
imxyy1soope1 86953dd9d3 refactor: thunk scope 2026-01-27 10:45:40 +08:00
imxyy1soope1 d1f87260a6 fix: infinite recursion on perl (WIP) 2026-01-27 10:45:40 +08:00
imxyy1soope1 3186cfe6e4 feat(error): stack trace 2026-01-25 03:06:13 +08:00
imxyy1soope1 4d68fb26d9 fix: derivation & derivationStrict 2026-01-25 03:06:13 +08:00
imxyy1soope1 51f7f4079b feat: builtins.parseDrvName 2026-01-25 03:06:13 +08:00
imxyy1soope1 7136f57c12 feat: builtins.unsafeGetAttrPos & __curPos 2026-01-25 03:06:13 +08:00
imxyy1soope1 05b66070a3 feat: builtins.readType & builtins.readDir 2026-01-25 03:06:13 +08:00
imxyy1soope1 13a7d761f4 feat: lookup path (builtins.findFile) 2026-01-25 03:06:13 +08:00
imxyy1soope1 3d315cd050 feat: debug thunk location 2026-01-25 03:06:13 +08:00
imxyy1soope1 62ec37f3ad feat: mkAttrs 2026-01-25 03:06:13 +08:00
imxyy1soope1 a6aded7bea fix: return defaultVal when lhs is not attrset in selectWithDefault 2026-01-25 03:06:13 +08:00
imxyy1soope1 296c0398a4 fix(builtins.zipAttrsWith): laziness 2026-01-25 03:06:13 +08:00
imxyy1soope1 10430e2006 refactor: RuntimeContext 2026-01-25 03:06:13 +08:00
imxyy1soope1 f46ee9d48f chore: tidy 2026-01-24 11:20:12 +08:00
imxyy1soope1 e58ebbe408 fix: maybe_thunk 2026-01-24 02:20:33 +08:00
imxyy1soope1 2f5f84c6c1 fix: removeAttrs 2026-01-24 01:58:08 +08:00
imxyy1soope1 33775092ee fix: preserve string context 2026-01-24 00:57:42 +08:00
imxyy1soope1 ef5d8c3b29 feat: builtins.functionArgs 2026-01-24 00:57:42 +08:00
imxyy1soope1 56a8ba9475 feat: builtins.genericClosure; refactor type check 2026-01-24 00:57:42 +08:00
imxyy1soope1 58c3e67409 fix: force the attrset before checking its type in Nix.hasAttr 2026-01-24 00:54:30 +08:00
imxyy1soope1 7679a3b67f fix: list related primops 2026-01-24 00:54:30 +08:00
imxyy1soope1 95faa7b35f fix: make attrValues' order consistent 2026-01-24 00:54:30 +08:00
imxyy1soope1 43b8959842 fix: use forceBool in codegen 2026-01-24 00:54:30 +08:00
imxyy1soope1 041d7b7dd2 feat: builtins.getEnv 2026-01-24 00:54:30 +08:00
imxyy1soope1 15c4159dcc refactor: error handling 2026-01-24 00:54:30 +08:00
imxyy1soope1 2cb85529c9 feat: NamedSource 2026-01-20 20:12:57 +08:00
imxyy1soope1 e310133421 feat: better error handling 2026-01-20 08:55:08 +08:00
imxyy1soope1 208b996627 fix: error message of Nix.select 2026-01-18 16:53:12 +08:00
imxyy1soope1 9aee36a0e2 fix: relative path resolution
comma operator...
2026-01-18 16:42:54 +08:00
imxyy1soope1 dcb853ea0a feat: logging; copy to store; fix daemon: write_slice -> write_all 2026-01-18 16:42:54 +08:00
imxyy1soope1 2441e10607 feat: use snix nix-compat; implement metadata cache 2026-01-18 16:42:21 +08:00
imxyy1soope1 611255d42c feat: nix_nar 2026-01-18 01:10:49 +08:00
imxyy1soope1 2ad662c765 feat: initial nix-daemon implementation 2026-01-18 01:04:25 +08:00
imxyy1soope1 52bf46407a feat: string context 2026-01-18 00:52:31 +08:00
imxyy1soope1 513b43965c feat: do not use Object.defineProperty? 2026-01-18 00:52:11 +08:00
imxyy1soope1 09bfbca64a refactor: tidy; fix runtime path resolution 2026-01-17 16:42:10 +08:00
imxyy1soope1 f2fc12026f feat: initial path implementation 2026-01-17 12:20:18 +08:00
imxyy1soope1 97e5e7b995 feat: regex related builtins 2026-01-16 21:50:32 +08:00
imxyy1soope1 e620f39a4a fix: use coerceToString 2026-01-16 21:30:56 +08:00
imxyy1soope1 5341ad6c27 feat: builtins.compareVersions 2026-01-16 21:07:15 +08:00