hoelzro / lua-repl

A Lua REPL implemented in Lua for embedding in other programs
MIT License
172 stars 16 forks source link

Improve inter-plugin communication #18

Open hoelzro opened 11 years ago

hoelzro commented 11 years ago

Plugins may currently provide services to others by putting custom methods on the REPL object and advertising features. Plugins may consume services provided by others by checking for a particular plugin or feature's presence, and calling the methods provided by that plugin. This may cause problems in the future if plugins can't decide on unique names.