Commit Graph

150 Commits

Author SHA1 Message Date
Yehuda Katz
e8800fdd0c Remove the coloring_in_tokens feature flag
Stabilize and enable
2019-12-12 11:34:43 -08:00
Yehuda Katz
57af9b5040 Add Range and start Signature support
This commit contains two improvements:

- Support for a Range syntax (and a corresponding Range value)
- Work towards a signature syntax

Implementing the Range syntax resulted in cleaning up how operators in
the core syntax works. There are now two kinds of infix operators

- tight operators (`.` and `..`)
- loose operators

Tight operators may not be interspersed (`$it.left..$it.right` is a
syntax error). Loose operators require whitespace on both sides of the
operator, and can be arbitrarily interspersed. Precedence is left to
right in the core syntax.

Note that delimited syntax (like `( ... )` or `[ ... ]`) is a single
token node in the core syntax. A single token node can be parsed from
beginning to end in a context-free manner.

The rule for `.` is `<token node>.<member>`. The rule for `..` is
`<token node>..<token node>`.

Loose operators all have the same syntactic rule: `<token
node><space><loose op><space><token node>`.

The second aspect of this pull request is the beginning of support for a
signature syntax. Before implementing signatures, a necessary
prerequisite is for the core syntax to support multi-line programs.

That work establishes a few things:

- `;` and newlines are handled in the core grammar, and both count as
  "separators"
- line comments begin with `#` and continue until the end of the line

In this commit, multi-token productions in the core grammar can use
separators interchangably with spaces. However, I think we will
ultimately want a different rule preventing separators from occurring
before an infix operator, so that the end of a line is always
unambiguous. This would avoid gratuitous differences between modules and
repl usage.

We already effectively have this rule, because otherwise `x<newline> |
y` would be a single pipeline, but of course that wouldn't work.
2019-12-11 16:41:07 -08:00
Jonathan Turner
5676713b1f
Update README.md 2019-12-01 07:12:14 +13:00
Jonathan Turner
c68d236fd7 Update README 2019-11-26 21:00:34 +13:00
Andrés N. Robalino
d320ffe742 nth can select more than one row at a time. 2019-11-25 17:16:58 -05:00
Andrés N. Robalino
1c830b5c95 default command introduced. 2019-11-24 04:20:08 -05:00
Andrés N. Robalino
1a0b339897 compact command introduced. 2019-11-23 19:05:44 -05:00
Jonathan Turner
015693aea7
Update README.md 2019-11-19 03:41:16 +13:00
Andrés N. Robalino
00b3c2036a This is part of on-going work with capabilities when working with
tables and able to work with them for data processing & viewing
purposes. At the moment, certain ways to process said tables we
are able to view a histogram of a given column.

As usage matures, we may find certain core commands that could
be used ergonomically when working with tables on Nu.
2019-11-12 03:39:30 -05:00
Jonathan Turner
943e0045e7 Update readme 2019-11-10 13:16:52 +13:00
Jonathan Turner
73d8478678 Update readme 2019-11-10 11:27:56 +13:00
Jonathan Turner
8855c54391
Update README.md 2019-11-08 08:19:41 +13:00
Jonathan Turner
76208110b9
Update README.md 2019-11-08 07:17:12 +13:00
Jonathan Turner
01d6287a8f
Update README.md 2019-11-06 18:25:23 +13:00
Jonathan Turner
ffb2fedca9
Update README.md 2019-11-03 18:24:11 +13:00
Jonathan Turner
e43e906f86
Update README.md 2019-11-03 16:13:00 +13:00
Jonathan Turner
e51d9d0935
Update README.md 2019-11-03 16:12:36 +13:00
Jonathan Turner
136c8acba6 Update README 2019-11-02 14:48:18 +13:00
Jonathan Turner
2d44b7d296
Update README.md 2019-10-30 20:22:01 +13:00
Andrés N. Robalino
f1630da2cc Suggest a column name in case one unknown column is supplied. 2019-10-22 20:10:42 -05:00
Andrés N. Robalino
0611f56776 Can group cells by given column name. 2019-10-20 18:42:07 -05:00
Thomas Hartmann
587bb13be5 Updates readme with new name of flag. 2019-10-15 23:19:16 +02:00
Thomas Hartmann
b4c639a5d9 Updates description of command in readme. 2019-10-15 21:01:14 +02:00
Jonathan Turner
e250a3f213
Update README.md 2019-10-15 18:52:15 +13:00
Jonathan Turner
bd6d8189f8
Merge pull request #830 from t-hart/pull-req/from-master
[DRAFT] Adds `from-ssv` command.
2019-10-15 18:28:43 +13:00
Jonathan Turner
452b5c58e8
Update README.md 2019-10-15 15:38:22 +13:00
Thomas Hartmann
8422d40e2c Add from-ssv to readme. 2019-10-13 23:09:10 +02:00
Jonathan Turner
91e6d31dc6
Merge pull request #753 from JesterOrNot/master
Style README
2019-10-03 06:28:52 +13:00
Jerod Santo
c78bce2af4
Add Changelog episode badge to README 2019-10-02 09:34:08 -05:00
Sean Hellum
a7a0f48286
Update README.md 2019-10-01 06:46:04 -05:00
Sean Hellum
1bf0f7110a
Update README.md 2019-10-01 06:44:06 -05:00
Sean Hellum
ad53eb4e76
Update README.md 2019-10-01 06:39:18 -05:00
Sean Hellum
c81d20a069
Update README.md 2019-10-01 06:37:27 -05:00
Sean Hellum
08df76486d
Update README.md 2019-10-01 06:00:00 -05:00
Sean Hellum
fe3753ea68
more style changes 2019-10-01 05:58:56 -05:00
Sean Hellum
abf671da1b
misc style changes 2019-10-01 05:54:59 -05:00
Sean Hellum
91b4d27931
add capitalization in readme
discord and twitter should be uppercase
2019-10-01 05:32:21 -05:00
Sean Hellum
310897897e
Changed the location of the open in gitpod button
In my opinion, this looks a lot better
2019-10-01 05:28:54 -05:00
Isaac Goss
9d04a7cc40 Adds a word to README for readabilty 2019-09-30 18:51:35 -04:00
Fahmi Akbar Wildana
ce9e4a61e7
Add repology.org badge to Packaging status 2019-10-01 03:39:16 +07:00
Jonathan Turner
c5fdbdb8a1
Update README.md 2019-09-30 11:29:59 +13:00
Jonathan Turner
c15b5df674
Update README.md 2019-09-30 11:10:19 +13:00
Jonathan Turner
00f0fd2873
Update README.md 2019-09-30 11:09:52 +13:00
Jonathan Turner
982ebacddd
Merge pull request #725 from JesterOrNot/master
Gitpod
2019-09-29 05:07:21 +13:00
Martin-Louis Bright
4f5c0314cf Fix 'Shell commands' table markdown formatting 2019-09-28 00:36:54 -04:00
Blurryface05
680aeb12c2 modified: README.md 2019-09-28 01:46:57 +00:00
BradyBromley
def33206d9
Changed wording in README.md 2019-09-27 09:48:26 -07:00
Jonathan Turner
3dd48bf831 Bump version to 0.3.0 for release 2019-09-24 19:29:54 +12:00
Jonathan Turner
08fe603e81
Update README.md 2019-09-23 19:59:05 +12:00
Jonathan Turner
b8964bd320
Update README.md 2019-09-23 19:32:42 +12:00