首页> 外文期刊>Journal of logic and computation >Program extraction applied to monadic parsing
【24h】

Program extraction applied to monadic parsing

机译:程序提取应用于单子语法分析

获取原文
获取原文并翻译 | 示例
           

摘要

This article outlines a proof-theoretic approach to developing correct and terminating monadic parsers. Using modified realizability, we extract formally verified and terminating programs from formal proofs. By extracting both primitive parsers and parser combinators, it is ensured that all complex parsers built from these are also correct, complete and terminating for any input. We demonstrate the viability of our approach by means of two case studies: we extract (i) a small arithmetic calculator and (ii) a non-deterministic natural language parser. The work is being carried out in the interactive proof system Minlog.
机译:本文概述了一种证明理论的方法来开发正确的和终止的单子语法分析器。使用修改后的可实现性,我们从形式证明中提取经过正式验证和终止的程序。通过提取原始解析器和解析器组合器,可以确保从这些解析器构建的所有复杂解析器也是正确,完整的,并且对于任何输入都可以终止。我们通过两个案例研究证明了我们方法的可行性:我们提取(i)一个小型算术计算器和(ii)一个不确定的自然语言解析器。这项工作正在交互式证明系统Minlog中进行。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号