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
20082026
-
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 -
> 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"…
comment by indentit · 2020-11-28 · in Datasette-ripgrep: a regular expression search engine for your source code -
…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…
comment by slimsag · 2020-11-28 · in Datasette-ripgrep: a regular expression search engine for your source code -
…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/
comment by Myrmornis · 2020-04-27 · in Show HN: A syntax highlighter for Git and diff output, written in Rust -
…highlighting will use the same engine and deal with incomplete/incorrect code consistently [1]: https://github.com/trishume/syntect
comment by indentit · 2019-05-04 · in Show HN: Sparser – A Multilanguage Parser -
…[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 -
…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:…
comment by sqs · 2018-09-07 · in Rethinking Classical Concurrency Patterns -
…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.…
comment by trishume · 2017-09-24 · in Chroma – A General purpose syntax highlighter in Go -
…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…
comment by trishume · 2017-09-24 · in Chroma – A General purpose syntax highlighter in Go -
…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…
comment by trishume · 2017-03-23 · in My Text Editor Journey: Vim, Spacemacs, Atom and Sublime Text -
…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