Yehuda Katz
0dc4b2b686
Add support for external escape valve (^dir
)
...
This commit makes it possible to force nu to treat a command as an external command by prefixing it with `^`. For example `^dir` will force `dir` to run an external command, even if `dir` is also a registered nu command.
This ensures that users don't need to leave nu just because we happened to use a command they need.
This commit adds a new token type for external commands, which, among other things, makes it pretty straight forward to syntax highlight external commands uniquely, and generally to treat them as special.
2019-08-15 15:18:18 -07:00
Jonathan Turner
aadacc2d36
Merge master
2019-08-09 16:51:21 +12:00
Jonathan Turner
99671b8ffc
Move more parts to tags and away from spans
2019-08-05 20:54:29 +12:00
Yehuda Katz
fc173c46d8
Restructuring
2019-08-02 12:15:07 -07:00
Jonathan Turner
462f783fac
initial change to Tagged<Value>
2019-08-01 13:58:42 +12:00
Yehuda Katz
5a8e041a48
Tests pass!
2019-07-23 15:22:11 -07:00
Yehuda Katz
2da12aed56
Tests pass
2019-07-12 19:20:26 -07:00
Yehuda Katz
7b68739b52
WIP
2019-07-12 19:20:26 -07:00
Yehuda Katz
3379c23a49
Support evaluating most expressions
...
Blocks, paths, and others
Plus a bunch of other infra improvements
2019-06-29 01:55:42 -07:00
Jonathan Turner
160074346f
Fix units and add test
2019-06-24 19:59:23 +12:00
Yehuda Katz
7957fc502f
Fix a bunch of bugs
2019-06-23 18:55:31 -06:00
Yehuda Katz
4036bf1ffd
&str -> Text
2019-06-22 16:46:16 -04:00
Yehuda Katz
3b35dcb619
Finish nom upgrade
2019-06-22 10:08:53 -04:00
Yehuda Katz
e981129f1f
Things work
2019-06-21 21:36:57 -04:00
Jonathan Turner
e94d1d2758
Add pretty errors to commands
2019-06-08 10:35:07 +12:00
Yehuda Katz
324f7915be
Span all the things
...
Also set up builder infra for more consistent AST creation.
2019-06-05 23:34:59 -07:00
Yehuda Katz
f3bb4a03c2
Improve parser
2019-06-04 14:42:31 -07:00
Yehuda Katz
a8574abbf2
Improve errors
2019-06-02 22:11:21 -07:00
Jonathan Turner
2997d24f16
Merge branch 'master' into testing
2019-06-03 05:51:11 +12:00
Yehuda Katz
b9159f033b
Parsing tests
2019-06-02 09:28:40 -07:00
Jonathan Turner
a62de9356c
Add support for magic open
2019-06-02 07:20:48 +12:00
Yehuda Katz
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
Yehuda Katz
9e9c0b9811
Fix bare word .
...
Addresses `git add .`
2019-05-30 22:45:57 -07:00
Yehuda Katz
b7d15c2afd
Better errors and more fleshed out semantics
2019-05-29 21:19:46 -07:00
Jonathan Turner
8e00cd43a8
Add select command which opens cell
2019-05-29 16:02:36 +12:00
Yehuda Katz
d5255f6dbf
Evaluator MVP ( #39 )
...
Evaluator, MVP
2019-05-27 23:45:18 -07:00