nushell/src
Stefan Holderbach 2ccb91dc6a
Add logical xor operator (#7242)
We already have the binary `bit-xor` and the shortcircuiting logical
`or`(`||`) and `and`(`&&`).
This introduces `xor` as a compact form for both brevity and clarity.
You can express the operation through `not`/`and`/`or` with a slight
risk of introducing bugs through typos.

Operator precedence

`and` > `xor` > `or`

Added logic and precedence tests.
2022-11-26 17:02:37 +01:00
..
tests Add logical xor operator (#7242) 2022-11-26 17:02:37 +01:00
config_files.rs Remove perf flag to streamline logging configuration (#6834) 2022-10-21 10:20:21 -05:00
logger.rs Fix color settings for logger (#6285) 2022-08-10 06:52:11 -05:00
main.rs Make external command substitution works friendly(like fish shell, trailing ending newlines) (#7156) 2022-11-23 16:51:57 +13:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
test_bins.rs New "display_output" hook. (#6915) 2022-11-06 13:46:40 +13:00
tests.rs Add test cases for $nu.config-path change (#6385) 2022-08-23 10:18:14 +03:00

Nushell REPL

This directory contains the main Nushell REPL (read eval print loop) as part of the CLI portion of Nushell, which creates the nu binary itself.

Current versions of the nu binary will use the Nu argument parsing logic to parse the commandline arguments passed to nu, leaving the logic here to be a thin layer around what the core libraries.