|0.32.0||Jun 1, 2021|
|0.30.0||Apr 21, 2021|
|0.29.0||Mar 30, 2021|
|0.24.1||Dec 15, 2020|
|0.1.0||Nov 27, 2019|
#63 in Command-line interface
1,752 downloads per month
Used in 39 crates (37 directly)
nu-source crate contains types and traits used for keeping track of metadata about values being processed.
Tags to keep track of where a value came from, an
as well as positional information about the value, a
AnchorLocation can be a
Source text that a value was parsed from.
Text is special in that it is a type similar to a
String that comes with the ability to be cheaply cloned.
Span keeps track of a value's
These types make up the metadata for a value and are wrapped up together in a
which holds everything needed to track and locate a value.
Nu's metadata system can be seen when reporting errors. In the following example Nu is able to report to the user where the typo of a column originated from.
1 | ls | get typ | ^^^ did you mean 'type'?
In addition to metadata tracking,
nu-source also contains types and traits
related to debugging, tracing, and formatting the metadata and values it processes.
- Nushell Github Project: Contains all projects in the Nushell ecosystem such as the source code to Nushell as well as website and books.
- Nushell Git Repository: A direct link to the source git repository for Nushell
- Nushell Contributor Book: An overview of topics about Nushell to help you get started contributing to the project.
- Discord Channel