Click here to Skip to main content
15,894,017 members
Everything / BNF

BNF

BNF

Great Reads

by Ben Hanson
Convert EBNF to BNF
by George Tryfonas
Assembler and Simulator for Don Knuth's MIX Computer from The Art of Computer Programming.
by madflame
This article presents a fully functional proof of concept of the translation phases that transform your code from a flat string of characters to an abstract syntax tree.
by DQNOK
Traces the evolution of a high-speed EXPRESSION EVALUATOR to demonstrate the various PATTERNS you will need to "roll your own" recursive descent compiler.

Latest Articles

by DQNOK
Traces the evolution of a high-speed EXPRESSION EVALUATOR to demonstrate the various PATTERNS you will need to "roll your own" recursive descent compiler.
by Ben Hanson
Convert EBNF to BNF
by madflame
This article presents a fully functional proof of concept of the translation phases that transform your code from a flat string of characters to an abstract syntax tree.
by George Tryfonas
Assembler and Simulator for Don Knuth's MIX Computer from The Art of Computer Programming.

All Articles

Sort by Score

BNF 

1 Apr 2016 by Ben Hanson
Convert EBNF to BNF
30 Jul 2010 by Bram van Kampen
I went to school in the 1970's. BNF was unheard of that time, where do I find a Basic Tutorial about it!
30 Jul 2010 by Sandeep Mewara
I found lots of information present at this link:Wiki BNF[^]There are references for Books, Tutorials, etc. Overall, it should help in understanding the basics of BNF.
31 Jul 2010 by Bram van Kampen
Thanks, the Links are helpfull. At least I am starting to understand the basicsRegards,
22 Nov 2011 by Pete O'Hanlon
At the end of the setvibration line, you don't have a semi colon. You need to add one so that it looks like the following:if (yourmum = buttonState.pressed) setvibration(playerindex.me,1,69); // This line needs the semi colon,.else { redIntensity++; }Next, you terminate the...
17 Jun 2017 by RickZeeland
Here is an interesting project to make writing a parser easier in C#: GitHub - sprache/Sprache: Tiny C# Monadic Parser Framework[^] Also see this CodeProject article for more information about Sprache: Sprache.Calc: building yet another expression evaluator[^]
2 Feb 2011 by George Tryfonas
Assembler and Simulator for Don Knuth's MIX Computer from The Art of Computer Programming.
16 Jan 2013 by madflame
This article presents a fully functional proof of concept of the translation phases that transform your code from a flat string of characters to an abstract syntax tree.
27 Jul 2017 by DQNOK
Traces the evolution of a high-speed EXPRESSION EVALUATOR to demonstrate the various PATTERNS you will need to "roll your own" recursive descent compiler.
22 Nov 2011 by :)9/11
if (yourmum = buttonState.pressed) setvibration(playerindex.me,1,69)else { fatness++; }if (fatCountingUp > 300kg); (setBiggestLoserShow = true);else { (setBiggestLoserShow = MEGAtrue); }if (codDisc = broken); (YouDumpGirlfriend);else { ...
17 Jun 2017 by puppysss
I can't understand how to parse an input string using a written grammar using "BNF". What I have tried: Hello, I'm puppysss and built a simple script language with a lexer recently. I was about to think about making a parser for it but my try made my head blown up. let me tell you an entire...