arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.09726cs.PLcs.AIcs.SE
收藏

Herb.jl:一个统一的程序合成库

Herb.jl: A Unifying Program Synthesis Library

Technical University Delft(代尔夫特理工大学)

Tilman Hinnerichs, Reuben Gardos Reid, Jaap de Jong, Bart Swinkels, Pamela Wochner, Nicolae Filat, Tudor Magurescu, Issa Hanou, Sebastijan Dumancic

AI总结:

Herb.jl是一个用Julia编写的统一程序合成库,旨在通过分解底层算法为可扩展的子组件,简化程序合成的重用和调整过程。

摘要:

程序合成——在给定规范下自动生成代码——是人工智能(AI)中最基础的任务之一,也是许多程序员的梦想。已经开发出了众多合成器,为指数级增长的程序空间提供了不同的方法。尽管存在这些最先进的工具,但重用和调整它们仍然繁琐且耗时。我们提出了Herb.jl,这是一个用Julia编写的统一程序合成库,旨在解决这些问题。由于当前方法共享相似的构建块,我们旨在将底层算法分解为可扩展、可重用的子组件。为了展示使用Herb.jl的好处,我们展示了如何实现一个简单的问题和语法,以及如何用几行代码解决它。

英文摘要:

Program synthesis -- the automatic generation of code given a specification -- is one of the most fundamental tasks in artificial intelligence (AI) and the dream of many programmers. Numerous synthesizers have been developed for program synthesis, offering different approaches to the exponentially growing program space. Although such state-of-the-art tools exist, reusing and adapting them remains tedious and time-consuming. We propose Herb.jl, a unifying program synthesis library written in Julia, to address these issues. Since current methods share similar building blocks, we aim to break down the underlying algorithms into extendable, reusable subcomponents. To demonstrate the benefits of using Herb.jl, we show how to implement a simple problem and grammar, and how to solve it with just a few lines of code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑