Justin Ma
4e90b478b7
Add bit operator: bit-xor
( #5940 )
2022-07-03 06:45:20 -05:00
Justin Ma
b82dccf0bd
Add band
and bor
operator for bit operations ( #5936 )
...
* Add `band` and `bor` Operator
* Add tests
2022-07-02 13:03:36 -05:00
Justin Ma
3917fda7ed
Update #4202 : Add shift operator bshl and bshr for integers ( #5928 )
...
* Update #4202 : Add shift operator bshl and bshr for integers
* Add more tests
2022-07-02 06:48:43 -05:00
Fernando Herrera
44cbd88b55
allow comparison for similar types ( #5844 )
2022-06-21 12:15:31 -05:00
pwygab
caafd26deb
Attempts to add //
math operator ( #5759 )
...
* attempts to add `div` math operator
* allows `//` to be used too
* fmt:
* clippy issue
* returns appropriate type
* returns appropriate type 2
* fmt
* ensure consistency; rename to `fdiv`
* Update parser.rs
2022-06-13 13:54:47 +03:00
Fernando Herrera
11d7d8ea1e
Remove dfr from dataframe commands ( #5760 )
...
* input and output tests
* input and output types for dfr
* expression converter
* remove deprecated command
* correct expressions
* cargo clippy
* identifier for ls
* cargo clippy
* type for head and tail expression
* modify full cell path if block
2022-06-12 14:18:00 -05:00
panicbit
49cbc30974
Add ends-with operator and fix dataframe operator behavior ( #5395 )
...
* add ends-with operator
* escape needles in dataframe operator regex patterns
2022-05-02 20:02:38 +12:00
Reilly Wood
b2c52b51b7
Change string contains operators to regex ( #5117 )
2022-04-07 18:23:14 +12:00
JT
4409185e1b
Improve describe to be more accurate ( #5116 )
2022-04-07 16:34:09 +12:00
Darren Schroeder
2cb815b7b4
Add starts with operator ( #5061 )
...
* add starts_with operator
* added a test
2022-04-01 13:35:46 -05:00
JT
4b18fdcc6e
Date literals ( #4619 )
...
* Date literals
* update deps
* Add date+duration
2022-02-23 21:02:48 -05:00
JT
cc1b784e3d
Add initial nu-test-support port ( #913 )
...
* Add initial nu-test-support port
* finish changing binary name
* Oops, these aren't Windows-safe tests
2022-02-02 15:59:01 -05:00
JT
45b3592739
add some more division for units ( #783 )
2022-01-21 05:23:26 +11:00
Onur Şahin
5fae96a6b1
Fix not equal returning error when same things are compared in some cases ( #709 )
...
* Fix not equal returning error when same things are compared in some cases
* Equality operators supports all type combinations
2022-01-17 01:34:20 +11:00
JT
cc1ae969fe
Allow int/float to coerce in type checker ( #679 )
2022-01-06 07:58:58 +11:00
Fernando Herrera
e949658381
nothing variable ( #527 )
...
* nothing variable
* corrected comments
* added color to nothing like bool
* compare nothing with values
* comparison tests
2021-12-20 12:05:33 +11:00
JT
04a9c8f3fd
Fix bug in chained boolean typecheck ( #490 )
2021-12-14 16:19:16 +11:00
JT
ff43ca4d24
Better record types ( #350 )
2021-11-19 17:30:27 +13:00
JT
63e3552eef
Add the remaining missing operators
2021-10-12 09:35:12 +13:00
Arthur Targaryen
9e7e8ed48f
Handle not-in
operator
2021-10-09 19:40:47 +02:00
Arthur Targaryen
7f06d6144f
Support in
operator for record and value stream
2021-10-09 19:27:54 +02:00
Arthur Targaryen
8783cf0138
Add basic in
operator support
2021-10-09 19:27:54 +02:00
JT
535ece4e76
Add unit parsing and eval support
2021-10-05 15:27:39 +13:00
JT
4841d62d76
Add some improvements to errors
2021-09-21 16:03:06 +12:00
JT
55aa70c88a
WIP
2021-09-12 09:26:35 +12:00
JT
d9cff4238d
clippy
2021-09-04 19:59:38 +12:00
JT
94687a7603
Back to working state
2021-09-03 06:21:37 +12:00
JT
e1be8f61fc
WIP
2021-09-02 20:25:22 +12:00
JT
3d252a9797
Add nu-protocol
2021-09-02 13:29:43 +12:00
JT
35c3622405
Add a few operators. Needs parser work
2021-08-26 07:29:36 +12:00
JT
2f43cc353b
Fix some expects, add subcommand alias
2021-08-17 11:00:00 +12:00
JT
1355a5dd33
refactor to subcrates
2021-08-11 06:51:08 +12:00