通用性:由于不需要列出所有可能的元素名,使代码更加通用,可以包含可能出现在实例文档中的不同特性元素的变体。
Generality: Without having to list all possible element names, the code is general enough to encompass the variation of different feature elements that might appear in instance documents.
自动化工具可以使用那些描述(我将使用通用的术语bnf来指代这两种变体)或与它们近似的描述来为您生成解析代码。
Automated tools can use those descriptions (I'll use the generic term, BNF, to refer to both variations) or a close approximation thereto to generate your parsing code for you.
作为Lips的一种变体,Clojure的优势之一就是代码即数据(也称为同像(homoiconicity))。
One of the benefits of Clojure as a Lisp variant is that code is data (also known as homoiconicity).
所有的动作现在都在代码体中,在主题上有26个变体(参见清单5)。
All the action this time is in the body, with 26 variations on a theme (see Listing 5).
他们在51位幸存者和他们的后代身上发现了一种目前为止无人发现的PRNP变体。PRNP是含有库鲁病传染源——朊病毒——一种蛋白质的源代码。
In 51 survivors and their descendants, they discovered a hitherto-unknown variant of PRNP, the gene which makes prions, the proteins that spread the disease.
也有可能看见在语言和国家代码之间使用连字元,或者把国家代码写成小写形式的变体。
You might also see variations that use a hyphen between the language and country code, or that put the country code is in lowercase.
也有可能看见在语言和国家代码之间使用连字元,或者把国家代码写成小写形式的变体。
You might also see variations that use a hyphen between the language and country code, or that put the country code is in lowercase.
应用推荐