Combinatorial evolution - the creation of new things through the combination of existing things - can be a powerful way to evolve rather than design technical objects such as electronic circuits. Intriguingly, this seems to be an ongoing and thus open-ended process creating novelty with increasing complexity. Here, we employ combinatorial evolution in software development. While current approaches such as genetic programming are efficient in solving particular problems, they all converge towards a solution and do not create anything new anymore afterwards. Combinatorial evolution of complex systems such as languages and technology are considered open-ended. Therefore, open-ended automatic programming might be possible through combinatorial evolution. We implemented a computer program simulating combinatorial evolution of code blocks stored in a database to make them available for combining. Automatic programming in the sense of algorithm-based code generation is achieved by evaluating regular expressions. We found that reserved keywords of a programming language are suitable for defining the basic code blocks at the beginning of the simulation. We also found that placeholders can be used to combine code blocks and that code complexity can be described in terms of the importance to the programming language. As in a previous combinatorial evolution simulation of electronic circuits, complexity increased from simple keywords and special characters to more complex variable declarations, class definitions, methods, and classes containing methods and variable declarations. Combinatorial evolution, therefore, seems to be a promising approach for open-ended automatic programming.
翻译:组合进化 — — 通过现有事物的结合创造新事物 — — 可能是演化而不是设计电子电路等技术物体的强大方法。 有趣的是, 这似乎是一个持续的过程, 因而是一个开放的过程, 创造新的复杂程度越来越高的新事物。 在这里, 我们在软件开发中采用组合进化。 虽然基因编程等目前的方法在解决特定问题方面是有效的, 但是它们都趋向于解决问题, 以后不再创造任何新东西。 语言和技术等复杂系统的组合进化被认为是开放的。 因此, 可以通过组合进化来进行开放式自动编程。 我们实施了一个计算机程序, 模拟存储在数据库中的代码块的自动进化, 以便将它们合并起来。 从算法生成代码的意义上的自动编程是通过常规表达方式实现的。 我们发现, 一种编程语言的预留关键词适合于在模拟开始时定义基本代码块。 我们还发现, 占位符可以被使用开放式的组合组合组合, 代码的复杂程度可以通过对编程语言的重要性加以描述。 在以前的组合进化进化过程中, 一种特殊的组合进化变式变式的变式变式的演变式变式的演变式, 和变式变式的演变式的变式的变式的演变式的变式的演变式的演化方法似乎的变式的变式的变式的变式的变式的变式的变式的演化方法, 从特殊的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式的变式