lex中文,lex的意思,lex翻译及用法

2026-03-21 17:16 浏览次数 13

lex

英[leks]美[leks]

n. (Lex)人名;(德、匈)莱克斯;(葡)莱什

n. (拉丁)法律;罗马公法(或私法)

lex 英语释义

英语释义

    1. law

lex 片语

片语

law控告;对…起诉

lex luthorLex Luthor is a fictional character from the television series Smallville. He was a series regular from the pilot episode until the season seven finale, and has been played continuously by Michael Rosenbaum, with various actors portraying Lex as a child throughout the serie

Lex Oleron奥列隆惯例集

lex voluntatis当事人合意选择的法律

Lex Kerssemakers科斯迈科斯

legislation立法;法律

Lex regia君王法

lex naturalis自然律

Lex Poetelia柏艾特里亚法

lex life明法的心

Lex CanuleiaThe Lex Canuleia is a law of the Roman Republic passed in the year 445 BC. Named after the tribune Gaius Canuleius, who proposed it, it abolished a corresponding prohibition in the Twelve Tables and allowed marriage between patricians and plebeians, with children inheriting the father's social statu

lex 例句

英汉例句

  • some versions of lex may warn you when a rule cannot be matched.

    当一个规则不能被匹配时,有一些版本的lex会向您发出警告。

  • as with a lex file, a yacc file comes in three sections, the last of which is optional, and contains just plain c code to be incorporated in the generated file.

    lex文件一样,yacc文件也由三部分构成(其中最后一个部分是可选的),其内容只是将要融入到生成的文件中的普通的c代码。

  • lex tries each rule in order, matching the longest stream of input it can.

    lex依次尝试每一个规则,尽可能地匹配最长的输入流。

  • and 「uuu」 for input, lex will match the second rule first, consuming the first two letters, then the first rule.

    并以「uuu」作为输入,lex将首先匹配第二个规则,处理完前两个字母,然后匹配第一个规则。

  • in fact, while lex and yacc are almost always mentioned in the same breath, they can be used separately.

    实际上,尽管lex和yacc几乎总是被同时提到,但是它们可以单独使用。

  • using the calculator as an example, you「ll further examine the output and information generated by the lex and yacc system and study how to use it to parse other types of information.

    使用该计算器作为示例,您将进一步研究lex和yacc系统生成的输出和信息,并学习如何使用它来分析其他类型的信息。

  • you can almost always arrange to use flex or bison, if the default lex and yacc available to you don」t support this.

    如果您可以使用的默认的lex和yacc不支持这项功能,那么您可以随时安排使用flex或者bison。

  • the gnu versions of lex and yacc are flex and bison and, as with all things gnu, have excellent documentation including complete user manuals in a variety of formats.

    lex和yacc的gnu版本是 flex和 bison,与所有的gnu 软件一样,它们也都有非常好的文档,包括各种格式的完全用户手册。

  • by using the lex and yacc tools, you can build a parsing engine that processes text according to specific rules.

    通过使用lex和yacc工具,您可以构建一个分析引擎,根据特定的规则来处理文本。

  • the first article will introduce lex and yacc in more general terms, exploring what they do and how they do it.

    第一篇文章将使用更为通用的术语介绍lex和yacc,研究它们可以做什么以及怎样 去做。

  • it consists of a series of rules that lex translates into the lexical analyzer.

    它由一系列规则构成,lex 将这些规则翻译为词汇分析器。

  • for instance, code in many programming languages can be read using lex and yacc.

    例如,可以使用lex和yacc读取很多编程语言的代码。

  • here「s a simple example of a program that can be written in a page of yacc and a half-page of lex code.

    这里是一个简单的示例程序,只需要一页yacc代码和半页lex代码就可以编写完该程序。

  • in this tutorial, you」ll examine how to use lex and yacc, first to build a calculator.

    在本教程中,首先您将研究如何使用lex和yacc来构建一个计算器。

  • this can create a problem when porting code from one system to another: generally, you are best off re-running lex and yacc on a new platform, rather than porting the generated code.

    当将代码从一个系统移植到另一个系统时,这会产生问题:通常,您最好在新的平台上重新运行lex和yacc,而不要移植生成的代码。

  • building on the ground we covered in part 1 of this two-part series, this article covers a couple of concrete applications of lex and yacc and discusses some common pitfalls.

    在由两部分构成的系列文章的 第1部分所涉及的内容基础之上,本文讨论了两个具体的lex和yacc应用程序,并讨论了一些常见的缺陷。

  • of course, not all languages are this congenial; for instance, lex has a hard time with c string constants, where special characters modify other characters.

    当然,不是所有语言都是这样的;例如,lex与c字符串常量不相容,因为特殊字符会修改其他字符。

  • a common problem is having a rule match too much text; worse, since lex prefers the longest match it can find, this can result in a totally inappropriate rule being matched.

    常见的问题是,一个规则匹配太多的文本;更糟糕的是,由于lex倾向于匹配它能找到的最长的文本,这可能导致匹配的是一个完全不适当的规则。

  • this is where the unix lex and yacc tools are useful.

    在这种情况下,unixlex和yacc工具就很有用处了。

  • most people never need to know what lex and yacc do.

    大部分人永远不需要知道lex和yacc可以做什么。

  • lex breaks down files into sets of 「tokens,」 roughly analogous to words.

    lex 将文件分解为成组的「记号(tokens)」,大体上类似于单词。

  • if your version of lex lacks exclusive states, you can qualify every rule with states, and switch between them.

    如果您的lex版本没有排他声明,那么您可以使用声明来限制每一个规则,并在其中进行切换。

相关热词