nushell/crates/nu-protocol/src/engine
Devyn Cairns 215ca6c5ca
Remove the NU_DISABLE_IR option (#14293)
# Description

Removes the `NU_DISABLE_IR` option and some code related to evaluating
blocks with the AST
evaluator.

Does not entirely remove the AST evaluator yet. We still have some
dependencies on expression
evaluation in a few minor places which will take a little bit of effort
to fix.

Also changes `debug profile` to always include instructions, because the
output is a little
confusing otherwise, and removes the different options for
instructions/exprs.

# User-Facing Changes

- `NU_DISABLE_IR` no longer has any effect, and is removed. There is no
way to use the AST
  evaluator.
- `debug profile` no longer has `--exprs`, `--instructions` options.
- `debug profile` lists `pc` and `instruction` columns by default now.

# Tests + Formatting

Eval tests fixed to only use IR.

# After Submitting

- [ ] release notes
- [ ] finish removing AST evaluator, come up with solutions for the
expression evaluation.
2024-11-15 12:09:25 +08:00
..
argument.rs Clippy fixes for toolchain bump (#13497) 2024-07-31 14:49:22 +02:00
cached_file.rs Refactor source cache into CachedFile struct (#12240) 2024-03-20 19:43:50 +01:00
call_info.rs Add command_prelude module (#12291) 2024-03-26 21:17:30 +00:00
call.rs Replace raw usize IDs with new types (#13832) 2024-09-30 13:20:15 +02:00
capture_block.rs Remove the Value::Block case (#12582) 2024-04-21 07:03:33 +02:00
command.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
description.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
engine_state.rs add command_type to help (#14165) 2024-10-24 19:06:49 +02:00
error_handler.rs Clippy fixes for toolchain bump (#13497) 2024-07-31 14:49:22 +02:00
mod.rs Change the usage misnomer to "description" (#13598) 2024-08-22 12:02:08 +02:00
overlay.rs Replace raw usize IDs with new types (#13832) 2024-09-30 13:20:15 +02:00
pattern_match.rs Empty rest args match should be an empty list (#14246) 2024-11-04 18:03:26 +01:00
sequence.rs feat: make ctrlc available to plugins (#13181) 2024-07-30 08:29:18 -05:00
stack_out_dest.rs Fix try printing when it is not the last pipeline element (#13992) 2024-10-12 14:37:10 +08:00
stack.rs Remove the NU_DISABLE_IR option (#14293) 2024-11-15 12:09:25 +08:00
state_delta.rs Replace raw usize IDs with new types (#13832) 2024-09-30 13:20:15 +02:00
state_working_set.rs Improves startup time when using std-lib (#13842) 2024-10-03 06:28:22 -05:00
variable.rs Restructure nu-protocol in more meaningful units (#11917) 2024-03-10 18:45:45 +01:00