mirror of
https://github.com/danbulant/nushell
synced 2026-05-20 04:48:47 +00:00
* Moves off of draining between filters. Instead, the sink will pull on the stream, and will drain element-wise. This moves the whole stream to being lazy. * Adds ctrl-c support and connects it into some of the key points where we pull on the stream. If a ctrl-c is detect, we immediately halt pulling on the stream and return to the prompt. * Moves away from having a SourceMap where anchor locations are stored. Now AnchorLocation is kept directly in the Tag. * To make this possible, split tag and span. Span is largely used in the parser and is copyable. Tag is now no longer copyable.
38 lines
1 KiB
Rust
38 lines
1 KiB
Rust
#![recursion_limit = "1024"]
|
|
|
|
#[macro_use]
|
|
mod prelude;
|
|
|
|
mod cli;
|
|
mod commands;
|
|
mod context;
|
|
mod data;
|
|
mod env;
|
|
mod errors;
|
|
mod evaluate;
|
|
mod format;
|
|
mod fuzzysearch;
|
|
mod git;
|
|
mod parser;
|
|
mod plugin;
|
|
mod shell;
|
|
mod stream;
|
|
mod traits;
|
|
mod utils;
|
|
|
|
pub use crate::commands::command::{CallInfo, ReturnSuccess, ReturnValue};
|
|
pub use crate::context::AnchorLocation;
|
|
pub use crate::env::host::BasicHost;
|
|
pub use crate::parser::hir::SyntaxShape;
|
|
pub use crate::parser::parse::token_tree_builder::TokenTreeBuilder;
|
|
pub use crate::plugin::{serve_plugin, Plugin};
|
|
pub use crate::utils::{AbsoluteFile, AbsolutePath, RelativePath};
|
|
pub use cli::cli;
|
|
pub use data::base::{Primitive, Value};
|
|
pub use data::config::{config_path, APP_INFO};
|
|
pub use data::dict::{Dictionary, TaggedDictBuilder};
|
|
pub use data::meta::{Span, Spanned, SpannedItem, Tag, Tagged, TaggedItem};
|
|
pub use errors::{CoerceInto, ShellError};
|
|
pub use num_traits::cast::ToPrimitive;
|
|
pub use parser::parse::text::Text;
|
|
pub use parser::registry::{EvaluatedArgs, NamedType, PositionalType, Signature};
|