summaryrefslogtreecommitdiff
path: root/prism
AgeCommit message (Collapse)Author
2024-05-16[ruby/prism] Match CRuby invalid escape character syntax error messageKevin Newton
https://github.com/ruby/prism/commit/0ef5658dcc
2024-05-16[ruby/prism] Match CRuby invalid character error messageKevin Newton
https://github.com/ruby/prism/commit/8d4c5c2bca
2024-05-16[ruby/prism] Update error message for invalid % at EOFKevin Newton
https://github.com/ruby/prism/commit/178d4f66fd
2024-05-16[ruby/prism] Match CRuby error message for unknown % stringKevin Newton
https://github.com/ruby/prism/commit/863197629c
2024-05-16[ruby/prism] Always go to string lex mode even if EOFKevin Newton
https://github.com/ruby/prism/commit/57d5c9be2c
2024-05-16[ruby/prism] Update unterminated string error locationKevin Newton
https://github.com/ruby/prism/commit/33d12afa60
2024-05-15[ruby/prism] Extend the bounds of the invalid global variable name errorKevin Newton
https://github.com/ruby/prism/commit/89d0d9851a
2024-05-15[ruby/prism] Replace end of file with end-of-inputKevin Newton
https://github.com/ruby/prism/commit/dd532ded95
2024-05-13[ruby/prism] Autoload newlines and comment visitorsKevin Newton
Having the @newline instance variable in every node adds up, and since it is so rarely used, we only want to add it when necessary. Moving this into an autoloaded file and moving the instance variable out of the default initializers reduces allocated memory because the nodes are now smaller and some fit into the compact list. On my machine, I'm seeing about an 8% drop. https://github.com/ruby/prism/commit/eea92c07d2
2024-05-10[PRISM] Bump to version 0.29.0Kevin Newton
2024-05-10[ruby/prism] Enhance parameter forwarding error messagesKevin Newton
https://github.com/ruby/prism/commit/826657232e
2024-05-10[ruby/prism] operator renameKevin Newton
https://github.com/ruby/prism/commit/b5e47f5c42
2024-05-10[ruby/prism] Fix escaping control+xKevin Newton
https://github.com/ruby/prism/commit/0f0b4c1161
2024-05-08[ruby/prism] Ensure keyword parameters are not constantsKevin Newton
https://github.com/ruby/prism/commit/fd210115c1
2024-05-08[ruby/prism] Enhance def params term error messageKevin Newton
https://github.com/ruby/prism/commit/3af1acd5da
2024-05-08[ruby/prism] Fix line number of unreachable statement warningKevin Newton
https://github.com/ruby/prism/commit/62f6b1f2e2
2024-05-08[ruby/prism] Ensure keyword parameters do not end in ! or ?Kevin Newton
https://github.com/ruby/prism/commit/57d86a8545
2024-05-08[ruby/prism] Invalid escape character syntax for nested unicode escapesKevin Newton
https://github.com/ruby/prism/commit/623a0bb995
2024-05-08[ruby/prism] Validate Unicode escape sequences are not surrogatesKevin Newton
https://github.com/ruby/prism/commit/64d2ce2622
2024-05-08[PRISM] Sync prism version bumpKevin Newton
2024-05-08[ruby/prism] Better error message on missing hash valueKevin Newton
https://github.com/ruby/prism/commit/b20e37e82e
2024-05-07[ruby/prism] Extend error message for unterminated HEREDOCKevin Newton
https://github.com/ruby/prism/commit/c1b07ec11b
2024-05-07[ruby/prism] Better error message for contents of hash patternKevin Newton
https://github.com/ruby/prism/commit/60dbf60f48
2024-05-07[ruby/prism] Disallow implicit hash in array patternKevin Newton
https://github.com/ruby/prism/commit/bdd509c6ac
2024-05-07[ruby/prism] Specific error message for symbol literal with interpolation in ↵Kevin Newton
hash patterns https://github.com/ruby/prism/commit/31f0201bae
2024-05-07[ruby/prism] Add error for invalid implicit local writesKevin Newton
https://github.com/ruby/prism/commit/ab21882561
2024-05-07[ruby/prism] shareable_constant_value line warningsKevin Newton
https://github.com/ruby/prism/commit/8c984b6922
2024-05-06[ruby/prism] Unexpected fractional component error messagesKevin Newton
https://github.com/ruby/prism/commit/e893bc2230
2024-05-06[ruby/prism] More specific error for conflicting forwarding parametersKevin Newton
https://github.com/ruby/prism/commit/1c3b48fedb
2024-05-06[ruby/prism] Fix up error message for unexpected {Kevin Newton
https://github.com/ruby/prism/commit/80dbe035ba
2024-05-03[ruby/prism] Prism::Location#adjoinKevin Newton
https://github.com/ruby/prism/commit/a298db68e3
2024-05-03[ruby/prism] Prism::Node#tunnelKevin Newton
https://github.com/ruby/prism/commit/0bf5d651da
2024-05-03[ruby/prism] Disallow *a&.x=0Kevin Newton
https://github.com/ruby/prism/commit/624fdf74bd
2024-05-03[ruby/prism] Create specialized `ASCIISource` with asciionly optimizationsVinicius Stock
https://github.com/ruby/prism/commit/40993166a8
2024-05-03[ruby/prism] Disallow safe navigation in a call target nodeKevin Newton
https://github.com/ruby/prism/commit/b1917adac7
2024-05-03[ruby/prism] Disallow **nil after keyword parametersKevin Newton
https://github.com/ruby/prism/commit/5beeae076f
2024-05-03[ruby/prism] Disallow keywords and blocks in index expressionsKevin Newton
https://github.com/ruby/prism/commit/e950dc1e83
2024-05-03[ruby/prism] Change ConstantPathNode#child to ConstantPathNode#{name,name_loc}Kevin Newton
This has been requested for a long time, and I'm finally doing it now. Unfortunately this is a breaking change for all of the APIs. I've added in a Ruby method for `#child` that is deprecated so that existing usage doesn't break, but for everyone else this is going to be a bit of a pain. https://github.com/ruby/prism/commit/9cbe74464e
2024-05-02Mark the first string element of a regexp as binary if US-ASCIIKevin Newton
2024-05-02[ruby/prism] Node#script_lines and supporting infraKevin Newton
https://github.com/ruby/prism/commit/cb4a8ab772
2024-05-01[PRISM] Consolidate handling heredoc terminatorsKevin Newton
2024-05-01[PRISM] Enable passing tests in test_syntax.rbKevin Newton
2024-05-01[PRISM] Closer error messages on invalid unicode escapes in character literalsKevin Newton
2024-05-01[PRISM] Error message for unterminated heredoc identifierKevin Newton
2024-05-01[PRISM] Fix unterminated regular expression error messageKevin Newton
2024-05-01[PRISM] Better error messages for unwriteable targetsKevin Newton
2024-05-01[PRISM] Match unterminated error messagesKevin Newton
2024-05-01[ruby/prism] Support passing version 3.3.1Kevin Newton
https://github.com/ruby/prism/commit/445a0f0d22
2024-05-01[PRISM] Simplify prism error highlightingKevin Newton
2024-05-01[ruby/prism] CRuby error message for trailing underscore in numberKevin Newton
https://github.com/ruby/prism/commit/4e34f236d3