Schedule

Implementing Domain-specific Languages in Django Applications by Matthieu Amiguet

 

Description

GUIs are great - no question about that - but in some cases nothing serves the user better than having a simple, highly customized, query or scripting language at his disposal.

In this talk, we will demonstrate how to build such a feature into a Django project using David Beazley's great ply package. As an example, we will implement a small but perfectly usable compiler taking expressions in a simple query language as input and yielding (django.db.models.)Q objects as a result.

 

About Matthieu Amiguet

Trained both as a mathematician and a musician, Matthieu Amiguet took up programming as a hobby and ended up making a PhD in Artificial Intelligence.
He has been teaching Advanced Programming Techniques (in Python), Compilers, Computer Security and Artificial Intelligence in a University of Applied Sciences in Switzerland for several years - and now works freelance both as a developer and a musician.

 

Back