Valentino Stoll
๐ค SpeakerAppearances Over Time
Podcast Appearances
Yeah, something like that. It's mostly useful for really cross-compiling What do they call it? Transpiling. I haven't used it for that, but I know, what is it? Opal or Ruby Opal. There was some kind of project where they're translating the Ruby code to JavaScript as an example. So that's primarily the value of Ripper is its AST kind of generalization.
Yeah, something like that. It's mostly useful for really cross-compiling What do they call it? Transpiling. I haven't used it for that, but I know, what is it? Opal or Ruby Opal. There was some kind of project where they're translating the Ruby code to JavaScript as an example. So that's primarily the value of Ripper is its AST kind of generalization.
So I don't know if anyone's familiar with TreeSitter, which is what GitHub uses as their code hinting. So anytime you've been... on GitHub in a code review and you've hovered over a method name and it shows, hey, this is defined in this file. They actually use an AST called TreeSitter that they've made with Rust. It's pretty wild stuff.
So I don't know if anyone's familiar with TreeSitter, which is what GitHub uses as their code hinting. So anytime you've been... on GitHub in a code review and you've hovered over a method name and it shows, hey, this is defined in this file. They actually use an AST called TreeSitter that they've made with Rust. It's pretty wild stuff.
I don't know. Unfortunately, I haven't joined the Ruby forums themselves yet. I imagine that will come soon when I want to add a feature to IRB or something like that. So I don't know what they have plans for it at this moment from just the master branch of the repository. Or have they moved the main branch? I'm not sure. But they haven't removed it. It's still there.
I don't know. Unfortunately, I haven't joined the Ruby forums themselves yet. I imagine that will come soon when I want to add a feature to IRB or something like that. So I don't know what they have plans for it at this moment from just the master branch of the repository. Or have they moved the main branch? I'm not sure. But they haven't removed it. It's still there.
So they at least have it backwards compatible. But yeah, I mean, the realign is really cool because mostly for the multi-line support. So if you paste it in, I don't know, 15, 20 lines of Ruby code, you can actually just scroll up and edit it right in place. You don't have to go and, you know, line by line edit and... hit up again. It's really nice to work with.
So they at least have it backwards compatible. But yeah, I mean, the realign is really cool because mostly for the multi-line support. So if you paste it in, I don't know, 15, 20 lines of Ruby code, you can actually just scroll up and edit it right in place. You don't have to go and, you know, line by line edit and... hit up again. It's really nice to work with.
I can't answer that one. I haven't played with that.
I can't answer that one. I haven't played with that.
But yeah, now that you're... Yeah, go ahead. I was going to say... There was a few years back where I was looking at... Somebody had pasted just the lib directory of Ruby's repo. And there's a ton of Ruby files in there. And at first, it's just like delegate class or something like that. Some simple ones that I could recognize.
But yeah, now that you're... Yeah, go ahead. I was going to say... There was a few years back where I was looking at... Somebody had pasted just the lib directory of Ruby's repo. And there's a ton of Ruby files in there. And at first, it's just like delegate class or something like that. Some simple ones that I could recognize.
And then you realize, well, there's a bunch of other gems in here that are... I guess this is the core library, right? That's what's included. And that's kind of what got me to... to IRB eventually is that, you know, there are all these cool things included in Ruby. And I imagine the same with Rails, right? Where there's just way too many features for you to know all of them, right?
And then you realize, well, there's a bunch of other gems in here that are... I guess this is the core library, right? That's what's included. And that's kind of what got me to... to IRB eventually is that, you know, there are all these cool things included in Ruby. And I imagine the same with Rails, right? Where there's just way too many features for you to know all of them, right?
But if you just spend a day and poke around, you're like really surprising how much stuff is in there. And I'm kind of hoping to turn this into kind of a more longer form series on what's included in Ruby's, you know, core library. Because there is just so much information Like you were saying, you don't even know, you take it for granted that all this stuff is there.
But if you just spend a day and poke around, you're like really surprising how much stuff is in there. And I'm kind of hoping to turn this into kind of a more longer form series on what's included in Ruby's, you know, core library. Because there is just so much information Like you were saying, you don't even know, you take it for granted that all this stuff is there.
You just open up an IRB session and do what you're trying to do in the moment and don't realize kind of what's all available to you. Yeah.
You just open up an IRB session and do what you're trying to do in the moment and don't realize kind of what's all available to you. Yeah.