Hacker GitHub

← All repos

trishume/syntect

View on GitHub ↗ ★ 2,455 Rust

Rust library for syntax highlighting using Sublime Text syntax definitions.

11 mentions on Hacker News by 7 people: 0 stories, 11 comments · first 2017-02-08 · latest 2021-05-21

Mentions per year 11 mentions · busiest year 2017 (4)
20082026
  1. Any plans to help Syntect ( https://github.com/trishume/syntect ) work with the latest sublime-syntax format ( https://github.com/trishume/syntect/issues/271 and https://github.com/trishume/syntect/issues/323 )? There is a big overlap in…
    comment by Keats · 2021-05-21 · in Sublime Text 4
  2. > I've been working on a trigram-based search engine with support for exactly this (via github.com/trishume/syntect) over the past several months and plan on open-sourcing it soon. Awesome, I look forward to that - you'll post a "show HN"…
  3. …grammar. I've been working on a trigram-based search engine with support for exactly this (via github.com/trishume/syntect) over the past several months and plan on open-sourcing it soon. Cool to see someone else with this idea! You might…
  4. …diff output slightly to make it more human readable. [0] https://github.com/dandavison/delta [1] https://github.com/trishume/syntect [2] http://github.com/sharkdp/bat/
  5. …highlighting will use the same engine and deal with incomplete/incorrect code consistently [1]: https://github.com/trishume/syntect
  6. …[2] https://github.com/github/linguist/issues/1717#issuecomment-... [3] https://github.com/trishume/syntect [4] https://github.com/sourcegraph/syntect_server
    comment by emidoots · 2018-09-07 · in Rethinking Classical Concurrency Patterns
  7. …who wrote https://github.com/sourcegraph/syntect_server in Rust, based on @trishume's awesome https://github.com/trishume/syntect lib. He chose to use Rust for many of the same reasons that other people mention in this thread:…
  8. …work to use a layer on top of Rust's super-fast DFA-based regex engine to accelerate these grammars https://github.com/trishume/syntect/pull/34 . The problem with using non-regex based grammars is that you have to write them yourself.…
  9. …Text 3 grammars, which give much richer highlighting and semantic information than Pygments: https://github.com/trishume/syntect Sourcegraph also wrote a server using syntect which provides an API for highlighting, which they use to power…
  10. …editors. I know almost all Vim bindings. How about a test? Suppose my cursor is on line 198 of https://github.com/trishume/syntect/blob/ef3b99b06b72e89b7a0... . I want to copy "match_pat.has_captures && cur_level.captures.is_some()" on…
  11. …the sublime-syntax format which is a superset of tmlanguage that allows even nicer highlighting. https://github.com/trishume/syntect
    comment by trishume · 2017-02-08 · in Optimizations in Syntax Highlighting