User Tools

Site Tools


2014:generative_c_scripting

This is an old revision of the document!


Back to 2014-proposals

Title:Generative C++: Scripting
Proposer: Martin Waplington
Proposer: Donal Mulvany
Type: Case-Study
Duration: 90 mins
Description:
Exposing the C++ objects of an application to scripting languages such as Lua, Python or JavaScript offers a myriad of opportunities beyond doing a DSL on the cheap: task automation, macro recording and undo, rapid prototyping, scalable testing, extensibility, flexible architecture to name a few. Unfortunately such exposure involves writing a bunch of boilerplate code and often some facades to handle awkward data types. Clang provides a way to automate the creation of boilerplate code like this.

We show you how to use clang to get scripting. Oh, and you can probably build that cheap DSL too!



2014/generative_c_scripting.1383809994.txt.gz · Last modified: 2016/06/11 14:05 (external edit)