| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-05-16 | [ruby/prism] Always go to string lex mode even if EOF | Kevin Newton | |
| https://github.com/ruby/prism/commit/57d5c9be2c | |||
| 2024-05-15 | [ruby/prism] Replace end of file with end-of-input | Kevin Newton | |
| https://github.com/ruby/prism/commit/dd532ded95 | |||
| 2024-05-10 | [ruby/prism] Enhance parameter forwarding error messages | Kevin Newton | |
| https://github.com/ruby/prism/commit/826657232e | |||
| 2024-05-10 | [ruby/prism] operator rename | Kevin Newton | |
| https://github.com/ruby/prism/commit/b5e47f5c42 | |||
| 2024-05-07 | [ruby/prism] Extend error message for unterminated HEREDOC | Kevin Newton | |
| https://github.com/ruby/prism/commit/c1b07ec11b | |||
| 2024-05-07 | [ruby/prism] shareable_constant_value line warnings | Kevin Newton | |
| https://github.com/ruby/prism/commit/8c984b6922 | |||
| 2024-05-03 | [ruby/prism] Prism::Location#adjoin | Kevin Newton | |
| https://github.com/ruby/prism/commit/a298db68e3 | |||
| 2024-05-03 | [ruby/prism] Prism::Node#tunnel | Kevin Newton | |
| https://github.com/ruby/prism/commit/0bf5d651da | |||
| 2024-05-03 | [ruby/prism] Disallow keywords and blocks in index expressions | Kevin 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-02 | [PRISM] Enable newline test | Kevin Newton | |
| 2024-05-01 | [PRISM] Fix up error message expectations | Kevin Newton | |
| 2024-05-01 | [ruby/prism] Support passing version 3.3.1 | Kevin Newton | |
| https://github.com/ruby/prism/commit/445a0f0d22 | |||
| 2024-05-01 | [ruby/prism] CRuby error message for trailing underscore in number | Kevin Newton | |
| https://github.com/ruby/prism/commit/4e34f236d3 | |||
| 2024-05-01 | [ruby/prism] Mark errors for invalid symbols | Kevin Newton | |
| https://github.com/ruby/prism/commit/661884c4a3 | |||
| 2024-05-01 | [ruby/prism] Match CRuby interpolation semantics | Kevin Newton | |
| If a single string that is a static literal is interpolated, it does not impact whether or not the parent is a static literal. In this way, if you have something like a regular expression that interpolates a string literal, it's possible that you will end up pushing just a single regexp onto the stack as opposed to calling out to toregexp. https://github.com/ruby/prism/commit/4f096c2257 | |||
| 2024-04-26 | [ruby/prism] Location#slice_lines, Node#slice_lines | Kevin Newton | |
| https://github.com/ruby/prism/commit/9b61f6fdb3 | |||
| 2024-04-26 | [ruby/prism] Add a flag on returns when they are redundant | Kevin Newton | |
| https://github.com/ruby/prism/commit/450541d2c3 | |||
| 2024-04-24 | [ruby/prism] Warn for nested hashes as well | Kevin Newton | |
| https://github.com/ruby/prism/commit/76e802f59e | |||
| 2024-04-23 | [ruby/prism] Implement case equality on nodes | Philip Mueller | |
| https://github.com/ruby/prism/commit/dc121e4fdf | |||
| 2024-04-17 | [ruby/prism] Add a reflection API for determining the fields of a node | Kevin Newton | |
| https://github.com/ruby/prism/commit/f3f9950a74 | |||
| 2024-04-12 | [ruby/prism] Better error message on statement inside argument list | Kevin Newton | |
| https://github.com/ruby/prism/commit/3b1a99526a | |||
| 2024-04-12 | [ruby/prism] Better error message on invalid def | Kevin Newton | |
| https://github.com/ruby/prism/commit/d398e7d22c | |||
| 2024-04-12 | [ruby/prism] Syntax error for block argument on yield | Kevin Newton | |
| https://github.com/ruby/prism/commit/9feeafbc67 | |||
| 2024-04-12 | [ruby/prism] Fix up embdoc lexing on EOF | Kevin Newton | |
| https://github.com/ruby/prism/commit/8ee43be26d | |||
| 2024-04-12 | [ruby/prism] Create the warning for unreachable statements | Kevin Newton | |
| https://github.com/ruby/prism/commit/e17c86b886 | |||
| 2024-04-12 | [ruby/prism] Implement the void statement warning | Kevin Newton | |
| https://github.com/ruby/prism/commit/802ff71cd4 | |||
| 2024-04-12 | [ruby/prism] Fix parser translation's heredoc whitespace calculation | Stan Lo | |
| Given this example: ```rb <<~HEREDOC #{x} HEREDOC ``` Both the parser gem and Prism's translation layer would generate the following AST: ``` s(:dstr, s(:begin, s(:int, 1)), s(:str, " a\n")) ``` However, the parser gem inserts a empty string node into this node's location, like: ``` <Parser::Source::Map::Heredoc:0x0000000104ce73b8 @expression=#<Parser::Source::Range (string) 0...10>, @heredoc_body=#<Parser::Source::Range (string) 11...20>, @heredoc_end=#<Parser::Source::Range (string) 20...27>, @node=s(:dstr, s(:str, ""), s(:begin, s(:int, 1)), s(:str, " a\n"))> ``` This is required to calculate the correct whitespace for the heredoc body. We need to adjust the translation layer to account for this. With this fix, we also won't need to ignore the tilde heredoc fixture anymore. https://github.com/ruby/prism/commit/e7372e3ba5 | |||
| 2024-04-12 | Sync latest prism | Kevin Newton | |
| 2024-04-12 | [Bug #20423] Disallow anonymous block within argument forwarding | Nobuyoshi Nakada | |
| 2024-04-11 | [ruby/prism] Add Location#chop | Kevin Newton | |
| https://github.com/ruby/prism/commit/5dd57f4b84 | |||
| 2024-04-09 | [ruby/prism] Fix up invalid global variable error message | Kevin Newton | |
| https://github.com/ruby/prism/commit/8ce9ae487f | |||
| 2024-04-09 | [ruby/prism] Reduce locals variables per CRuby | Kevin Newton | |
| https://github.com/ruby/prism/commit/3e6830c3a5 | |||
| 2024-04-08 | [ruby/prism] Simplify locals test now that all fixtures are valid | Kevin Newton | |
| https://github.com/ruby/prism/commit/0d32af5719 | |||
| 2024-04-05 | [ruby/prism] Replace old circular parameter definition detection | Kevin Newton | |
| https://github.com/ruby/prism/commit/c739f8e194 | |||
| 2024-04-04 | [ruby/prism] Change forwarding error messages to match CRuby | Kevin Newton | |
| https://github.com/ruby/prism/commit/6a15e475c9 | |||
| 2024-04-04 | [ruby/prism] Eliminate character class duplicated range warning | Kevin Newton | |
| https://github.com/ruby/prism/commit/da939bbd4e | |||
| 2024-04-03 | [ruby/prism] Allow block exits in defined? and fix modifier while/until | Kevin Newton | |
| https://github.com/ruby/prism/commit/2752f0b8df | |||
| 2024-04-03 | [ruby/prism] Check for syntax errors using RubyVM | Kevin Newton | |
| https://github.com/ruby/prism/commit/9e200dd1c1 | |||
| 2024-04-03 | [ruby/prism] Fix up errors test | Kevin Newton | |
| https://github.com/ruby/prism/commit/5f86742537 | |||
| 2024-04-03 | [ruby/prism] Fix up location tests | Kevin Newton | |
| https://github.com/ruby/prism/commit/eeef9eb09e | |||
| 2024-04-03 | [ruby/prism] Update fixtures to be all valid Ruby | Kevin Newton | |
| https://github.com/ruby/prism/commit/a0b978d25b | |||
| 2024-04-03 | [ruby/prism] Update unparser tests | Kevin Newton | |
| https://github.com/ruby/prism/commit/b70f760b28 | |||
| 2024-04-03 | [ruby/prism] Update seattlerb/ruby_parser tests | Kevin Newton | |
| https://github.com/ruby/prism/commit/cd823d5026 | |||
| 2024-04-03 | [ruby/prism] Update whitequark/parser tests | Kevin Newton | |
| https://github.com/ruby/prism/commit/b1492ec87c | |||
| 2024-04-03 | [ruby/prism] Match circular parameter error message | Kevin Newton | |
| https://github.com/ruby/prism/commit/c0381b10e4 | |||
| 2024-04-03 | Do not rely on ripper for magic comment test | Kevin Newton | |
| 2024-04-01 | [ruby/prism] Match more error messages | Kevin Newton | |
| https://github.com/ruby/prism/commit/0cc3a9d63a | |||
| 2024-04-01 | [ruby/prism] Do not track locals starting with _ | Kevin Newton | |
| https://github.com/ruby/prism/commit/0d5a6d936a | |||
| 2024-04-01 | [ruby/prism] Use RubyVM::InstructionSequence instead of Ripper for validity ↵ | Kevin Newton | |
| check https://github.com/ruby/prism/commit/ddec1c163d | |||
