英文字典中文字典


英文字典中文字典51ZiDian.com



中文字典辞典   英文字典 a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z       







请输入英文单字,中文词皆可:

BNF    
巴科斯范式

巴科斯范式

{Backus-Naur Form}. Originally Backus Normal Form.

[{Jargon File}]

Backus-Naur Form (TTCN, ...)

BNF: /B·N·F/, n. 1. [techspeak] Acronym for Backus Normal
Form (later retronymed to Backus-Naur
Form because BNF was not in fact a normal form), a metasyntactic
notation used to specify the syntax of programming languages, command sets,
and the like. Widely used for language descriptions but seldom documented
anywhere, so that it must usually be learned by osmosis from other hackers.
Consider this BNF for a U.S. postal address:


 <postal-address> ::= <name-part> <street-address> <zip-part>



 <personal-part> ::= <name> | <initial> "."



 <name-part> ::= <personal-part> <last-name> [<jr-part>] <EOL>

               | <personal-part> <name-part>



 <street-address> ::= [<apt>] <house-num> <street-name> <EOL>



 <zip-part> ::= <town-name> "," <state-code> <ZIP-code> <EOL>

This translates into English as: “A postal-address consists of
a name-part, followed by a street-address part, followed by a zip-code
part. A personal-part consists of either a first name or an initial
followed by a dot. A name-part consists of either: a personal-part
followed by a last name followed by an optional jr-part (Jr., Sr., or
dynastic number) and end-of-line, or a personal part followed by a name
part (this rule illustrates the use of recursion in BNFs, covering the case
of people who use multiple first and middle names and/or initials). A
street address consists of an optional apartment specifier, followed by a
street number, followed by a street name. A zip-part consists of a
town-name, followed by a comma, followed by a state code, followed by a
ZIP-code followed by an end-of-line.” Note that many things (such as
the format of a personal-part, apartment specifier, or ZIP-code) are left
unspecified. These are presumed to be obvious from context or detailed
somewhere nearby. See also parse.


请选择你想看的字典辞典:
单词字典翻译
BNF查看 BNF 在百度字典中的解释百度英翻中〔查看〕
BNF查看 BNF 在Google字典中的解释Google英翻中〔查看〕
BNF查看 BNF 在Yahoo字典中的解释Yahoo英翻中〔查看〕





安装中文字典英文字典查询工具!


中文字典英文字典工具:
选择颜色:
输入中英文单字

































































英文字典中文字典相关资料:


  • BNF范式(巴科斯范式)到底是什么? - 知乎
    BNF范式(巴科斯范式)到底是什么? 看一个C语言公开课中,老师提到了程序语言的BNF范式,网上查找资料也不能清晰表诉到底它是个什么东东!
  • O que é Backus-Naur Form (BNF)? - Stack Overflow em Português
    3 BNF (Backus-Naur Form), foi originalmente criada por John Backus e Peter Naur, é uma metassintaxe usada para expressar gramáticas livres de contexto Com ela, é possível especificar quais sequências de símbolos constituem um programa sintaticamente válido em um determinado idioma
  • bnf - Tool for generating railroad diagram used on json. org - Stack . . .
    I love the syntax of railroad diagrams on json org which are a graphical representation of the BNF language I haven't found any tools that can produce results as eloquently Can anyone identify th
  • notation - How can I write a sentence in BNF? - Stack Overflow
    A complete English grammar expressed in BNF would surely be exceedingly complex BNF is better suited to grammars of computer languages and formats You might have a BNF description of JSON, for example, or of allowable syntax in C or Java
  • BNF grammar associativity - Stack Overflow
    I'm trying to understand how left and right associative grammars work and I need a little help So I decided to come up an example and ask for some clarification Basically, I want to create a gram
  • BNF vs EBNF vs ABNF: which to choose? - Stack Overflow
    The EBNF is the extended newer version of BNF, so the problem becomes simpler: EBNF vs ABNF I'm not an expert, but think that it should depend on a language, whose syntax you want to define
  • syntax - Bracket and brace usage in BNF? - Stack Overflow
    Which dialect of BNF are you using? There are many, and they have different sets of rules Is a parenthesis a metacharacter or a literal character? Maybe you should use LPAREN and RPAREN as token names for left parenthesis and right parenthesis You casually mention EBNF one place; the rules for EBNF are very different from most other BNF-related systems (which is one reason why EBNF is not
  • bnf - Backus–Naur form with boolean algebra. Problem with brackets and . . .
    I assume that you want to define a grammar for boolean expressions using the Backus-Naur form, and that your examples are concrete instances of such expressions There are multiple problems with your grammar: First of all, you want your grammar to only generate correct boolean expressions With your grammar, you could generate a simple operator ∨ as valid expression using the path <variable
  • What are Context-Free Grammars and Backus Naur Form?
    Can someone please explain in layman's terms: what a context-free grammar is? what Backus Naur Form is? How to use this notation? How to do string derivation? How to describe language syntax?
  • How to convert BNF to EBNF - Stack Overflow
    How to convert BNF to EBNF Asked 12 years, 9 months ago Modified 1 year, 2 months ago Viewed 25k times





中文字典-英文字典  2005-2009