nushell/crates/nu-parser/src
mike 56a9eab7eb
Allow underscores in integers and floats (#7759)
# Description

This PR makes changes that allow underscores in numbers.

Example:
```nu
# allows underscores to be placed arbitrarily to enhance readability.
let pi = 3.1415_9265_3589_793

# works with integers
let num = 1_000_000_000_000
let fav_color = 0x68_9d_6a
```
2023-01-15 09:03:57 -06:00
..
deparse.rs fix arg parse (#5754) 2022-06-11 20:52:31 +12:00
errors.rs def: make various punctuation misuses into errors (#7624) 2022-12-31 13:18:53 +02:00
eval.rs Make get hole errors and cell path hole errors identical (improvement on #7002) (#7647) 2023-01-02 14:45:43 -08:00
flatten.rs Support redirect err and out to different streams (#7685) 2023-01-12 10:22:30 +01:00
known_external.rs Add "fall-through" signatures (#7527) 2022-12-22 00:33:26 +02:00
lex.rs Revert "Pipeline operators: && and ||" (#7452) 2022-12-13 16:36:13 +13:00
lib.rs Small parser refactors (#7568) 2022-12-22 13:41:44 +02:00
lite_parser.rs Support redirect err and out to different streams (#7685) 2023-01-12 10:22:30 +01:00
parse_keywords.rs Support redirect err and out to different streams (#7685) 2023-01-12 10:22:30 +01:00
parser.rs Allow underscores in integers and floats (#7759) 2023-01-15 09:03:57 -06:00
type_check.rs allow tables in ++ operator (#7051) 2022-12-01 00:21:59 +01:00