8000 New Ruby 2.1, 2.2, 2.3 Syntax by korny · Pull Request #189 · rubychan/coderay · GitHub
[go: up one dir, main page]

Skip to content

New Ruby 2.1, 2.2, 2.3 Syntax #189

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

Merged
merged 10 commits into from
Feb 13, 2016
Merged

New Ruby 2.1, 2.2, 2.3 Syntax #189

merged 10 commits into from
Feb 13, 2016

Conversation

korny
Copy link
Member
@korny korny commented Feb 13, 2016

Add support for new Ruby language features:

  • Ruby 2.1 number literal suffixes
  • Ruby 2.2 quoted hash keys (partial)
    • simple strings
    • don't apply for old when a == "b": syntax (ignore, see rubychan/coderay-scanner-tests@6ddf240)
    • escape sequences
    • simple interpolation
    • interpolation with nested {…} (too complicated)
  • Ruby 2.3 safe navigation operator
  • Ruby 2.3 squiggly heredoc

Use rubychan/coderay-scanner-tests#8 for testing.

screenshot_01

@korny korny added the Scanners label Feb 13, 2016
@korny korny self-assigned this Feb 13, 2016
@korny korny added this to the 1.1.1 milestone Feb 13, 2016
@korny korny changed the title Ruby 2.3 New Ruby 2.1, 2.2, 2.3 Syntax Feb 13, 2016
korny added a commit that referenced this pull request Feb 13, 2016
New Ruby 2.1, 2.2, 2.3 Syntax
@korny korny merged commit 16d8313 into master Feb 13, 2016
@korny korny deleted the ruby-2.3 branch February 13, 2016 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these iss 3680 ues.

1 participant
0