Remove legacy code in some core commands (#15560)

# Description

See [this
discussion](https://discord.com/channels/601130461678272522/1353434388938883143/1360664695962341647)
on discord

Goal: as the AST evaluator isn't supported anymore, I removed the body
of the "run" methods of some commands that were actually never run
because the IR is used instead.

Note: the code inside the "run_const" methods seems to be run, so I left
it.

Cc @132ikl 

# User-Facing Changes
None

# Tests + Formatting
I didn't do any manual testing, I just ran the tests

# After Submitting
Nothing required I think
This commit is contained in:
Loïc Riegel
2025-05-08 18:12:36 +02:00
committed by GitHub
parent a0d7c1a4fd
commit d4357ad981
13 changed files with 79 additions and 436 deletions

View File

@ -10,7 +10,7 @@ head1 arg1 arg2 | head2
## Lexing
The first job of the parser is to a lexical analysis to find where the tokens start and end in the input. This turns the above into:
The first job of the parser is to perform a lexical analysis to find where the tokens start and end in the input. This turns the above into:
```text
<item: "head1">, <item: "arg1">, <item: "arg2">, <pipe>, <item: "head2">