bnf
fault-tolerant python based parser for WikiLeaks cables
Some time ago I started writing a BNF-based grammar for the cables which WikiLeaks released. However I now realized that my approach is maybe not the best and I\'m looking for some improvement.[详细]
2023-03-06 12:32 分类:问答email validation question [abnf] [RF 5322]
What does the following mean in the sentence below 1*( atext / \".\" ) \"@\" ldh-str 1*( \".\" ldh-st开发者_运维百科r )[详细]
2023-02-18 11:23 分类:问答What's the start state of C's BNF?
I can\'t know which is the start state in C\'s开发者_开发问答 BNF Anyone knows?It\'s the non-terminal named \"translation-unit\".[详细]
2023-02-10 12:32 分类:问答Question regarding BNF
I have this grammar written in BNF. How do I convert it to give + precedence 开发者_C百科over * and force + to be right associative?[详细]
2023-02-08 22:31 分类:问答Are there tools to convert between ANTLR and other forms of BNF? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-02-07 20:01 分类:问答Grammar for Unix command line options
This is a homework question. I would like to write a simple parser for Unix command line options. First, I would like to define a grammar with BNF.[详细]
2023-01-29 20:47 分类:问答Consider the following BNF Grammar
Consider the following BNF grammer (where non-terminals are enclosed in angle-brackets and <identifier> matches to any legal Java variable identifier).[详细]
2023-01-29 03:46 分类:问答BNF: input going to wrong nonterminal
I\'m developing a BNF for chess algebraic notation and ran into an interesting case, input going to the wrong non-terminal.[详细]
2023-01-28 22:42 分类:问答What is the best way to define grammars for a text editor? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing[详细]
2023-01-25 01:57 分类:问答BNF grammar and Operator Associativity
(First of all this is not HW, I have all the answers) I have a simple BNF grammar <UNIT> ::= ( <CLAUSE> ) | a | b | c[详细]
2023-01-23 02:15 分类:问答