News for hackers. Stuff that matters.
Re:Lexical differential highlighting instead of syntax highl... by css on Thursday July 11, 2019 @06:32PM (#20416502)
Wow, this actually looks amazing for math (though it seems to be stripping out a lot of the code I pasted in): https://i.imgur.com/Iur9FgK.png

How difficult would it be to implement this as a VSCode extension?

Re:Lexical differential highlighting instead of syntax highl... by petschge on Thursday July 11, 2019 @09:40PM (#20417414)
This looks pretty good, but notice how it does not split "log(difference_squared" into two tokens. Adding '(' and ')' as delimiters should fix that.
Re:Lexical differential highlighting instead of syntax highl... by css on Friday July 12, 2019 @12:30PM (#20421939)
Good point. That helps, but it still strips about half of the lines of my code out for some reason. Specifically, this part: https://i.imgur.com/L117fYm.png
Re:Lexical differential highlighting instead of syntax highl... by BenFrantzDale on Thursday July 11, 2019 @08:14PM (#20417069)
I love that visually I can find usages of, day, `alpha`.

I do wish it did some syntax highlighting, but one could easily imagine blending between this and conventional syntax highlighting.