lix/tests/functional/lang
piegames e5de1d13c4 libexpr: Optimize complex indented strings
The old behavior results in lots of concatenations happening for no good
reason and is an artifact of the technical limitations of the old parser
(combined with some lack of care for such details).

Change-Id: I0d78d6220ca6aeaa10bc437e48e08bf7922e0bb3
2024-10-18 19:37:23 +02:00
..
dir1
dir2
dir3
dir4
readDir
symlink-resolution
binary-data
data
empty.exp
eval-fail-abort.err.exp
eval-fail-abort.nix
eval-fail-addDrvOutputDependencies-empty-context.err.exp
eval-fail-addDrvOutputDependencies-empty-context.nix
eval-fail-addDrvOutputDependencies-multi-elem-context.err.exp
eval-fail-addDrvOutputDependencies-multi-elem-context.nix
eval-fail-addDrvOutputDependencies-wrong-element-kind.err.exp
eval-fail-addDrvOutputDependencies-wrong-element-kind.nix
eval-fail-assert.err.exp treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-fail-assert.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-fail-attr-name-type.err.exp
eval-fail-attr-name-type.nix
eval-fail-bad-string-interpolation-1.err.exp
eval-fail-bad-string-interpolation-1.nix
eval-fail-bad-string-interpolation-2.err.exp
eval-fail-bad-string-interpolation-2.nix
eval-fail-bad-string-interpolation-3.err.exp
eval-fail-bad-string-interpolation-3.nix
eval-fail-bad-string-interpolation-4.err.exp
eval-fail-bad-string-interpolation-4.nix
eval-fail-blackhole.err.exp treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-fail-blackhole.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-fail-call-primop.err.exp
eval-fail-call-primop.nix
eval-fail-deepseq.err.exp
eval-fail-deepseq.nix
eval-fail-dup-dynamic-attrs.err.exp
eval-fail-dup-dynamic-attrs.nix
eval-fail-dupAttr-deep.err.exp
eval-fail-dupAttr-deep.nix
eval-fail-dupAttr-inherit.err.exp
eval-fail-dupAttr-inherit.nix
eval-fail-dupAttr.err.exp
eval-fail-dupAttr.nix
eval-fail-duplicate-traces.err.exp
eval-fail-duplicate-traces.nix
eval-fail-fetchTree-negative.err.exp
eval-fail-fetchTree-negative.nix
eval-fail-flake-ref-to-string-negative-integer.err.exp
eval-fail-flake-ref-to-string-negative-integer.nix
eval-fail-foldlStrict-strict-op-application.err.exp
eval-fail-foldlStrict-strict-op-application.nix
eval-fail-fromJSON-overflowing.err.exp
eval-fail-fromJSON-overflowing.nix
eval-fail-fromTOML-timestamps.err.exp
eval-fail-fromTOML-timestamps.nix
eval-fail-hashfile-missing.err.exp
eval-fail-hashfile-missing.nix
eval-fail-infinite-recursion-lambda.err.exp
eval-fail-infinite-recursion-lambda.nix
eval-fail-list.err.exp
eval-fail-list.nix
eval-fail-missing-arg.err.exp
eval-fail-missing-arg.nix
eval-fail-mutual-recursion.err.exp
eval-fail-mutual-recursion.nix
eval-fail-nonexist-path.err.exp
eval-fail-nonexist-path.nix
eval-fail-not-throws.err.exp
eval-fail-not-throws.nix
eval-fail-overflowing-add.err.exp
eval-fail-overflowing-add.nix
eval-fail-overflowing-div.err.exp
eval-fail-overflowing-div.nix
eval-fail-overflowing-mul.err.exp
eval-fail-overflowing-mul.nix
eval-fail-overflowing-sub.err.exp
eval-fail-overflowing-sub.nix
eval-fail-print-limit-list.err.exp
eval-fail-print-limit-list.nix
eval-fail-print-limit-set.err.exp
eval-fail-print-limit-set.nix
eval-fail-recursion.err.exp
eval-fail-recursion.nix
eval-fail-remove.err.exp treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-fail-remove.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-fail-scope-5.err.exp treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-fail-scope-5.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-fail-select-err.err.exp
eval-fail-select-err.nix
eval-fail-seq.err.exp
eval-fail-seq.nix
eval-fail-set-override.err.exp
eval-fail-set-override.flags libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
eval-fail-set-override.nix
eval-fail-substring.err.exp
eval-fail-substring.nix
eval-fail-to-path.err.exp
eval-fail-to-path.nix
eval-fail-toJSON.err.exp
eval-fail-toJSON.nix
eval-fail-undeclared-arg.err.exp
eval-fail-undeclared-arg.nix
eval-fail-using-set-as-attr-name.err.exp
eval-fail-using-set-as-attr-name.nix
eval-okay-any-all.exp
eval-okay-any-all.nix
eval-okay-arithmetic.exp
eval-okay-arithmetic.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-attrnames.exp
eval-okay-attrnames.nix
eval-okay-attrs.exp
eval-okay-attrs.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-attrs2.exp
eval-okay-attrs2.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-attrs3.exp
eval-okay-attrs3.nix
eval-okay-attrs4.exp
eval-okay-attrs4.nix
eval-okay-attrs5.exp
eval-okay-attrs5.nix
eval-okay-attrs6.exp
eval-okay-attrs6.flags libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
eval-okay-attrs6.nix
eval-okay-autoargs.exp
eval-okay-autoargs.flags
eval-okay-autoargs.nix
eval-okay-backslash-newline-1.exp
eval-okay-backslash-newline-1.nix
eval-okay-backslash-newline-2.exp
eval-okay-backslash-newline-2.nix
eval-okay-builtins-add.exp
eval-okay-builtins-add.nix
eval-okay-builtins.exp
eval-okay-builtins.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-callable-attrs.exp
eval-okay-callable-attrs.nix
eval-okay-catattrs.exp
eval-okay-catattrs.nix
eval-okay-closure.exp
eval-okay-closure.exp.xml
eval-okay-closure.nix
eval-okay-comments.exp
eval-okay-comments.nix
eval-okay-concat.exp
eval-okay-concat.nix
eval-okay-concatmap.exp
eval-okay-concatmap.nix
eval-okay-concatstringssep.exp
eval-okay-concatstringssep.nix
eval-okay-context-introspection.exp
eval-okay-context-introspection.nix
eval-okay-context.exp
eval-okay-context.nix
eval-okay-curpos.exp
eval-okay-curpos.nix
eval-okay-deepseq.exp
eval-okay-deepseq.nix
eval-okay-delayed-with-inherit.exp
eval-okay-delayed-with-inherit.nix
eval-okay-delayed-with.exp
eval-okay-delayed-with.nix
eval-okay-derivation-legacy.err.exp
eval-okay-derivation-legacy.exp
eval-okay-derivation-legacy.nix
eval-okay-dynamic-attrs-2.exp
eval-okay-dynamic-attrs-2.nix
eval-okay-dynamic-attrs-bare.exp
eval-okay-dynamic-attrs-bare.nix
eval-okay-dynamic-attrs.exp
eval-okay-dynamic-attrs.nix
eval-okay-elem.exp
eval-okay-elem.nix
eval-okay-empty-args.exp
eval-okay-empty-args.nix
eval-okay-eq-derivations.exp
eval-okay-eq-derivations.nix
eval-okay-eq.exp
eval-okay-eq.nix
eval-okay-filter.exp
eval-okay-filter.nix
eval-okay-flake-ref-to-string.exp
eval-okay-flake-ref-to-string.nix
eval-okay-flatten.exp
eval-okay-flatten.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-float.exp
eval-okay-float.nix
eval-okay-floor-ceil.exp
eval-okay-floor-ceil.nix
eval-okay-foldlStrict-lazy-elements.exp
eval-okay-foldlStrict-lazy-elements.nix
eval-okay-foldlStrict-lazy-initial-accumulator.exp
eval-okay-foldlStrict-lazy-initial-accumulator.nix
eval-okay-foldlStrict.exp
eval-okay-foldlStrict.nix
eval-okay-fromjson-escapes.exp
eval-okay-fromjson-escapes.nix
eval-okay-fromjson.exp
eval-okay-fromjson.nix
eval-okay-fromTOML-timestamps.exp
eval-okay-fromTOML-timestamps.flags
eval-okay-fromTOML-timestamps.nix
eval-okay-fromTOML.exp
eval-okay-fromTOML.nix
eval-okay-functionargs.exp
eval-okay-functionargs.exp.xml
eval-okay-functionargs.nix
eval-okay-getattrpos-functionargs.exp
eval-okay-getattrpos-functionargs.nix
eval-okay-getattrpos-undefined.exp
eval-okay-getattrpos-undefined.nix
eval-okay-getattrpos.exp
eval-okay-getattrpos.nix
eval-okay-getenv.exp
eval-okay-getenv.nix
eval-okay-groupBy.exp
eval-okay-groupBy.nix
eval-okay-hash.exp
eval-okay-hashfile.exp
eval-okay-hashfile.nix
eval-okay-hashstring.exp
eval-okay-hashstring.nix
eval-okay-if.exp
eval-okay-if.nix
eval-okay-import.exp
eval-okay-import.nix
eval-okay-ind-string.exp tests/functional-lang: Add test cases for indented strings 2024-10-18 11:40:04 +00:00
eval-okay-ind-string.nix tests/functional-lang: Add test cases for indented strings 2024-10-18 11:40:04 +00:00
eval-okay-inherit-attr-pos.exp
eval-okay-inherit-attr-pos.nix
eval-okay-inherit-from.err.exp
eval-okay-inherit-from.exp
eval-okay-inherit-from.flags libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
eval-okay-inherit-from.nix
eval-okay-intersectAttrs.exp
eval-okay-intersectAttrs.nix
eval-okay-let.exp
eval-okay-let.flags libexpr: Soft-deprecate ancient let syntax 2024-08-21 12:59:03 +02:00
eval-okay-let.nix
eval-okay-list.exp
eval-okay-list.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-listtoattrs.exp
eval-okay-listtoattrs.nix
eval-okay-logic.exp
eval-okay-logic.nix
eval-okay-map.exp
eval-okay-map.nix
eval-okay-mapattrs.exp
eval-okay-mapattrs.nix
eval-okay-merge-dynamic-attrs.exp
eval-okay-merge-dynamic-attrs.nix
eval-okay-nested-with.exp
eval-okay-nested-with.nix
eval-okay-new-let.exp
eval-okay-new-let.nix
eval-okay-null-dynamic-attrs.exp
eval-okay-null-dynamic-attrs.nix
eval-okay-overrides.exp
eval-okay-overrides.flags libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
eval-okay-overrides.nix
eval-okay-parse-flake-ref.exp
eval-okay-parse-flake-ref.nix
eval-okay-partition.exp
eval-okay-partition.nix
eval-okay-path-string-interpolation.exp
eval-okay-path-string-interpolation.nix
eval-okay-path.exp
eval-okay-path.nix
eval-okay-pathexists.exp
eval-okay-pathexists.nix
eval-okay-patterns.exp
eval-okay-patterns.nix
eval-okay-print.err.exp
eval-okay-print.exp
eval-okay-print.nix
eval-okay-readDir.exp
eval-okay-readDir.nix
eval-okay-readfile.exp
eval-okay-readfile.nix
eval-okay-readFileType.exp
eval-okay-readFileType.nix
eval-okay-redefine-builtin.exp
eval-okay-redefine-builtin.nix
eval-okay-regex-match.exp
eval-okay-regex-match.nix
eval-okay-regex-split.exp
eval-okay-regex-split.nix
eval-okay-regression-20220122.exp
eval-okay-regression-20220122.nix
eval-okay-regression-20220125.exp
eval-okay-regression-20220125.nix
eval-okay-remove.exp
eval-okay-remove.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-repeated-empty-attrs.exp
eval-okay-repeated-empty-attrs.nix
eval-okay-repeated-empty-list.exp
eval-okay-repeated-empty-list.nix
eval-okay-replacestrings.exp
eval-okay-replacestrings.nix
eval-okay-scope-1.exp
eval-okay-scope-1.nix
eval-okay-scope-2.exp
eval-okay-scope-2.nix
eval-okay-scope-3.exp
eval-okay-scope-3.nix
eval-okay-scope-4.exp
eval-okay-scope-4.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-scope-6.exp
eval-okay-scope-6.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-scope-7.exp
eval-okay-scope-7.nix
eval-okay-search-path.exp
eval-okay-search-path.flags
eval-okay-search-path.nix
eval-okay-seq.exp
eval-okay-seq.nix
eval-okay-sort.exp
eval-okay-sort.nix
eval-okay-splitversion.exp
eval-okay-splitversion.nix
eval-okay-string.exp
eval-okay-string.nix
eval-okay-strings-as-attrs-names.exp
eval-okay-strings-as-attrs-names.nix
eval-okay-substring-context.exp
eval-okay-substring-context.nix
eval-okay-substring.exp
eval-okay-substring.nix
eval-okay-symlink-resolution.exp
eval-okay-symlink-resolution.nix
eval-okay-tail-call-1.exp-disabled
eval-okay-tail-call-1.nix
eval-okay-tojson.exp
eval-okay-tojson.nix
eval-okay-toxml.exp
eval-okay-toxml.nix
eval-okay-toxml2.exp
eval-okay-toxml2.nix
eval-okay-tryeval.exp
eval-okay-tryeval.nix
eval-okay-types.exp
eval-okay-types.nix
eval-okay-unsafeGetAttrPos.exp
eval-okay-unsafeGetAttrPos.imported-nix
eval-okay-unsafeGetAttrPos.nix
eval-okay-versions.exp
eval-okay-versions.nix
eval-okay-with.exp
eval-okay-with.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
eval-okay-xml.exp.xml
eval-okay-xml.nix
eval-okay-zipAttrsWith.exp
eval-okay-zipAttrsWith.nix
framework.sh
imported.nix
imported2.nix
lib.nix
parse-fail-dup-attrs-1.err.exp
parse-fail-dup-attrs-1.nix
parse-fail-dup-attrs-2.err.exp
parse-fail-dup-attrs-2.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
parse-fail-dup-attrs-3.err.exp
parse-fail-dup-attrs-3.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
parse-fail-dup-attrs-4.err.exp
parse-fail-dup-attrs-4.nix
parse-fail-dup-attrs-7.err.exp
parse-fail-dup-attrs-7.nix
parse-fail-dup-formals.err.exp
parse-fail-dup-formals.nix
parse-fail-eof-in-string.err.exp
parse-fail-eof-in-string.nix
parse-fail-eof-pos.err.exp
parse-fail-eof-pos.nix
parse-fail-eol-1.err.exp
parse-fail-eol-1.nix
parse-fail-eol-2.err.exp
parse-fail-eol-2.nix
parse-fail-eol-3.err.exp
parse-fail-eol-3.nix
parse-fail-mixed-nested-attrs1.err.exp
parse-fail-mixed-nested-attrs1.nix
parse-fail-mixed-nested-attrs2.err.exp
parse-fail-mixed-nested-attrs2.nix
parse-fail-path-slash.err.exp
parse-fail-path-slash.nix
parse-fail-patterns-1.err.exp
parse-fail-patterns-1.nix
parse-fail-regression-20060610.err.exp treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
parse-fail-regression-20060610.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
parse-fail-set.err.exp
parse-fail-set.nix
parse-fail-undef-var-2.err.exp
parse-fail-undef-var-2.nix treewide: Stop using ancient let syntax 2024-08-21 06:55:52 +00:00
parse-fail-undef-var.err.exp
parse-fail-undef-var.nix
parse-fail-utf8.err.exp
parse-fail-utf8.nix
parse-okay-1.exp
parse-okay-1.nix
parse-okay-crlf.exp
parse-okay-crlf.nix
parse-okay-dup-attrs-5.exp
parse-okay-dup-attrs-5.nix
parse-okay-dup-attrs-6.exp
parse-okay-dup-attrs-6.nix
parse-okay-ind-string.exp libexpr: Optimize complex indented strings 2024-10-18 19:37:23 +02:00
parse-okay-ind-string.nix tests/functional-lang: Test indented string parsing 2024-10-18 11:40:04 +00:00
parse-okay-inherits.exp
parse-okay-inherits.nix
parse-okay-mixed-nested-attrs-1.exp
parse-okay-mixed-nested-attrs-1.nix
parse-okay-mixed-nested-attrs-2.exp
parse-okay-mixed-nested-attrs-2.nix
parse-okay-mixed-nested-attrs-3.exp
parse-okay-mixed-nested-attrs-3.nix
parse-okay-rec-set-override-nowarning.exp libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
parse-okay-rec-set-override-nowarning.flags libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
parse-okay-rec-set-override-nowarning.nix libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
parse-okay-rec-set-override-warning.err.exp libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
parse-okay-rec-set-override-warning.exp libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
parse-okay-rec-set-override-warning.nix libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
parse-okay-regression-751.exp libexpr: Print interpolations more accurately in show 2024-10-18 11:40:04 +00:00
parse-okay-regression-751.nix
parse-okay-regression-20041027.exp
parse-okay-regression-20041027.flags libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
parse-okay-regression-20041027.nix
parse-okay-subversion.exp
parse-okay-subversion.nix
parse-okay-url.exp
parse-okay-url.flags libexpr: Soft-deprecate __overrides 2024-08-21 06:55:52 +00:00
parse-okay-url.nix