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

parse { } expressions as braces and bracescat #22942

Merged
merged 1 commit into from
Jul 28, 2017
Merged

Conversation

JeffBezanson
Copy link
Member

bracescat is a bit weird but at least lends itself to emoji?

While doing this I also noticed that we parse [a b] and [a b;] differently: the first is an hcat and the second is a vcat with a single row. That seems unnecessarily complex and I haven't carried it over to curly braces. Maybe we should stop emitting hcat expressions?

Part of #8470.

@JeffBezanson JeffBezanson added breaking This change will break code parser Language parsing and surface syntax labels Jul 24, 2017
@JeffBezanson
Copy link
Member Author

Also removed the parse error for a generator inside { }; might as well allow that now.

@JeffBezanson JeffBezanson merged commit 45a037b into master Jul 28, 2017
@JeffBezanson JeffBezanson deleted the jb/braces branch July 28, 2017 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking This change will break code parser Language parsing and surface syntax
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant