JT
caa6236f1f
Merge pull request #44 from kubouch/float-ranges
...
Floating point ranges
2021-09-13 04:59:51 +12:00
JT
f459f77335
Merge pull request #40 from elferherrera/parse-error
...
Parse errors for def, let and alias
2021-09-13 04:58:25 +12:00
Fernando Herrera
66c58217af
change message
2021-09-12 16:36:16 +01:00
Fernando Herrera
8f07f40f22
external call
2021-09-12 16:34:43 +01:00
Jakub Žádník
e6a2e27e33
Fix failing compilation after rebase
2021-09-12 15:57:49 +03:00
Jakub Žádník
8577d3ff41
Check for left-unbounded range before external cmd
2021-09-12 15:56:58 +03:00
Jakub Žádník
78054a5352
Allow parsing left-unbounded range (..10)
...
It is implemented as a preliminary check when parsing a call and relies
on a fact that a token that successfully parses as a range is unlikely
to be a valid path or command name.
2021-09-12 15:56:58 +03:00
Jakub Žádník
ce0b5bf4ab
Add test for float ranges
2021-09-12 15:36:54 +03:00
Jakub Žádník
9936946eb5
Fmt
2021-09-12 14:58:32 +03:00
Jakub Žádník
013b12a864
Do not allow precision interval to rach < epsilon
2021-09-12 14:55:11 +03:00
Jakub Žádník
2f04c172fe
Add floating point support for ranges
2021-09-12 14:12:53 +03:00
Jakub Žádník
cc5c4d38bb
Small fixes and refactors to paths & source command ( #3998 )
...
* Expand path when converting value -> PathBuf
Also includes Tagged<PathBuf>.
Fixes #3605
* Expand path for PATH env. variable
Fixes #1834
* Remove leftover Cows after nu-path refactor
There were some unnecessary Cow conversions leftover from the old
nu-path implementation.
* Use canonicalize in source command; Improve errors
Previously, `source` used `expand_path()` which does not follow
symlinks.
As a follow up, I improved the source error messages so they now tell
why the source file could not be canonicalized or read into string.
2021-09-12 02:36:14 +03:00
JT
648fe052db
Merge branch 'main' into wip
2021-09-12 09:26:47 +12:00
JT
55aa70c88a
WIP
2021-09-12 09:26:35 +12:00
JT
aa7ebdc9ce
Merge pull request #43 from kubouch/range-stepping
...
Add stepping support & reversing to ranges
2021-09-12 06:54:56 +12:00
Fernando Herrera
9c98783917
clippy correcgtions
2021-09-11 13:16:40 +01:00
Fernando Herrera
4b8ba29cdb
check for = before internal parsing
2021-09-11 13:07:19 +01:00
Jakub Žádník
4749776984
Add stepping to ranges & enable reverse ranges
...
Follows the following syntax: <start>..<next-value>..<end>
2021-09-11 14:28:46 +03:00
Fernando Herrera
47ee50072e
Merge branch 'main' of https://github.com/nushell/engine-q into parse-error
2021-09-11 08:26:29 +01:00
Fernando Herrera
198c884158
change name in error
2021-09-11 08:22:41 +01:00
Tanishq Kancharla
1d945d8ce3
added source command
2021-09-11 00:54:24 -04:00
JT
2d3a56f0d3
Merge pull request #41 from nushell/fix_inner_completions
...
Improve completions inside of a pipeline
2021-09-10 20:10:17 +12:00
JT
bfd05772ef
Improve completions inside of a pipeline
2021-09-10 20:07:18 +12:00
Fernando Herrera
9a16a8fd06
corrected error check
2021-09-10 08:44:31 +01:00
Fernando Herrera
2ea19aeac0
Merge branch 'main' of https://github.com/nushell/engine-q into parse-error
2021-09-10 08:28:58 +01:00
Fernando Herrera
0794ebf5fa
error parsing for def, alias and let
2021-09-10 08:28:43 +01:00
JT
a8ba00b250
Merge pull request #39 from nushell/silly_table
...
Add a very silly table
2021-09-10 14:30:02 +12:00
JT
26d50ebcd5
Add a very silly table
2021-09-10 14:27:12 +12:00
JT
0fa0c25fb3
Fix clippy warnings ( #3997 )
2021-09-10 13:13:11 +12:00
JT
0694245ccd
Merge pull request #38 from nushell/silly_ls
...
Add a very silly ls
2021-09-10 13:12:40 +12:00
JT
c1194b3d1e
Add a very silly ls
2021-09-10 13:09:54 +12:00
JT
16baf5e16a
Add a very silly ls
2021-09-10 13:06:44 +12:00
Tom Panton
55eafadf02
Improve error message when bash-style alias syntax is mistakenly used ( #3995 )
2021-09-10 10:44:55 +12:00
Marcin Puc
51c74eebd0
Add general refactorings ( #3996 )
2021-09-10 10:44:22 +12:00
JT
5edcf3910d
Merge pull request #37 from nushell/completions
...
Completions and Row Conditions
2021-09-10 10:14:30 +12:00
JT
abda6f148c
Finish up completions
2021-09-10 10:09:40 +12:00
JT
f7333ebe58
Check box
2021-09-10 09:47:57 +12:00
JT
6b2f639095
Merge branch 'main' into completions
2021-09-10 09:47:36 +12:00
JT
bb6781a3b1
Add row conditions
2021-09-10 09:47:20 +12:00
JT
b821b14987
Add simple completions support
2021-09-09 21:06:55 +12:00
JT
56b3f119c0
Update README.md
2021-09-09 21:03:12 +12:00
JT
4ee1776ceb
Update TODO.md
2021-09-09 20:53:24 +12:00
JT
90204bd0c8
Merge pull request #36 from jntrnr/parser_improvements
...
Add parser README, some parser fixups
2021-09-09 07:16:24 +12:00
JT
2d7192e390
Add parser README, some parser fixups
2021-09-09 06:54:27 +12:00
JT
1e09a8e5ff
Merge pull request #34 from moonrise-tk/main
...
Move value into its own folder in nu-protocol and add some comments
2021-09-08 15:44:56 +12:00
Tanishq Kancharla
85a45ccf6a
Merge branch 'main' of https://github.com/moonrise-tk/engine-q
2021-09-07 22:32:35 -04:00
Tanishq Kancharla
d35a58e05c
Remove unused imports
2021-09-07 22:32:28 -04:00
Tanishq Kancharla
5605678bab
Merge branch 'jntrnr:main' into main
2021-09-07 22:27:29 -04:00
Tanishq Kancharla
ecbe7bf8d7
move value into its own folder
2021-09-07 22:26:57 -04:00
JT
1e4146aec5
Merge pull request #33 from moonrise-tk/main
...
add readme and target dir to gitignore
2021-09-08 14:09:11 +12:00