Our great sponsors
|11 months ago||about 2 months ago|
|MIT License||BSD 3-clause "New" or "Revised" License|
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
How to Get Started with Tree-Sitter
3 projects | news.ycombinator.com | 28 May 2023
ah, easy. it's because support has not been added into https://github.com/github/semantic which is the tech that powers the GitHub UI. Adding support is pretty easy/mainly glue code  that imports the tree sitter API.
 https://github.com/github/semantic/blob/793a876ae45d38a6bd17...3 projects | news.ycombinator.com | 28 May 2023
I believe they use semantic (Haskell program that uses tree-sitter) for navigation: https://github.com/github/semantic
So the answer may be that semantic does not yet have support for the language in question.
Scala community now has control over the official Scala grammar for tree-sitter 🎉
3 projects | /r/scala | 3 Jan 2023
2022 State of Haskell Survey
6 projects | news.ycombinator.com | 3 Nov 2022
11 Companies That Use Haskell in Production
7 projects | dev.to | 4 May 2022
GitHub used Haskell for implementing Semantic, a command-line tool for parsing, analyzing, and comparing source code.
What happened with GitHub's semantic project?
3 projects | /r/haskell | 29 Jan 2022
As far as engineering effort, you can read this GitHub comment for an overview of where we’d like to take the project in the future. The tl;dr here is that the open sum type view of the world made it very concise to fold over syntax trees (since such a view of data is ultimately unityped, recursion schemes Just Work), but the tradeoff thus associated—namely, that you have to parse a concrete syntax tree into an open-sum view (a complicated and painful-to-read process), that you can never really be sure how a given syntax tree is shaped, and that the types don’t help you nearly as much as they could—proved to be too onerous to deal with. Going forward, we’re generating syntax types from the AST once per target language, and working on an abstraction (probably via this generated code; I made five separate efforts at using Generics for this, and failed every time) that recovers at least some of the convenience of recursion schemes. It turns out that recursion schemes over a mutually recursive syntax tree—as pretty much every language’s syntax trees are, in practice—are pretty much an unsolved problem, especially when extended to languages like TypeScript, which have hundreds of different syntax nodes.3 projects | /r/haskell | 29 Jan 2022
I'm just curious. It seems there hasn't been much activity in https://github.com/github/semantic Is GitHub still using semantic it to power some code navigation features? Has it been abandoned or is there some successor project that has taken its place? Is there any writeup / lessons learned about this project?
6 projects | news.ycombinator.com | 9 Dec 2021
is this from Github semantic (https://github.com/github/semantic)?
Seems very suspicious since it’s the same goal using the same technologies. The latest commit is 4mo ago but i assume they have a closed-source version they’ve been working on.6 projects | news.ycombinator.com | 9 Dec 2021
Meanwhile their Tree-Sitter-based semantic parser looks abandoned. There is even rotting for years pull request adding support of the same stack graphs into it.
I just published an experimental `tree-sitter` grammar for Swift!
2 projects | /r/swift | 28 Aug 2021
Does anyone here have experience with tree-sitter? If you aren't familiar, tree-sitter is a parser generator tool that builds parsers to use with an incremental parsing library. It's what's responsible for AST parsing on GitHub, for instance.
We haven't tracked posts mentioning months yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
diffsitter - A tree-sitter based AST difftool to get meaningful semantic diffs
massiv - Efficient Haskell Arrays featuring Parallel computation
Glean - System for collecting, deriving and working with facts about source code.
cantor-pairing - Convert data to and from a natural number representation
refined - Refinement types with static checking
jump - Jump start your Haskell development
critbit - A Haskell implementation of crit-bit trees.
lens - Lenses, Folds, and Traversals - Join us on web.libera.chat #haskell-lens
unordered-containers - Efficient hashing-based container types
encode-string - String encoding and decoding in Haskell