Top "Bnf" questions

BNF stands for Backus-Naur Form, or Backus Normal Form.

What is a regular language?

I'm trying to understand the concept of languages levels (regular, context free, context sensitive, etc.). I can look this up …

syntax programming-languages bnf regular-language formal-languages
Tool for generating railroad diagram used on json.org

I love the syntax of railroad diagrams on json.org which are a graphical representation of the BNF language. I …

bnf diagramming
How to determine whether a language is LL(1) LR(0) SLR(1)

Is there a simple way to determine whether a grammar is LL(1), LR(0), SLR(1)... just from looking on the grammar …

parsing compiler-construction theory grammar bnf
Context-free grammar for C

I'm working on a parser for C. I'm trying to find a list of all of the context-free derivations for …

c context-free-grammar bnf
How to implement Backus-Naur Form in Python

I know there are some vaguely similar questions already relating to BNF (Backus-Naur Form) grammars in Python, but none of …

python parsing grammar bnf
How to convert BNF to EBNF

How can I convert this BNF to EBNF? <vardec> ::= var <vardeclist>; <vardeclist> ::= <varandtype&…

bnf ebnf
Regex BNF Grammar

Is there any BNF grammar for regular expression?

regex grammar bnf
Where can I find standard BNF or YACC grammar for C++ language?

I'm trying to work on a kind of code generator to help unit-testing an legacy C/C++ blended project. I …

c++ yacc bnf
Converting EBNF to BNF

It's been a few years since my computer-language class and so I've forgotten the finer points of BNF's and EBNF's …

language-agnostic computer-science bnf ebnf recursive-descent
EBNF for ECMAScript?

I'm trying to find a good EBNF description of ECMAScript, but so far I've not found anything complete. Any ideas?

javascript bnf ebnf ecma262