Skript

Skript

743k Downloads

Full Treesitter Support

Eveeifyeve opened this issue ยท 4 comments

commented

Suggestion

Well Treesitter is a generator parser for syntaxes for languages.
Common languages support Treesitter for syntax support across a lot of IDE's
An example IDE's that you would be able to support is neovim, zed and more.

link: https://tree-sitter.github.io/tree-sitter/

Why?

It would be useful as you can support a lot of IDE Grammers for Skript as you originally wanted to Grammer for it.

Other

If you need I will be able to help you out.
Just to note you can do it in java btw.

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.
commented

Similar to your post on LSPs, if you want this it's likely you're going to need to do it yourself. You may want to check out skript-grammar for similar regex rules for skript.

commented

Similar to your post on LSPs, if you want this it's likely you're going to need to do it yourself. You may want to check out skript-grammar for similar regex rules for skript.

Okay well I guess I will start a skript-treesitter repo on my account.

commented

I will keep it unofficial, but if you want it official, let me know we can work on transferring it to skript org.
https://github.com/Eveeifyeve/skript-treesitter.git

commented

Closing this for now, but I have it on my list todo so I will do it unofficial.