Lua
                                               Steroids
                                                                  on




Sierra Wireless Proprietary and Confidential   January 21, 2010        1
Gaetan Morice
 Embedded Tools Manager at Sierra Wireless




 Koneki project co-lead at Eclipse
???
What is
Lua
all about
http://www.lua.org/about.html




“Lua is a powerful, fast, lightweight,
embeddable scripting language.”
Rationale


Extending C/C++ applications with a
configuration / scripting engine.
Rationale


Extending C/C++ applications with a
configuration / scripting engine.
 •  Based on a virtual machine
 •  Can load source code / read char streams
 •  And compile it to portable bytecode
Rationale


Extending C/C++ applications with a
configuration / scripting engine.
 •  Tiny core (150kB)
 •  Pure ANSI C
 •  Simple C API
Rationale


Extending C/C++ applications with a
configuration / scripting engine.
 •  DSL building kit
 •  Provides only basic features
 •  And a powerful runtime
Gaining momentum
 16th on Tiobe language index
 http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html




 19th on GitHub
 http://github.com/languages/Lua
???
What
is
Missing
IDE
Support
LDT




http://www.eclipse.org/koneki/ldt/
Rationale


A tool that follows Lua’s philosophy

Providing lot’s of modern features while
remaining easily embeddable in larger systems.
However


 Lua strengths
 Dynamic
 Embeddable


 are double-edged swords

 that make tooling support tedious.
Editor
VS

Dynamic
Code
Debugger
VS

Embedded
Application
LDT
Typical Use Case
Sierra Developer Studio

 Sierra’s IDE for ALEOS Embedded Application Framework
???
What’s
 Next
LDT Roadmap
 Working with local interpreters

 Add launch configuration

 Supporting OOP


 Management of require

 Improvement of content-assist and scoping

 LuaDoc support contribution
Big thanks to

 Eclipse
• RSE http://www.eclipse.org/tm/
• DLTK http://www.eclipse.org/dltk/

 Lua
• JNLua http://code.google.com/p/jnlua/
• MetaLua http://metalua.luaforge.net/
• Ldoc http://github.com/stevedonovan/LDoc
Useful links
 Lua
• Main site http://lua.org
• Kepler project http://www.keplerproject.org/

 LDT
• At Koneki http://www.eclipse.org/koneki/
• Update site http://download.eclipse.org/koneki/updates/
• Wiki http://wiki.eclipse.org/Koneki
• Mailing List https://dev.eclipse.org/mailman/listinfo/koneki-dev
???
  Any
Questions

Lua on Steroids