General

Profile

kddnewton (Kevin Newton)

  • Login: kddnewton
  • Email: kddnewton@gmail.com
  • Registered on: 11/20/2015
  • Last sign in: 03/02/2026

Issues

open closed Total
Assigned issues 1 107 108
Reported issues 13 84 97

Projects

Project Roles Registered on
Ruby Committer 06/28/2023

Activity

08/11/2026

12:18 PM Ruby Revision dff4de9a (git): [ruby/prism] Revert "Revert "Split up newline token""
This reverts commit https://github.com/ruby/prism/commit/115d58f71bdc.
https://github.com/ruby/prism/commit/9175663b7a
kddnewton (Kevin Newton)

08/06/2026

01:52 AM Ruby Revision 918fed9d (git): [ruby/prism] Revert "Split up newline token"
This reverts commit https://github.com/ruby/prism/commit/3dbe592a76cb.
https://github.com/ruby/prism/commit/115d58f71b
kddnewton (Kevin Newton)
01:17 AM Ruby Revision 1db6f0fe (git): [ruby/prism] Split up newline token
There are actually 3 tokens in the Ruby grammar: the newline in a
whitespace insensitive position that is ignored, a newline that is
in a whitespace sensitive position that acts as a statement
terminator, and a newline in a whitespace se...
kddnewton (Kevin Newton)

08/05/2026

11:02 AM Ruby Revision 5e36630f (git): [ruby/prism] Split up lbrace token
This also more closely matches parse.y, and makes it easier to
delineate which brace belongs to which type.
https://github.com/ruby/prism/commit/43ed8c1f80
kddnewton (Kevin Newton)
11:02 AM Ruby Revision 0017dea3 (git): [ruby/prism] Split up backtick token
Now we fully match parse.y, and it is clearer to distinguish
betewen backticks that are used for method names and backticks
that begin xstring literals.
https://github.com/ruby/prism/commit/a33c3ff7fe
kddnewton (Kevin Newton)
11:02 AM Ruby Revision f3ec056c (git): [ruby/prism] Split up lparen token
This more closely matches parse.y, and simplifies a bit of the lex
state as seen from the outside.
https://github.com/ruby/prism/commit/06dff548e8
kddnewton (Kevin Newton)

08/04/2026

03:30 PM Ruby Revision 03615950 (git): [ruby/prism] Abort on allocation failure in static literals
https://github.com/ruby/prism/commit/b25cba96bd kddnewton (Kevin Newton)
02:33 PM Ruby Feature #22212: Add Thread::Backtrace::Location#source_range
If `#syntax_tree` gets merged, I am no longer certain of the use case here, because to my knowledge that entirely encapsulates this work. I can't imagine needing the exact source range (more than you already have) but _not_ needing the s... kddnewton (Kevin Newton)
02:31 PM Ruby Feature #21795: Methods for retrieving ASTs
@mame thanks for the great prototype. I think `#syntax_tree` makes a lot of sense, and I think the name and implementation are both fine.
As a small note, I noticed that you manually implement the DFS to find the child node because yo...
kddnewton (Kevin Newton)

08/01/2026

06:20 PM Ruby Revision f8d62cdb (git): [ruby/prism] Encoding leaking
Fixed encoding was leaking around elements because it wasn't being
cleared around elements that had only a single token.
https://github.com/ruby/prism/commit/03bde59c40
kddnewton (Kevin Newton)

Also available in: Atom