|19 days ago||4 days ago|
|MIT License||GNU General Public License v3.0 or later|
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.
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 | reddit.com/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 | reddit.com/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
Cardano relying on Haskell is not bad at all
1 project | reddit.com/r/cardano | 30 Nov 2021
The semantic team at GitHub uses it for statically analyzing the dozens of languages that end up in GitHub repositories: https://github.com/github/semantic/blob/eaf13783838861fe5eb6cd46d59354774a8eb88d/docs/why-haskell.md
7 Useful Tools Written in Haskell
1 project | reddit.com/r/functionalprogramming | 3 Nov 2021
Yesterday I was looking for some examples of projects using tree-sitter (which is C) when I found GitHub's semantic, used to analyze and compare source code, and written in Haskell: https://github.com/github/semantic/
I just published an experimental `tree-sitter` grammar for Swift!
2 projects | reddit.com/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.
Glean -System for collecting, deriving and querying facts about source code
4 projects | reddit.com/r/haskell | 27 Aug 2021
You might want to put some examples of how exactly to use gleam (maybe a 1-2-3 type fashion?) on the front page if possible. This project seems like github/semantic or possibly even more advanced (given that it comes with it's own query language and a shell) but I just can't figure out exactly how I'd use it exactly.
A “Generalized” AST?
1 project | reddit.com/r/ProgrammingLanguages | 17 Aug 2021
What about https://github.com/github/semantic
Knows/Knows anyone that understands how to build a code indexer ala Intellisense
1 project | reddit.com/r/Compilers | 21 May 2022
11 Companies That Use Haskell in Production
7 projects | dev.to | 4 May 2022
Glean, a system for collecting and working with facts about source code.
Facebook open sources Glean, its scalable code search and query engine
1 project | reddit.com/r/unexpected_relevance2 | 13 Feb 20221 project | reddit.com/r/opensource | 5 Sep 2021
Facebook Is Down
5 projects | news.ycombinator.com | 4 Oct 2021
Is there a tool that would allow me to query (structured search) a codebase?
2 projects | reddit.com/r/cpp | 11 Sep 2021
Glean was recently open sourced, it might fit your needs - https://glean.software/
Glean – System for collecting, deriving and querying facts about source code
1 project | news.ycombinator.com | 31 Aug 2021
Facebook open sources Glean: a scalable code search and query engine
Cool! I would love to play around with this.
How do I write a schema and indexer for my favorite programming language that isn't currently (and won't be) supported with official releases?
For Schemas,  says to modify (or base new ones off) these: https://github.com/facebookincubator/Glean/tree/main/glean/s...
For Indexers, it's a little less clear but it looks like I need to write my own type checker?
Kythe has one schema, whereas with Glean each language has its own schema with arbitrary amounts of language-specific detail. You can get a language-agnostic view by defining an abstraction layer as a schema. Our current (work in progress) language-agnostic layer is called "codemarkup" https://github.com/facebookincubator/Glean/blob/main/glean/s...
For wiring up the indexer, there are various methods, it tends to depend very much on the language and the build system. For Flow for example, Glean output is just built into the typechecker, you just run it with some flags to spit out the Glean data. For C++, you need to get the compiler flags from the build system to pass to the Clang frontend. For Java the indexer is a compiler plugin; for Python it's built on libCST. Some indexers send their data directly to a Glean server, others generate files of JSON that get sent using a separate command-line tool.
References use different methods depending on the language. For Flow for example there is a fact for an import that matches up with a fact for the export in the other file. For C++ there are facts that connect declarations with definitions, and references with declarations.
There will be more indexers: we have Python, C++/Objective C, Rust, Java and Haskell. It's just a case of getting them ready to open source. You can see the schemas for most of these already in the repo: https://github.com/facebookincubator/Glean/tree/main/glean/s...
What are some alternatives?
livegrep - Interactively grep source code. Source for http://livegrep.com/
diffsitter - A tree-sitter based AST difftool to get meaningful semantic diffs
opengrok - OpenGrok is a fast and usable source code search and cross reference engine, written in Java
months - Month, YearMonth, Quarter, YearQuarter
refined - Refinement types with static checking
critbit - A Haskell implementation of crit-bit trees.
massiv - Efficient Haskell Arrays featuring Parallel computation
jump - Jump start your Haskell development
linguist - Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
cantor-pairing - Convert data to and from a natural number representation
infer - A static analyzer for Java, C, C++, and Objective-C