News for hackers. Stuff that matters.
Re:Tree-sitter: an incremental parsing system for programmin... by lalaithion on Monday February 22, 2021 @12:15PM (#26227084)
Maybe I can finally have this syntax highlighting style: https://youtu.be/b0EF0VTs9Dc?t=900
Re:Tree-sitter: an incremental parsing system for programmin... by srcreigh on Monday February 22, 2021 @12:57PM (#26227748)
There is an emacs package for this (maybe beta). I can't remember the name of it and Google is failing me.

EDIT: finally found it https://github.com/alphapapa/prism.el

Re:Tree-sitter: an incremental parsing system for programmin... by jackcviers3 on Monday February 22, 2021 @01:19PM (#26228085)
Rainbow delimiters mode kind of does this, but doesn't maintain the scope color of referenced variables.
Re:Tree-sitter: an incremental parsing system for programmin... by brundolf on Monday February 22, 2021 @05:21PM (#26231470)
The idea is pretty awesome, but my eyes nearly rolled out of my head from the needless condescension at the beginning.
Re:Tree-sitter: an incremental parsing system for programmin... by chewxy on Tuesday February 23, 2021 @05:25AM (#26235668)
it's just how old people talk. Rob Pike speaks of syntax colouring in the same way - he quotes the Bible.

I don't see it as condescension though. I think it's just a way of speaking.

Re:Tree-sitter: an incremental parsing system for programmin... by nerdponx on Wednesday February 24, 2021 @12:14PM (#26252536)
I know plenty of "old people" who don't talk like this. In fact, the "old people" that I respect tend to be a lot more open-minded.

It's one thing to joke about it a little, but this is just arrogance on display with obvious derision for us children who find that traditional syntax highlighting is beneficial.

I recall reading once that Vim tabs were a crutch for people who "can't remember what they're working on". It's the same kind of arrogance and presumptiveness.

Re:Tree-sitter: an incremental parsing system for programmin... by nerdponx on Tuesday February 23, 2021 @12:05AM (#26233991)
I'm pretty sure you can implement this in Neovim with Tree Sitter now.

This would be a wonderful idea in any programming language.

But I agree with the other commenter that this speaker is really condescending. Not a person I'd want to work with.

Re:Tree-sitter: an incremental parsing system for programmin... by komodo009 on Tuesday February 23, 2021 @01:03AM (#26234265)
nvim-treesitter is pretty promising, do you know if it supports this type of highlighting already?
Re:Tree-sitter: an incremental parsing system for programmin... by cat199 on Monday February 22, 2021 @09:13PM (#26233127)
if your mute is on, accompanying audio states:

"You've all seen syntax coloring, right? That's something we put in our text editors to make it easier for kindergardeners to do programming"

:)