Replies: 3 comments 8 replies
-
If we can have a language server for LSP that will be so cool. I started building one a few months ago but abandoned it soon after. Was quite a disaster for me to handle JSON in C++. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the ping @lyxell! I have souffle.vim installed, but didn't know a tree-sitter grammar existed for it already, awesome! |
Beta Was this translation helpful? Give feedback.
-
I am not sure whether this helps but we have started to document Soufflé's language using EBNF and rail-road grammars. Have a look (under the Language section): |
Beta Was this translation helpful? Give feedback.
-
Hi! I know that there are some other Soufflé users (ping @luc-tielen) that also use vim/neovim and since the Zulip chat has been retired I think this would be a good place to discuss and share resources that are useful when developing Soufflé using vim/neovim.
To begin with there's a standard vim syntax definition found at:
@julienhenry has also developed a tree-sitter grammar for Soufflé here:
If you are using Neovim 0.5 or later you can use this grammar to get tree-sitter based highlighting for Soufflé. You can find instructions here: https://github.com/lyxell/nvim-treesitter-souffle
If you have any other resources or tips for using Soufflé and vim together, please share!
Beta Was this translation helpful? Give feedback.
All reactions