< Languages
Revision as of 16:48, 29 December 2006 by Nixternal (talk | contribs) (adding smoke programming language information)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


SMOKE is a introspective wrapper around the Qt and KDE frameworks.

The legend says it stands for Scripting Meta Object Kompiler Engine

Not only does it provide wrappers for every function in every class, but it also contains meta-information allowing queries of what functions are available and their arguments and return-types.

All classes, all methods, with all arguments, along with various flags reflecting staticness, virtuality, etc. are stored into cross-referencing arrays for fast lookups. One can thus read (and call) the whole Qt API by simply reading/searching these arrays.

The main purpose of SMOKE is to make it possible to write bindings from scripting languages to Qt and KDE - with an emphasis on ease of use and flexibility.

You can find out more about SMOKE by checking out the kdebindings module of KDE's SVN.

At the time of writing, both the Perl bindings and Ruby bindings are known to use it, you might find valuable usage information there.

Content is available under Creative Commons License SA 4.0 unless otherwise noted.