nushell/crates/nu-protocol/src
Michael Angerman 95cd9dd2b2
move BufferedReader out of nu-command (#7697)
src/main.rs has a dependency on BufferedReader
which is currently located in nu_command.

I am moving BufferedReader to a more relevant
location (crate) which will allow / eliminate main's dependency
on nu_command in a benchmark / testing environment...

now that @rgwood  has landed benches I want
to start experimenting with benchmarks related
to the parser.

For benchmark purposes when dealing with parsing
you need a very simple set of commands that show
how well the parser is doing, in other words
just the core commands... Not all of nu_command...

Having a smaller nu binary when running the benchmark CI
would enable building nushell quickly, yet still show us
how well the parser is performing...

Once this PR lands the only dependency main will have
on nu_command is create_default_context ---
meaning for benchmark purposes we can swap in a tiny
crate of commands instead of the gigantic nu_command
which has its "own" create_default_context...

It will also enable other crates going forward to
use BufferedReader.  Right now it is not accessible
to other lower level crates because it is located in a
"top of the stack crate".
2023-01-06 15:22:17 -08:00
..
ast Limit recursion to avoid stack overflow (#7657) 2023-01-04 18:38:50 -08:00
engine Limit recursion to avoid stack overflow (#7657) 2023-01-04 18:38:50 -08:00
value Make get hole errors and cell path hole errors identical (improvement on #7002) (#7647) 2023-01-02 14:45:43 -08:00
cli_error.rs Clippy fix for Rust 1.63 (#6299) 2022-08-11 11:54:54 -05:00
config.rs Fix typos by codespell (#7600) 2022-12-26 02:31:26 -05:00
example.rs Start support for commandline args to nu itself (#851) 2022-01-27 01:42:39 +11:00
exportable.rs Removes export env command (#6468) 2022-09-25 19:52:43 +03:00
id.rs Overlays (#5375) 2022-05-08 07:39:22 +12:00
lev_distance.rs Improve "Did you mean?" suggestions (#6579) 2022-09-20 19:46:01 -05:00
lib.rs move BufferedReader out of nu-command (#7697) 2023-01-06 15:22:17 -08:00
module.rs Removes export env command (#6468) 2022-09-25 19:52:43 +03:00
pipeline_data.rs Make get hole errors and cell path hole errors identical (improvement on #7002) (#7647) 2023-01-02 14:45:43 -08:00
shell_error.rs Limit recursion to avoid stack overflow (#7657) 2023-01-04 18:38:50 -08:00
signature.rs Expand Nushell's help system (#7611) 2022-12-30 17:44:37 +02:00
span.rs Protocol: debug_assert!() Span to reflect a valid slice (#6806) 2022-12-03 11:44:12 +02:00
syntax_shape.rs sort enums add missing items to parse_shape_name (#7450) 2022-12-13 10:46:22 -06:00
ty.rs sort enums add missing items to parse_shape_name (#7450) 2022-12-13 10:46:22 -06:00
util.rs move BufferedReader out of nu-command (#7697) 2023-01-06 15:22:17 -08:00
variable.rs Limited mutable variables (#7089) 2022-11-11 19:51:08 +13:00