The scripting engine available for Magic Lantern is called **MagicLUA**. It is a (slightly) stripped down version of LUA, with an API which tries to expose the most important functionality of Magic Lantern.
<under construction>
Code: https://bitbucket.org/a1ex/magic-lantern/changeset/a3cb0abc1248
Discussion thread: [1]
Previous work: Scripting