lix/src/libexpr
terru - a33c95be5b avoid markdown which the repl's :doc cannot handle
code blocks, if not surrounded by empty lines, have the language
tags (in these cases, always `nix`) show up in the output of :doc.

for example:

  nix-repl> :doc builtins.parseFlakeRef
  Synopsis: builtins.parseFlakeRef flake-ref

    Parse a flake reference, and return its exploded form.

    For example: nix builtins.parseFlakeRef
    "github:NixOS/nixpkgs/23.05?dir=lib"  evaluates to: nix { dir =
    "lib"; owner = "NixOS"; ref = "23.05"; repo = "nixpkgs"; type =
    "github"; }

is now instead:
  nix-repl> :doc builtins.parseFlakeRef
  Synopsis: builtins.parseFlakeRef flake-ref

    Parse a flake reference, and return its exploded form.

    For example:

      | builtins.parseFlakeRef "github:NixOS/nixpkgs/23.05?dir=lib"

    evaluates to:

      | { dir = "lib"; owner = "NixOS"; ref = "23.05"; repo = "nixpkgs"; type = "github"; }

(closes #225)

Change-Id: I0741aeb1006a5376bb2f663d202c7a4da7e38cce
2024-04-06 13:14:14 +00:00
..
flake avoid markdown which the repl's :doc cannot handle 2024-04-06 13:14:14 +00:00
primops Stop vendoring toml11 2024-03-27 21:04:00 -04:00
value Merge pull request #9925 from 9999years/fmt-cleanup 2024-03-09 07:00:13 -07:00
attr-path.cc libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
attr-path.hh Merge remote-tracking branch 'upstream/master' into source-path 2023-04-17 11:41:50 +02:00
attr-set.cc Don't pass Symbol by reference 2022-04-26 13:25:17 +02:00
attr-set.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
eval-cache.cc always re-eval cached failures 2024-04-06 04:35:25 +00:00
eval-cache.hh always re-eval cached failures 2024-04-06 04:35:25 +00:00
eval-error.cc always re-eval cached failures 2024-04-06 04:35:25 +00:00
eval-error.hh always re-eval cached failures 2024-04-06 04:35:25 +00:00
eval-inline.hh libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
eval-settings.cc Delete hasPrefix and hasSuffix from the codebase 2024-03-17 20:17:19 -07:00
eval-settings.hh Merge pull request #9914 from 9999years/debugger-on-trace 2024-03-09 10:17:26 -07:00
eval.cc Merge pull request #9920 from 9999years/forbid-nested-debuggers 2024-03-31 17:28:25 +00:00
eval.hh Merge pull request #9920 from 9999years/forbid-nested-debuggers 2024-03-31 17:28:25 +00:00
fetchurl.nix fetchurl.nix: change other use of __impure 2022-09-16 01:54:24 -07:00
function-trace.cc Revert the enum struct change 2020-06-18 22:11:26 +00:00
function-trace.hh Ensure all headers have #pragma once and are in API docs 2023-03-31 23:19:44 -04:00
gc-small-vector.hh Fix gc-small-vector.hh includes 2024-03-15 13:39:32 -07:00
get-drvs.cc remove getDerivations deduplication 2024-03-10 03:18:32 -06:00
get-drvs.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
imported-drv-to-derivation.nix Add pre-commit checks 2024-03-29 22:57:40 -07:00
json-to-value.cc libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
json-to-value.hh libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00
lexer.l use byte indexed locations for PosIdx 2024-03-18 16:12:46 +01:00
local.mk Merge pull request #9465 from obsidiansystems/build-dir 2024-03-04 07:11:25 +01:00
meson.build meson: add missing explicit dependency on nlohmann_json 2024-03-29 14:16:58 -04:00
nix-expr.pc.in Fix building with GCC 9 2023-02-10 18:38:57 +01:00
nixexpr.cc Move escapeString to its own file 2024-03-29 16:26:29 -07:00
nixexpr.hh Document ExprLambda fields 2024-03-29 18:29:59 -07:00
parser-state.hh use byte indexed locations for PosIdx 2024-03-18 16:12:46 +01:00
parser.y use byte indexed locations for PosIdx 2024-03-18 16:12:46 +01:00
paths.cc Merge pull request #9172 from tfc/bad-moves 2024-03-04 04:41:52 +01:00
pos-idx.hh use byte indexed locations for PosIdx 2024-03-18 16:12:46 +01:00
pos-table.hh use byte indexed locations for PosIdx 2024-03-18 16:12:46 +01:00
primops.cc avoid markdown which the repl's :doc cannot handle 2024-04-06 13:14:14 +00:00
primops.hh use byte indexed locations for PosIdx 2024-03-18 16:12:46 +01:00
print-ambiguous.cc Move escapeString to its own file 2024-03-29 16:26:29 -07:00
print-ambiguous.hh Unify and refactor value printing 2024-03-09 03:50:06 +01:00
print-options.hh prettyPrint -> shouldPrettyPrint 2024-03-09 07:20:23 -07:00
print.cc Add EscapeStringOptions and escapeString tests 2024-04-03 16:25:54 +00:00
print.hh Move escapeString to its own file 2024-03-29 16:26:29 -07:00
repl-exit-status.hh :quit in the debugger should quit the whole program 2024-03-09 10:17:26 -07:00
search-path.cc src/libexpr/search-path.cc: avoid out-of-bounds read on string_view 2023-08-14 22:07:37 +01:00
search-path.hh Clean up SearchPath 2023-07-09 23:22:22 -04:00
symbol-table.hh Finish converting existing comments for internal API docs (#8146) 2023-04-07 13:55:28 +00:00
value-to-json.cc util.hh: split out signals stuff 2024-03-11 00:52:09 -07:00
value-to-json.hh Use std::set<StringContextElem> not PathSet for string contexts 2023-04-21 01:05:49 -04:00
value-to-xml.cc util.hh: split out signals stuff 2024-03-11 00:52:09 -07:00
value-to-xml.hh Use std::set<StringContextElem> not PathSet for string contexts 2023-04-21 01:05:49 -04:00
value.hh libexpr: Support structured error classes 2024-03-09 04:47:05 -07:00