首页> 外文期刊>Brazilian Computer Society. Journal >Mímico: a monadic combinator parser generator
【24h】

Mímico: a monadic combinator parser generator

机译:Mímico:单声道组合器解析器生成器

获取原文
       

摘要

This article describes a compiler generator, called Mímico, that outputs code based on the use of monadic combinators. Mímico can parse infinite look-ahead and left-recursive context free grammars and defines a scheme for handling the precedence and associativity of binary infix operators, and monadic code in semantic rules. Mímico provides an easy way of specifying the syntax and semantics of languages, and generates readable output in the form of Haskell programs. The article presents Mímico's general principles, its formal syntax and semantics, its limitations and illustrative examples of its behaviour.
机译:本文介绍了一种称为Mímico的编译器生成器,该生成器根据单子组合器的使用来输出代码。 Mímico可以解析无限的前瞻性和左递归上下文无关文法,并定义一种方案来处理二进制中缀运算符的优先级和关联性,以及语义规则中的单子代码。 Mímico提供了一种简单的方法来指定语言的语法和语义,并以Haskell程序的形式生成可读的输出。本文介绍了Mímico的一般原则,其正式语法和语义,其局限性以及其行为的示例。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号