Programs by Triangular Apps