zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
19.73k stars 617 forks source link

Improve plugin developer experience #1396

Open imsnif opened 2 years ago

imsnif commented 2 years ago
scabala commented 2 years ago

Hi @imsnif I would like to ask about utility libraries for other languages point. Does it mean it will be possible to create plugin for Zellij entirely in, for example, Python? Or Lua? What is the approach here? Is it:

I'm asking out of curiosity - one thing that kept me away from creating plugin for Zellij is need to use WASM (which I'm not familiar with) to have something simple like custom status bar.

imsnif commented 2 years ago

The idea is to provide a similar utility library for every language like we have with Rust - so that you can write plugins in python more easily for example.

Truthfully though, the more time passes - for various reasons (only some of them technological) I'm thinking more and more that we should switch out the whole WASM, write it off as a bad idea and move to lua or some similar plugin development language. I know @a-kenji has thoughts on this.

scabala commented 2 years ago

It is actually good to hear ;) I personally believe that in this case, scripting languages are best approach. Can't wait to see it available!

denismaxim0v commented 1 year ago

Regarding this. I'm not sure if you have heard about rhai, but it looks like an interesting idea to explore. @imsnif It's one of the options, but I still think that having wasm is a good idea, just needs some re-working.