首页> 外文期刊>Programming and Computer Software >Functional Programming Library for C++
【24h】

Functional Programming Library for C++

机译:C ++的功能编程库

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

摘要

Modern functional programming languages, such as Haskell, Scala, ML, and F#, have properties that make it possible to implement logically complicated algorithms relatively easily. Among such properties is the composition of functions, currying, metafunctions (functions over functions), and some others. This makes it possible to obtain complex functions by combining simpler functions. An example of a complicated algorithm is a parser. In Haskell, there is a library called Parsec, which is a set of elementary parsers; by combining these parsers, one can create more complicated parsers. This fact makes the library relatively simple, yet powerful. The majority of these tools are not explicitly included in C++. However, C++ is sufficiently powerful for implementing many properties of functional programming languages. In this paper, an attempt is made to develop such a library.
机译:现代功能编程语言,如Haskell,Scala,ML和F#,具有使其可以相对容易地实现逻辑上复杂的算法。在这些性质中,函数,咖喱,元障碍(功能上的功能)和其他一些性质。这使得可以通过组合更简单的功能来获得复杂功能。复杂算法的示例是解析器。在Haskell,有一个名为Parsec的库,这是一组基本解析器;通过组合这些解析器,可以创建更复杂的解析器。这一事实使图书馆比较简单,但功能强大。这些工具中的大多数都没有明确包含在C ++中。但是,C ++足够强大,用于实现功能规划语言的许多属性。在本文中,尝试发展这样的文库。

著录项

  • 来源
    《Programming and Computer Software》 |2020年第5期|330-340|共11页
  • 作者

    Krasnov M. M.;

  • 作者单位

    Russian Acad Sci Keldysh Inst Appl Math Moscow 125047 Russia;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号