gengo
gengo copied to clipboard
A bit like tokei, a lot like linguist
>[!NOTE] >I've been pinging a lot of onefetch contributors for help with languages I'm unfamiliar with. *If anyone finds this annoying, please let me know.* :slightly_smiling_face: This is the list...
This tool needs to support a lot more languages! Whether it's a programming language, a data language, prose or markup, your help is appreciated! Even if the language is already...
There are currently many languages that this project supports that don't have any samples. Samples let us do two things 1. Test against the samples to ensure we detect languages...
For example, GitHub Workflows are YAML files, and Arduino (`.ino`) files are really C++. Having a group or parent language can be helpful for organizing language stats.
For example, Jupyter Notebooks are markup, but maybe they can also be considered programming.
For example, XML is set to `"\uf05c0"`, which seems to be somewhat invalid (the trailing `0` seems to be interpreted literally). It should probably be `"\udb81\uddc0"` according to the Nerd...
Unlike normal patterns, negative patterns would hint that a file is *not* a language. The "positive" patterns simply state that a file's contents *probably* belong to a certain language, but...
This crate is now unmaintained. Alternatives: - `yaml-rust2`
This is roughly how linguist does it. They put samples that should be matched by filename in `samples/LANGUAGE/filenames/` (extension tests just go in `samples/LANGUAGE/`). On a slightly related note, perhaps...