Blog

Macros and syntax extensions in MetaLua

When it comes to macros there are at least two ways they can be implemented. The C/C++ way, which is a text processing approach or Lisp/Nemerle/MetaLua and others way in which macros are a natural property or an extension of the core parser itself. The former is significantly simpler to […]

Macros, Syntax Extensions and Domain-Specific Languages

I’d like to write a series of articles on the topic of macros in modern programming languages, language syntax extensions and domain-specific languages. After discussing some of the existing projects like Common Lisp, Scheme, Nemerle and MetaLUA I would like to present you with my solution for C++ syntax extending […]

QBoundMethod Part 2

Today, I’d like to discuss the implementation of QBoundMethod in every detail. The core of all functionality is placed in QBoundMethod::construct() method. It is responsible for creating a copy of generic arguments provided as its parameters. For every QGenericArgument, a QVariant holding copy of the original data is created and […]

QBoundMethod

Bound method is usually defined as class method associated with an object (instance of the class). But what if we could extend this term a bit and bind methods not only to objects but to an arbitrary number of arguments as well? Let’s assume that if we have a method […]

Django "Mass Change" Admin Site Extension

Django Framework with its automatically generated admin site is quite a deal for any web developer when it comes to creating relatively simple applications in a very agile manner. In case you don’t know Django already I highly recommend reading about the project on its homepage – djangoproject.com and googling […]

Hello world!

I don’t think there is an established way of writing the first post on one’s blog but I guess that stating the reasons for running a blog in the first place is fair enough. So… why do I want to run a blog? In fact I gave it quite some […]