Flexcoder: Practical Program Synthesis with Flexible Input Lengths and Expressive Lambda Functions

Bálint Gyarmathy, Bálint Mucsányi, Ádám Czapp, Dávid Szilágyi, Balázs Pintér

Abstract

We introduce a flexible program synthesis model to predict function compositions that transform given inputs to given outputs. We process input lists in a sequential manner, allowing our system to generalize to a wide range of input lengths. We separate the operator and the operand in the lambda functions to achieve significantly wider parameter ranges compared to previous works. The evaluations show that this approach is competitive with state-of-the-art systems while it’s much more flexible in terms of the input length, the lambda functions, and the integer range of the inputs and outputs. We believe that this flexibility is an important step towards solving real-world problems with example-based program synthesis.

Download


Paper Citation


in Harvard Style

Gyarmathy B., Mucsányi B., Czapp Á., Szilágyi D. and Pintér B. (2021). Flexcoder: Practical Program Synthesis with Flexible Input Lengths and Expressive Lambda Functions.In Proceedings of the 10th International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM, ISBN 978-989-758-486-2, pages 386-395. DOI: 10.5220/0010237803860395


in Bibtex Style

@conference{icpram21,
author={Bálint Gyarmathy and Bálint Mucsányi and Ádám Czapp and Dávid Szilágyi and Balázs Pintér},
title={Flexcoder: Practical Program Synthesis with Flexible Input Lengths and Expressive Lambda Functions},
booktitle={Proceedings of the 10th International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM,},
year={2021},
pages={386-395},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0010237803860395},
isbn={978-989-758-486-2},
}


in EndNote Style

TY - CONF

JO - Proceedings of the 10th International Conference on Pattern Recognition Applications and Methods - Volume 1: ICPRAM,
TI - Flexcoder: Practical Program Synthesis with Flexible Input Lengths and Expressive Lambda Functions
SN - 978-989-758-486-2
AU - Gyarmathy B.
AU - Mucsányi B.
AU - Czapp Á.
AU - Szilágyi D.
AU - Pintér B.
PY - 2021
SP - 386
EP - 395
DO - 10.5220/0010237803860395