首页    期刊浏览 2025年06月14日 星期六
登录注册

文章基本信息

  • 标题:Domain-Specific Symbolic Compilation
  • 本地全文:下载
  • 作者:Rastislav Bod{\'i}k ; Kartik Chandra ; Phitchaya Mangpo Phothilimthana
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2017
  • 卷号:71
  • 页码:2:1-2:17
  • DOI:10.4230/LIPIcs.SNAPL.2017.2
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:A symbolic compiler translates a program to symbolic constraints, automatically reducing model checking and synthesis to constraint solving. We show that new applications of constraint solving require domain-specific encodings that yield the required orders of magnitude improvements in solver efficiency. Unfortunately, these encodings cannot be obtained with today's symbolic compilation. We introduce symbolic languages that encapsulate domain-specific encodings under abstractions that behave as their non-symbolic counterparts: client code using the abstractions can be tested and debugged on concrete inputs. When client code is symbolically compiled, the resulting constraints use domain-specific encodings. We demonstrate the idea on the first fully symbolic checker of type systems; a program partitioner; and a parallelizer of tree computations. In each of these case studies, symbolic languages improved on classical symbolic compilers by orders of magnitude.
  • 关键词:Symbolic evaluation; program synthesis; DSLs
国家哲学社会科学文献中心版权所有