mirror of
https://github.com/nushell/nushell.git
synced 2025-08-03 15:58:20 +02:00
Fixes #16185 # Description Stepped range literals where `..=` precedes the second value no longer cause a parser panic: ```diff random int 1..=3..5 -Error: x Main thread panicked. - |-> at crates/nu-protocol/src/engine/state_working_set.rs:400:48 - `-> slice index starts at 8 but ends at 7 +Error: nu::parser::parse_mismatch + + × Parse mismatch during operation. + ╭─[entry #1:1:15] + 1 │ random int 1..=3..5 + · ─┬ + · ╰── expected number ```
Nushell core libraries and plugins
These sub-crates form both the foundation for Nu and a set of plugins which extend Nu with additional functionality.
Foundational libraries are split into two kinds of crates:
- Core crates - those crates that work together to build the Nushell language engine
- Support crates - a set of crates that support the engine with additional features like JSON support, ANSI support, and more.
Plugins are likewise also split into two types:
- Core plugins - plugins that provide part of the default experience of Nu, including access to the system properties, processes, and web-connectivity features.
- Extra plugins - these plugins run a wide range of different capabilities like working with different file types, charting, viewing binary data, and more.