flatt-security / shisho

Lightweight static analyzer for several programming languages
https://docs.shisho.dev
GNU Affero General Public License v3.0
370 stars 15 forks source link

Language support: nix #128

Open 06kellyjac opened 2 years ago

06kellyjac commented 2 years ago

tree-sitter grammar is here.

I'm a nix user and I really like the look of shisho :heart:

Last I checked the grammar wasn't super fully featured for syntax highlighting but I believe most language features are covered, and there have been some updates since.


I'm packaging shisho for nixpkgs here: https://github.com/NixOS/nixpkgs/pull/165485

It will be built and cached for the following platforms:

lmt-swallow commented 2 years ago

Thank you so much! https://github.com/NixOS/nixpkgs/pull/165485 sounds awesome! ❤️

From what I've seen of the grammar, I guess implementing the nix support in Shisho won't be so hard. I'll work on the implementation soon :)

06kellyjac commented 2 years ago

ありがとう。

If there's any documentation that helps explain the implementation process I'd be happy to help with this or other languages 🙂