Commit Graph

25 Commits

Author SHA1 Message Date
193b00764b Stream support (#812)
* Moves off of draining between filters. Instead, the sink will pull on the stream, and will drain element-wise. This moves the whole stream to being lazy.
* Adds ctrl-c support and connects it into some of the key points where we pull on the stream. If a ctrl-c is detect, we immediately halt pulling on the stream and return to the prompt.
* Moves away from having a SourceMap where anchor locations are stored. Now AnchorLocation is kept directly in the Tag.
* To make this possible, split tag and span. Span is largely used in the parser and is copyable. Tag is now no longer copyable.
2019-10-13 17:12:43 +13:00
ab915f1c44 Revert "Revert "Migrate most uses of the Span concept to Tag""
This reverts commit bee7c5639c.
2019-09-14 11:30:24 -05:00
127381497c run rustfmt 2019-09-11 10:36:50 -04:00
dcd97b6346 Move internal terminology to tables/rows 2019-09-06 04:23:42 +12:00
ca0c6eaf58 This commit introduces a basic help feature. We can go to it
with the `help` command to explore and list all commands available.

Enter will also try to see if the location to be entered is an existing
Nu command, if it is it will let you inspect the command under `help`.

This provides baseline needed so we can iterate on it.
2019-08-31 19:06:11 -05:00
d71206ed9e Implement WholeStreamCommand for all remaining commands 2019-08-19 15:16:39 +10:00
aadacc2d36 Merge master 2019-08-09 16:51:21 +12:00
99671b8ffc Move more parts to tags and away from spans 2019-08-05 20:54:29 +12:00
462f783fac initial change to Tagged<Value> 2019-08-01 13:58:42 +12:00
73deeb69db Clean up lint errors 2019-07-23 21:10:48 -07:00
5a8e041a48 Tests pass! 2019-07-23 15:22:11 -07:00
2ed46046bd Cleanup for upcoming release 2019-07-17 07:10:25 +12:00
2da12aed56 Tests pass 2019-07-12 19:20:26 -07:00
7b68739b52 WIP 2019-07-12 19:20:26 -07:00
34033afce4 WIP improve error infrastructure
Also simplify commands and reduce papercuts
2019-07-12 19:20:26 -07:00
d0860837d2 Merge branch 'nom2' into nom4 2019-06-22 18:20:13 -04:00
4036bf1ffd &str -> Text 2019-06-22 16:46:16 -04:00
9ae9beb94a WIP 2019-06-22 15:43:37 +12:00
e981129f1f Things work 2019-06-21 21:36:57 -04:00
54be5bf16e Update errors and improve ctrl-c 2019-06-16 06:36:17 +12:00
910869b79d Get stream errors working 2019-06-16 05:52:55 +12:00
f40089f29b Better cd and ls 2019-06-14 09:47:25 +12:00
69effbc9e7 Improve signature infrastructure
The `config` command uses different kinds of named arguments, which
illustrates how it works.
2019-05-31 22:54:15 -07:00
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
a2b63f7e0c Add size command 2019-05-26 12:12:47 +10:00