Commit Graph

210 Commits

Author SHA1 Message Date
Jonathan Turner
33580db257 Merge branch 'master' of https://github.com/wycats/nushell 2019-05-30 17:24:40 +12:00
Yehuda Katz
204891e7c2 Fix external args 2019-05-29 22:20:44 -07:00
Jonathan Turner
7066b6ecca Merge with master 2019-05-30 17:09:23 +12:00
Jonathan Turner
dd35b2460c Add row-split 2019-05-30 17:08:42 +12:00
Yehuda Katz
b7d15c2afd Better errors and more fleshed out semantics 2019-05-29 21:19:46 -07:00
Yehuda Katz
e4013a008c Custom lexer 2019-05-29 08:26:45 -07:00
Jonathan Turner
8e00cd43a8 Add select command which opens cell 2019-05-29 16:02:36 +12:00
Jonathan Turner
f44936ea5a Some fixes for the new evaluator 2019-05-28 19:19:16 +12:00
Yehuda Katz
d5255f6dbf
Evaluator MVP (#39)
Evaluator, MVP
2019-05-27 23:45:18 -07:00
Jonathan Turner
10702cd27f Add size units to parsing 2019-05-28 17:05:14 +12:00
Jonathan Turner
420b840cd6 Add missing files 2019-05-28 16:00:00 +12:00
Jonathan Turner
d35a9d17ad
Merge branch 'master' into size 2019-05-28 14:06:35 +12:00
Jonathan Turner
b34676441b Add json support 2019-05-28 14:01:37 +12:00
Odin Dutton
4296466cd2 Remove total from size command
There is a plan to introduce general facility for subtotaling numeric
columns.
2019-05-27 08:41:23 +10:00
Yehuda Katz
8464bcbb70
Merge branch 'master' into size 2019-05-26 00:20:01 -07:00
Yehuda Katz
b74daa2e60 A real parser (lalrpop) 2019-05-26 00:17:35 -07:00
Odin Dutton
a2b63f7e0c Add size command 2019-05-26 12:12:47 +10:00
Jonathan Turner
29bc4985fc Build our own args before shelling 2019-05-25 15:23:35 -07:00
Jonathan Turner
e73f489aeb Make our own LinesCodec 2019-05-25 12:07:52 -07:00
Jonathan Turner
ad0b79673e Add split command 2019-05-24 18:20:03 -07:00
Yehuda Katz
bd055f2af1 Linting and other cleanup 2019-05-24 12:35:22 -07:00
Yehuda Katz
9f8d2a4de5 Pipe external to internal
Each line is a string object
2019-05-24 11:48:33 -07:00
Yehuda Katz
f9fb353c5c Streams are wired up pairwise 2019-05-24 00:29:16 -07:00
Yehuda Katz
bf332ea50c Improved streams 2019-05-23 21:34:43 -07:00
Yehuda Katz
625a356361 Data flows across commands via streams now 2019-05-23 00:23:06 -07:00
Yehuda Katz
31dd579d6f Small restructuring 2019-05-22 21:30:43 -07:00
Yehuda Katz
261d7a793f Restructure and make commands uniform 2019-05-22 00:12:03 -07:00
Jonathan Turner
75b7842618 Fix quoted string handling 2019-05-18 07:42:55 -07:00
Jonathan Turner
2e2831de95 Rename bat -> view 2019-05-18 07:15:22 -07:00
Jonathan Turner
1b50b5b162 Complete commands a bit better 2019-05-18 07:06:01 -07:00
Jonathan Turner
ef8a935185
Merge pull request #8 from jonathandturner/path_completion
Add path completion to existing completions
2019-05-17 20:14:35 -07:00
Jonathan Turner
d9135c4f46
Merge pull request #7 from jonathandturner/real_operators
Add support for real comparison operators
2019-05-17 20:14:25 -07:00
Jonathan Turner
fdc5e802eb Update cwd as we cd 2019-05-17 19:53:20 -07:00
Jonathan Turner
1c44de4bba Add path completion to existing completions 2019-05-17 19:30:57 -07:00
Jonathan Turner
76c295995d Add support for real comparison operators 2019-05-17 18:27:31 -07:00
Yehuda Katz
c30fc32b0c Bat 2019-05-17 18:24:13 -07:00
Yehuda Katz
52716d0c24 README 2019-05-17 09:59:25 -07:00
Yehuda Katz
2feef6bd25 Added a first pass at sort-by 2019-05-17 08:55:50 -07:00
Yehuda Katz
9d8bb48d3f Fix Linux 2019-05-17 08:30:10 -07:00
Yehuda Katz
3ca0e2bf0c
Merge pull request #3 from jonathandturner/fix_ansi
Make sure to enable ANSI for Win10
2019-05-16 23:38:44 -07:00
Yehuda Katz
11677735f1 Fix Linux/Windows build on nightly 2019-05-16 23:37:35 -07:00
Jonathan Turner
c1398145f3 Add windows cfg check 2019-05-16 21:37:18 -07:00
Jonathan Turner
3c2ac7df54 Make sure to enable ANSI for Win10 2019-05-16 18:07:11 -07:00
Yehuda Katz
98ab5e63fc Refactor the repl loop 2019-05-16 14:43:36 -07:00
Jonathan Turner
b342069fd5 Workaround color prompt by making our own helper 2019-05-16 06:06:46 -07:00
Jonathan Turner
cbb86b0cab Add support for skip and where 2019-05-15 19:42:44 -07:00
Yehuda Katz
6b82e3a8a8 Simplify commands 2019-05-15 17:21:46 -07:00
Yehuda Katz
af1963d148 Remove dead code 2019-05-15 15:58:44 -07:00
Yehuda Katz
a5a34b88a8 More cleanup 2019-05-15 15:23:36 -07:00
Yehuda Katz
91f7d5384f Strip away a bit of cruft and add reject 2019-05-15 14:44:06 -07:00
Yehuda Katz
8f327477e7 Internals cleanup and | select ...fields 2019-05-15 13:14:51 -05:00
Yehuda Katz
3040638881 Basic pipelining is working! 2019-05-15 11:12:38 -05:00
Yehuda Katz
975ff7c2fb Very very basic piping working 2019-05-13 17:00:25 -04:00
Yehuda Katz
ceb0487eba A bunch of rework
I'm gonna use a VecDeque now instead of trying to get async streams
working to make progress, but the intent is that we should be able to
use async streams in and out to interleave the work better.
2019-05-13 13:30:51 -04:00
Yehuda Katz
786da8fd9d More stream stuff 2019-05-11 20:14:16 -07:00
Yehuda Katz
e6da37f5be Continue prepping for object streams 2019-05-11 15:59:57 -07:00
Yehuda Katz
aa3fe0b0db Prep for streaming objects 2019-05-11 01:08:21 -07:00
Yehuda Katz
51e921b085 A bit more infra 2019-05-11 00:00:33 -07:00
Yehuda Katz
e44d657424 Simple parsing 2019-05-10 21:45:57 -07:00
Yehuda Katz
8f3b273337 objectshell initial commit 2019-05-10 09:59:12 -07:00