CobbCoding1 / Cano

Text Editor Written In C Using ncurses
Apache License 2.0
63 stars 12 forks source link

Plugin system #2

Open CobbCoding1 opened 6 months ago

CobbCoding1 commented 6 months ago

Still thinking on the details, considering using either a scripting language (i.e. something like Lua) or using WASM. Problem with WASM is it seems like it'd be a hefty task, and I would rather use something lighter as the implementation. Any comments or suggestions welcome. I will be expanding this with my thought process in the future.

Garihosu commented 3 months ago

I like the idea of Lua, its used in a lot of different things. Another candidate could be Python, though I'm unsure how we would integrate that with the program written in C.

...Actually now that I think about it, Python is written in C, and also has library support.

CobbCoding1 commented 3 months ago

Actually, I've been working on my own scripting language to use for this very purpose, I just forgot to update this thread. So once it's done, I'll integrate it as the plugin system. I may still in the future integrate a WASM interpreter or something similar, but I'm not sure yet.