lix/src
piegames ec7552ff74 libexpr/parser: Test experimental features
Currently, the parser relies on the global experimental feature flags.
In order to properly test conditional language features, we instead need
to pass it around in the parser::State.

This means that the parser cannot cache the result of isEnabled anymore,
which wouldn't necessarily hurt performance if the function didn't
perform a linear search on the list of enabled features on every single
call. While we could simply evaluate once at the start of parsing and
cache the result in the parser state, the more sustainable solution
would be to fix `isEnabled` such that all callers may profit from the
performance improvement.

Change-Id: Ic9b9c5d882b6270e1114988b63e6064d36c25cf2
2024-08-07 13:07:50 +00:00
..
asan-options tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00
build-remote tree-wide: NULL -> nullptr 2024-07-23 21:06:55 +02:00
libcmd remove unused headers in installable-attr-path 2024-08-01 00:37:13 +00:00
libexpr libexpr/parser: Test experimental features 2024-08-07 13:07:50 +00:00
libfetchers Reapply "libfetchers: make attribute / URL query handling consistent" 2024-08-01 15:41:30 -07:00
libmain libutil: make basic loggers thread-safe 2024-07-20 12:33:49 +00:00
libstore Merge "fix: warn and document when advanced attributes will have no impact due to __structuredAttrs" into main 2024-08-07 10:38:39 +00:00
libutil tree-wide: fix various lint warnings 2024-08-04 20:55:45 -07:00
nix nix flake metadata: print modified dates for input flakes 2024-08-04 20:41:19 -07:00
nix-build tree-wide: unify progress bar inactive and paused states 2024-07-01 18:19:34 +02:00
nix-channel util.{hh,cc}: Split out users.{hh,cc} 2024-05-29 11:01:34 +02:00
nix-collect-garbage Fix dry-run flag for nix-collect-garbage 2024-07-09 13:55:05 +00:00
nix-copy-closure Merge pull request #9277 from keszybz/file-permissions 2024-03-04 05:26:17 +01:00
nix-env Use std::strong_ordering for version comparison 2024-07-12 16:48:28 +02:00
nix-instantiate libexpr: pass Exprs as references, not pointers 2024-06-17 19:46:44 +00:00
nix-store libstore: remove WriteConn::sink fields 2024-07-16 00:57:42 +00:00
pch build-time: remove 20% more by PCH'ing C++ stdlib 2024-05-30 21:54:21 +00:00
resolve-system-dependencies tree-wide: NULL -> nullptr 2024-07-23 21:06:55 +02:00
lix-base.pc.in packaging: rename nixexpr -> lixexpr and so on 2024-05-23 16:45:23 -06:00
meson.build tree-wide: add support for asan! 2024-07-31 14:13:39 -07:00