def preprocessor(accepts, exports, flag=None):
    """Decorator to add a new preprocessor"""
    def decorator(f):
        preprocessors.append((accepts, exports, flag, f))
        return f
    return decorator