Skip to content

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 issues.

1 participant