Your videos are impressive. I think the value comes from explaining one topic so one understands, how it works on an intuitive level while keeping the video short.
@@teej_dv if only you would do a long length video about tree sitter, feels like you did though, like recently, ehhhh......guess not, must be losing it....BLAZINGLY CRAZY!
I never comment on any TH-cam videos.... but damn, this video was really great. Not only did you talk about an interesting topic but also explained it extremely well. Please keep on releasing more of these videos. We need content creators like you.
I actually used tree-sitter in a project a while ago making a LS for a DSL. It worked pretty well and had auto-complete, hover, signature help, and syntax error highlights. However, tree-sitter's error recovery ability still remains a problem to make it a viable tool for creating LSs.
Haskell slander aside, this was amazing! I can't believe how much of ts you explained, along with giving clear usecases and examples right into vim. Thanks for putting this out!
I would love a more in depth video on writing grammar, and more specific scanner. Been diving into writing grammars lately and so appreciate the content!
You really have a great way of explaining things in a way that anyone can understand, even beginners like myself - this was very interesting and informative, looking forward to the next explainer
This is a great explainer on Treesitter. I used Atom in the past, switched to Vim then Neovim. I knew what treesitter did inside neovim, and heard that it is the best one at its job but never really understood what is soo good about it.
I still don't really know what I can do with tree-sitter, but now I know what and how it does this thing in Neovim : great knowledge sharing, thanx :-)
Love this video. Recently had to edit the grammar for a semi-obscure language as it was missing features and loved how simple it was. I mean it still took me 4 hours because I didn't know anything about tree-sitter but I wish I saw this video before then, it would have been so much help! Keep it up!
I had the ideas but this really helped me connect them together… treesitter really is extremely powerful and I’m already getting ideas of cool things I could use it for if I learn it a bit
This was dense. I'll be honest, a lot of it went right over my head as I'm starting to learn now, but I hope to return in time and realize it all makes sense 😅. Great content, I love the educational stuff. Keep it up.
TJ you're my new favorite youtuber/content creator. I really hope the full time thing works out for you, good luck. Definitely need more videos like these. Also now I hope you are able finish the interpreter in OCaml series one day :D
I'm on the journey of configuring neovim from scratch, this is second video I watched, first one was about Abstract Syntax Tree. I think I would be able to set up neovim in under 100 hours. Probably a 5-8 videos more and after that practice for 80 hours. Then finally I would be able to use neovim how I like.
Very well explained. Although, as a Mac power user it's still hard to overcome all the entry barriers. It's too easy to forget all the needed fundamentals that are needed to switch to neo vim. (as an active freelancer working on projects)
I hate the rest of the internet. Nobody else seemed to care about explaining what everything i was installing was doing and just that i should install it. This really, really sucks while ur trying to configure neovim on your own for the first time. Please keep it up < 3
The bit that I was really interested in is how the tree sitter determines what the “least number of errors” is for a given invalid program. Looks like it was never covered but I’m still curious.
Great explanation .I had no idea I was building something that already existed , Iv been writing a language query system in rust ... I just have no interest in having to go back to C or train someone else in C to be able to use tree sitter building new language libraries for tree sitter to use . I'd love to know the learning curve with tree sitter when building a language parser for a new language that hasnt been done or shared with it .
@@teej_dvOK that sounds interesting , so basically tell it the syntax and structure or and using javascript to create a grammar , then I could use rust bindings if I wanted to read or compile that grammar into something consumable. I was under the impression I had to use C to write and compile that grammer into a library that uses C lib exports for bindings, so that I could then consume it with a Language like Rust or whatever Lang to be able to query what it parses... So it sounds like a 2 stage approach versus the 3 phase approach I was thinking . Which means I dont need to use C at all.
I could be wrong because some of the information went over my head, but it sounds like treesitter is a file syntax parser and NOT a babysitter for trees.
Tresitter is clearly a tokenizer and lexical analyzer, on top of you have some productions that are general enough to build branches in the syntax tree such as braces aaround a list without committing to specific languages. Am I on the right track track here?
Why does tree sitter sound like an insult
Treeshitter
Don't be such a tree sitter, man
It does sound like an insult xD
cuz of bush camper?😂
Your videos are impressive. I think the value comes from explaining one topic so one understands, how it works on an intuitive level while keeping the video short.
I stop before continuing watching. Thank God for having you. I want to know more about this treesitter. I hope we have series for treesitter.
hoping to do longer video later, will take some time to put together
@@teej_dv if only you would do a long length video about tree sitter, feels like you did though, like recently, ehhhh......guess not, must be losing it....BLAZINGLY CRAZY!
I mean you could read the docs. You'll know more than you ever could from watching videos. Reading documentation has become a superpower.
I never comment on any TH-cam videos.... but damn, this video was really great. Not only did you talk about an interesting topic but also explained it extremely well.
Please keep on releasing more of these videos. We need content creators like you.
Great stuff, keep it up your kickstart vid has helped me out a lot on getting back into Neovim fully.
Thanks!! glad to hear it :)
This makes a lot more sense now. Really like how you break things down in a simple way. It makes it a lot easier to understand concepts.
I actually used tree-sitter in a project a while ago making a LS for a DSL. It worked pretty well and had auto-complete, hover, signature help, and syntax error highlights. However, tree-sitter's error recovery ability still remains a problem to make it a viable tool for creating LSs.
Haskell slander aside, this was amazing! I can't believe how much of ts you explained, along with giving clear usecases and examples right into vim. Thanks for putting this out!
What blows my mind is that it downloads some C files, COMPILES THEM and then runs them nice and fast and natively. Great stuff
The quality of each video you put out just gets better and better. Thank you!
I'm really jealous about the way this guy expresses ideas and concepts. Huge, huge fan!
blown away in peices after seeing this video, I'm still recovering. This is very impresive, I want to learn scheme now
I didn't know tree-sitter uses JDSL, Tom is indeed a genius
I would love a more in depth video on writing grammar, and more specific scanner. Been diving into writing grammars lately and so appreciate the content!
ya, might do longer video of this later -- will have to be way longer haha
You really have a great way of explaining things in a way that anyone can understand, even beginners like myself - this was very interesting and informative, looking forward to the next explainer
Pulled me in with the trees in the thumbnail, stayed for the solid explanations. Thanks man!
Followed after the LSP video, and now I get this! The top quality explainers just keep coming! Thanks TJ!
Bless you for your fantastic explainers and all your work on Neovim. Huge fan!
This is a great explainer on Treesitter. I used Atom in the past, switched to Vim then Neovim. I knew what treesitter did inside neovim, and heard that it is the best one at its job but never really understood what is soo good about it.
Great video TJ! really enjoy how you break everything down, makes it easy to understand and learn
First time in my life I feel like I understand what treesitter is. Hats off!
Man this is dope. I never thought to try to understand LSPs and the parsers powering them. It was all just magic.
Have never understood the REAL difference between LLM, LSP and treesitter. This video was very useful
I still don't really know what I can do with tree-sitter, but now I know what and how it does this thing in Neovim : great knowledge sharing, thanx :-)
Incredible. Cleared up a ton of confusion for me. Thank you!
Great video, thanks!!! Just the right amount of depth and standing while presenting was extra engaging!
These videos are really great TJ, please keep them coming!
Love this video. Recently had to edit the grammar for a semi-obscure language as it was missing features and loved how simple it was. I mean it still took me 4 hours because I didn't know anything about tree-sitter but I wish I saw this video before then, it would have been so much help! Keep it up!
I had the ideas but this really helped me connect them together… treesitter really is extremely powerful and I’m already getting ideas of cool things I could use it for if I learn it a bit
So great to hear!! thanks for the nice words :)
This was dense. I'll be honest, a lot of it went right over my head as I'm starting to learn now, but I hope to return in time and realize it all makes sense 😅.
Great content, I love the educational stuff. Keep it up.
You're a truly gifted teacher among your many other talents.
TJ your presentations skill is a masterpiece
TJ you're my new favorite youtuber/content creator. I really hope the full time thing works out for you, good luck. Definitely need more videos like these. Also now I hope you are able finish the interpreter in OCaml series one day :D
I'm on the journey of configuring neovim from scratch, this is second video I watched, first one was about Abstract Syntax Tree. I think I would be able to set up neovim in under 100 hours. Probably a 5-8 videos more and after that practice for 80 hours. Then finally I would be able to use neovim how I like.
Really cool video. Thank you for showing us behind the curtain!
You know this video is going to be good when Teej brings out the blazer.
I really love this new wave of content from you champ 👍🏻
Godlike TJ, well done once again with the explanations, more of this!
This guy is a machine!! Def much better than that netflix-btw-guy
who ends his streams thinking we know his name))
Really good explanation, thank you for the knowledge!!!
"isn't that outdated and illegal now" not proud to understand that joke because i'm chronically online
Great video, lots of cool tools built around the ecosystem like ast-grep
Amazing stuff Teej, keep it up!
Thanks :) :)
Very well explained. Although, as a Mac power user it's still hard to overcome all the entry barriers. It's too easy to forget all the needed fundamentals that are needed to switch to neo vim. (as an active freelancer working on projects)
LISP MENTIONED LISP MENTIONED LISP MENTIONED LISP MENTIONED LISP MENTIONED
Thank you for such an awesome explanation!
Future Nile will admire you more than anyone.
Great video.
Ignore the spelling mistakes if any.
Well, that certainly was an excellent explanation of something I didn't know I needed to know. Thanks!
Maybe now I'll find out what an LSP is... ;-)
Man your explanation sound great! Keep going!
Nice stuff. You explain things really well.
i am loving these videos. really great info!
This was awesome. Thanks for the explanations!
Bro it's late and I was like "tree sitter ? Wtf would you like someone to watch over a tree for you ?" and I feel very stupid now
I hate the rest of the internet. Nobody else seemed to care about explaining what everything i was installing was doing and just that i should install it. This really, really sucks while ur trying to configure neovim on your own for the first time. Please keep it up < 3
I thought this video is about how to do a job where you clean and water the trees when the tree owner isn't home.
Great job man! Keep up the good work!
Thanks :)
Sharp sports coat, very professional!
To the point, simply brilliant
The bit that I was really interested in is how the tree sitter determines what the “least number of errors” is for a given invalid program. Looks like it was never covered but I’m still curious.
You are a good human, TJ.
I trust this man because he's wearing a PhD jacket
You forgot to say:
Hopefully this video was suitable.
What would we do without trees*itter
we would not be sitting on the trees
That is as close to art as it can be
Great video, thank you, TJ!
He's going corporate, oh no the suit
You can than twitch chat for that
Teej wearing a jacket, must be a serious video
Eloquently explained!
Subbed, this was very good thank you.
I hear LSP and I think Lumpy Space Princess from Adventure Time
Thanks for this, very helpful video
Omg, what a great explanation!
Great video and explanation as always
Ayyy helix mentioned!
very cool editor!
How the heebeejeebies do you know so much??! Great video, again.
tree-stander
I wish it was easier to create own custom parsers and stuff, so it’s as easy to add tree-sitter syntax highlights than it was with old Vimscript.
Dude you're on a roll
Great video Teej!
Vscode seem to be discussing potentially moving to treesitter from textmate grammars, it'll be a loooong time though.
this looks like a logical expression query language 10:48
Amazing thumbnail !
Basically, semi-structured editing.
high value content
Great explanation .I had no idea I was building something that already existed , Iv been writing a language query system in rust ... I just have no interest in having to go back to C or train someone else in C to be able to use tree sitter building new language libraries for tree sitter to use .
I'd love to know the learning curve with tree sitter when building a language parser for a new language that hasnt been done or shared with it .
You don't write c when you use tree sitter. You write the grammar in js and you usually have language bindings already in other langs.
@@teej_dvOK that sounds interesting , so basically tell it the syntax and structure or and using javascript to create a grammar , then I could use rust bindings if I wanted to read or compile that grammar into something consumable.
I was under the impression I had to use C to write and compile that grammer into a library that uses C lib exports for bindings, so that I could then consume it with a Language like Rust or whatever Lang to be able to query what it parses...
So it sounds like a 2 stage approach versus the 3 phase approach I was thinking . Which means I dont need to use C at all.
I watched this 10 times yesterday stream 😂😂😂
I could be wrong because some of the information went over my head, but it sounds like treesitter is a file syntax parser and NOT a babysitter for trees.
Now I want you to make next video in full tuxedo
haha i'll think about it
You are a gem!
3:38 oof. I didn't come here to be roasted 😭
This is the stuff, thanks!
Thanks, Teej.
cool video man, keep it up!!!
any chance you could do an indepth LSP video, i watched the dedicated one but would like to learn more about the capabilities and handlers
yes, i'm planning an entire video of writing a complete lsp from scratch
@@teej_dvthank you than you
fun fact: this video was recorded in a single take, that too first try
haha well... the one take is true... first try... almost
First!
(Was watching the stream and read the URL before publish.)
You cheat.
@Benefits of watching the stream and making fast screen shots!
@remrevo3944 😂
@@remrevo3944 😂
very smart move. big brain
Tresitter is clearly a tokenizer and lexical analyzer, on top of you have some productions that are general enough to build branches in the syntax tree such as braces aaround a list without committing to specific languages. Am I on the right track track here?
You are awesome, congratss great vid 🎉🎉
you should try a different material sports coat. Tweed or Linen perhaps
another banger