go top

Parser combinator

  • 语法分析组合子

网络释义英英释义

  解析器组合子

为了解析文本输入,作者引入了 解析器组合子parser combinator),这是一个专门为这项任务设计的标准 Scala 库。

基于1210个网页-相关网页

短语

parser combinator lib 解析器组合子库

Parser combinator

  • abstract: In functional programming, a parser combinator is a higher-order function which accepts several parsers as input and returns a new parser as its output. In this context, a parser is a function accepting strings as input and returning some structure as output, typically a parse tree or a set of indices representing locations in the string where parsing stopped successfully.

以上来源于: WordNet

双语例句

  • To understand how this all works, we have to take a brief dive into the parser combinator implementation.

    为了理解其中的原理我们必须简要了解解析器组合子的实现

    youdao

  • In the original parser, expressions like "5 + 5 + 5" were acceptable owing to the rep combinator in the grammar definition for expressions (expr) and terms (term).

    原来解析器中,可以接受5 + 5 + 5”这样的表达式因为语法表达式(expr)术语(term)定义rep组合子。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定