Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax for multidimensional arrays #33697

Merged
merged 41 commits into from
May 20, 2021
Merged
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
3899cbf
n-dimensional concatenation syntax and display
BioTurboNick Feb 23, 2021
16998d6
Missed the export statement in squashing
BioTurboNick Feb 23, 2021
95fed24
Updated parser to produce unambiguous, reversible expressions
BioTurboNick Mar 4, 2021
7c92f4a
Style fixups
BioTurboNick Mar 4, 2021
57dcdb0
Simplified nrows and implemented deparse
BioTurboNick Mar 5, 2021
16998e0
Updated AST doc
BioTurboNick Mar 5, 2021
ed2f337
Restored ;; for line breaks in hcats, style
BioTurboNick Mar 5, 2021
8c54a5f
Extracted ncat method
BioTurboNick Mar 5, 2021
9645ac3
Restored passthrough of nested concatenations
BioTurboNick Mar 5, 2021
dbd588b
whitespace fix
BioTurboNick Mar 5, 2021
b3d4d2f
Corrected ;; line break reversal
BioTurboNick Mar 5, 2021
96764ce
Corrected syntax test for new AST
BioTurboNick Mar 5, 2021
7420411
Fixed test
BioTurboNick Mar 5, 2021
5259cd5
Established a way to record the whole shape of the expression.
BioTurboNick Mar 6, 2021
19b97ab
Implemented shape and balanced/unbalanced version, plus test
BioTurboNick Mar 8, 2021
e33d742
Shape method works, but currently excessive overhead
BioTurboNick Mar 9, 2021
711adca
Finished? Implementing shape function
BioTurboNick Mar 10, 2021
9ccfbd6
whitespace fix
BioTurboNick Mar 10, 2021
e0bc2ff
Various fixes, added show test.
BioTurboNick Mar 11, 2021
3198c0c
test fix
BioTurboNick Mar 11, 2021
29470d6
Improved test
BioTurboNick Mar 19, 2021
ed5c4ab
Restored comment and simplified
BioTurboNick Mar 19, 2021
a0ad994
Added 1-dimensional concat shortcut and simplified
BioTurboNick Mar 19, 2021
c269b9e
Various fixes
BioTurboNick Mar 20, 2021
6bba45c
Apply suggestions from code review
BioTurboNick Apr 12, 2021
067f311
Add NEWS and more docs
mbauman Apr 13, 2021
ec87a44
Update base/arrayshow.jl
BioTurboNick May 14, 2021
c88d916
whitespace fix
BioTurboNick May 14, 2021
cc29a89
Update base/arrayshow.jl
BioTurboNick May 17, 2021
ccec0a2
Simplified via suggestions
BioTurboNick May 17, 2021
9e8bcaa
Improve NEWS
BioTurboNick May 19, 2021
2564a50
parse-matrix => parse-array
BioTurboNick May 19, 2021
84cca02
Fixed issue with mixed semicolons and newlines
BioTurboNick May 19, 2021
6995dc7
added tests for newlines
BioTurboNick May 19, 2021
e38ba55
tests
BioTurboNick May 19, 2021
b47d342
Some refactoring, not quite there
BioTurboNick May 19, 2021
526afc5
🤞🏻
BioTurboNick May 20, 2021
6799644
🤞🏻🤞🏻
BioTurboNick May 20, 2021
d5ba602
Update NEWS
BioTurboNick May 20, 2021
28dbfa4
Test to enforce prohibition of semicolon after linebreak
BioTurboNick May 20, 2021
a53cacb
Allow semicolons after linebreak
BioTurboNick May 20, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ New language features
as `.&&` and `.||`. ([#39594])
* `⫪` (U+2AEA, `\Top`, `\downvDash`) and `⫫` (U+2AEB, `\Bot`, `\upvDash`, `\indep`)
may now be used as binary operators with comparison precedence. ([#39403])
* Repeated semicolons may now be used inside array literals to separate dimensions of an array,
with the number of semicolons specifying the particular dimension. Just as the single semicolon
in `[A; B]` has always described concatenating along the first dimension (vertically), now two
semicolons `[A;; B]` do so in the second dimension (horizontally), three semicolons `;;;` in the
third, and so on. ([#33697])
BioTurboNick marked this conversation as resolved.
Show resolved Hide resolved

Language changes
----------------
Expand Down
Loading