Micro: Add different plugin language

Created on 31 Aug 2016  路  3Comments  路  Source: zyedidia/micro

Not that I have anything against Lua, it would just be cool to have support for writing plugins in a different language, like Javascript. What are your thoughts on adding something like a Javascript interpreter or even crazier a V8 runtime. There are pros and cons to each of course. Adding a V8 engine would probably break the "this is easy to install" or at least possibly make it more complicated. The interpreter is cool, but only supports ES5 which is so last month. Thoughts? Please close if this isn't even a consideration.

Most helpful comment

v7 could be nice if we wanted to use JavaScript, but I think Lua is good because it was made to be a small scripting language for places _exactly like this_. I don't think we need to bring in another language to replace a language that can already do anything you need it to. It's not the prettiest language to look at, but it has its merits.

All 3 comments

v7 could be nice if we wanted to use JavaScript, but I think Lua is good because it was made to be a small scripting language for places _exactly like this_. I don't think we need to bring in another language to replace a language that can already do anything you need it to. It's not the prettiest language to look at, but it has its merits.

Yeah I think it's best to stick with Lua for the reasons mentioned by @phase.

Python?

Was this page helpful?
0 / 5 - 0 ratings