Andrés N. Robalino
b4761f9d8a
Remove commands meant for internal use. ( #2182 )
2020-07-14 21:49:46 -05:00
Jonathan Turner
0bc2e29f99
Rename 'bytes' to 'filesize' ( #2153 )
2020-07-11 14:17:37 +12:00
Pierre-André Gagnon
e07a9e4ee7
1747 add ns to duration ( #2128 )
...
* Added nanos to Duration
* Removed unwraps
* Added nanos to Duration
* Removed unwraps
* Fixed errors
* Removed unwraps
* Changed serialization to String
* Fixed Date and Duration comparison
2020-07-11 05:48:11 +12:00
Jason Gedge
6efabef8d3
Remove interpretation of Primitive::Nothing
as the number 0. ( #1836 )
2020-05-18 15:18:46 -04:00
Jonathan Turner
72cf57dd99
Add booleans and fix semicolon shortcircuit ( #1620 )
2020-04-21 12:30:01 +12:00
Jonathan Turner
7974e09eeb
Math operators ( #1601 )
...
* Add some math operations
* WIP for adding compound expressions
* precedence parsing
* paren expressions
* better lhs handling
* add compound comparisons and shorthand lefthand parsing
* Add or comparison and shorthand paths
2020-04-18 13:50:58 +12:00
Jonathan Turner
08a09e2273
Pipeline blocks ( #1579 )
...
* Making Commands match what UntaggedValue needs
* WIP
* WIP
* WIP
* Moved to expressions for conditions
* Add 'each' command to use command blocks
* More cleanup
* Add test for 'each'
* Instead use an expression block
2020-04-13 19:59:57 +12:00
Jonathan Turner
8ac9d781fd
Remove source text where not needed ( #1567 )
2020-04-10 19:56:48 +12:00
Jonathan Turner
c86cf31aac
some minor improvements and removing dead code ( #1563 )
2020-04-10 07:48:10 +12:00
Jonathan Turner
c4daa2e40f
Add experimental new parser ( #1554 )
...
Move to an experimental new parser
2020-04-06 19:16:14 +12:00
Jonathan Turner
918822ae0d
Fix numeric comparison with nothing ( #1508 )
2020-03-21 11:02:49 +13:00
Jason Gedge
b2c5af457e
Move most of the root package into a subcrate. ( #1445 )
...
This improves incremental build time when working on what was previously
the root package. For example, previously all plugins would be rebuilt
with a change to `src/commands/classified/external.rs`, but now only
`nu-cli` will have to be rebuilt (and anything that depends on it).
2020-03-04 13:58:20 -05:00