General

Profile

enebo (Thomas Enebo)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 3 6 9

Activity

08/17/2023

12:47 AM Ruby Revision 76c77b5e (git): [ruby/yarp] WIP - Introduce contextually parsing programs vs evals
This is more or less the code I used in my POC in JRuby
to parse evals. Evals depend on parent variable scopes
and will produce a different syntax tree.
Questions:
1. How does MRI compile evals currently? I cannot find anything.
2...
enebo (Thomas Enebo)
12:47 AM Ruby Revision ede55edb (git): [ruby/yarp] Remove trailing whitespace
https://github.com/ruby/yarp/commit/04de272383 enebo (Thomas Enebo)
12:47 AM Ruby Revision 1e0749e0 (git): [ruby/yarp] Addressed review comments.
Missing any tests and in fact this is untested so still a WIP.
https://github.com/ruby/yarp/commit/5411abd651
enebo (Thomas Enebo)
12:47 AM Ruby Revision 72571453 (git): [ruby/yarp] Clang beats gcc in pedantry
Accidentally declared int32_t and not uint32_t and it was caught
on macos.
https://github.com/ruby/yarp/commit/6581520793
enebo (Thomas Enebo)
12:47 AM Ruby Revision 96aebb42 (git): [ruby/yarp] Address PR comments
- odd whitespace
- a couple of name changes
- properly read uint32_t when not properly aligned
https://github.com/ruby/yarp/commit/3208ee3983
enebo (Thomas Enebo)

11/10/2022

10:36 PM Ruby Revision 51d16198 (git): [ruby/racc] Make racc test more flexible (for JRuby).
JRuby uses these same files for testing racc. The existing logic will not
find 'racc' in a JRuby project checkout. This change allows it to work by
just assuming 'ruby -S racc' when running tests. This will not change C
Ruby's detection ...
enebo (Thomas Enebo)

10/22/2022

08:01 AM Ruby Revision 420bdba1 (git): [rubygems/rubygems] Allow upcoming JRuby to pass keywords for Kernel#warn
jruby-head (which will be JRuby 9.4.0.0) can now properly process
the keywords to Kernel#warn. I cannot think of any capability based
test for this so I constrained it using a version guard. Only JRuby
will ever hit the version guard.
...
enebo (Thomas Enebo)

02/02/2022

10:07 PM Ruby Bug #18567: Depending on default gems in stdlib gems when not needed considered harmful
I agree that io-wait at a minimum should not be gemified. Perhaps digest. I think this is a different argument than the overall issue you raised.
I disagree that gems made default should not listed. My main scenario is you have a...
enebo (Thomas Enebo)

09/24/2021

05:14 PM Ruby Bug #18169: Local copies of gemified libraries are being released out of sync with their gems
Perhaps a possible solution is when anyone edits the version of a default gem within CRuby they change the version of that gem to reflect it has not been released. For example, if cgi-3.0.2 needs changes on first change make it 3.0.3-de... enebo (Thomas Enebo)

04/01/2021

07:04 PM Ruby Feature #17771: String#start_with? should not construct MatchData or set $~
It really feels like an unintended side-effect of the method. If you write this method and accept a variable then depending on the type of that variable there is either some MatchData (MD) as a side-effect or there isn't. This is incon... enebo (Thomas Enebo)

Also available in: Atom