Don’t Use ISO/IEC 14977 Extended Backus-Naur Form (EBNF) dwheeler.com/essays/dont-…
👍︎ 22
💬︎
👤︎ u/alexeyr
📅︎ Apr 02 2019
🚨︎ report
Suggestion: keep an updated description of the syntax in extended Backus-Naur Form or similar

Right now, there's a manual with pieces of EBNF. This doesn't help much because the most interesting constructs don't have a full description (e.g. functions). The only way to learn the syntax for such constructs is reading the parser, which is extremely painful without an IDE capable of following calls as links and showing the call hierarchy.

Having a (somewhat) complete description of the syntax in its current state would be beneficial to developers seeking to write in/contribute to Rust.

👍︎ 12
💬︎
📅︎ Feb 09 2013
🚨︎ report
Extended Backus-Naur Form en.wikipedia.org/wiki/Ext…
👍︎ 6
💬︎
👤︎ u/a_m0d
📅︎ Dec 02 2009
🚨︎ report
Backus-Naur form from a string

While surfing the web, I encountered a lot of BNF(Backus-Naur Form) generator that allows you to generate a text starting from a formal grammar definition. I now wonder if it exists something that does the opposite: starting from a string of text it should generate a BNF representation of the provided language. Unfortunately i cannot find anything like that, so I'm just start thinking that it's simple impossible to realize. What's your opinion on that? Is there a way to do it that does not involve any deep learning mechanism but only deterministic procedures?

👍︎ 37
💬︎
👤︎ u/NoWayCIA
📅︎ Oct 14 2020
🚨︎ report
What are the modern alternatives to Backus–Naur form and what are their advantages? cs.stackexchange.com/q/12…
👍︎ 44
💬︎
👤︎ u/foadsf
📅︎ Jun 21 2020
🚨︎ report
Does it make sense for Backus Naur Form grammar to support nested alternations?

production without nested alternation: A -> B | e | B C D

production with nested alternation: A -> B (X | Y (O | E) | Z) | C | e

The reason I asked this is that I have implemented FIRST and FOLLOW functions that works on grammar with nested alternation. When I read up on LL(1) parser table generation I realised that with nested alternations you would then have to generate parse tables for each nested alternation.

So my question is - is there any use case for supporting nesting of alternations?

You can find my implementations for FIRST/FOLLOW here: https://github.com/dexterleng/bnf

👍︎ 5
💬︎
👤︎ u/dexterleng
📅︎ May 01 2020
🚨︎ report
Backus–Naur form en.wikipedia.org/wiki/Bac…
👍︎ 2
💬︎
👤︎ u/sethgoldin
📅︎ Sep 23 2019
🚨︎ report
ELI5: Where does Backus-Naur Form go?

So I was looking at starting a small project working with writing a compiler for my own language and I feel like I don't understand a key part of the concept:
Lets say I've written some stuff in BNN. Where do I take this? How do I use the BNN in the compilation process? Does BNN get compiled itself? If so, what does it use?

👍︎ 2
💬︎
📅︎ Mar 10 2017
🚨︎ report
Peter Naur Dead - One of the Backus-Naur Form (BNF) author en.wikipedia.org/wiki/Pet…
👍︎ 117
💬︎
👤︎ u/maheshexp
📅︎ Jan 04 2016
🚨︎ report
Is Backus–Naur Form still relevant?

Hi reddit, I'm a CS major currently going through my 2nd year of programming, and I've found myself stuck with a rather old-school professor whose been grinding BNF and EBNF into our heads.

For anyone reading this out in the field, is BNF something that can be useful in any capacity? I've been getting the creeping feeling that I might as well be working with punch cards.

👍︎ 2
💬︎
👤︎ u/Helihat
📅︎ Mar 05 2015
🚨︎ report
ELI5: What is Backus naur form?

I've searched the internet and nothing really explains without chucking a buttload of long ass words in. so Where is BNF used also why is it used? I take computing as a subject at A level so I should know some things...

👍︎ 2
💬︎
👤︎ u/potweeds
📅︎ Apr 15 2014
🚨︎ report
GitHub - iogf/crocs: Regex-like and Backus-Naur-like on python classes. A concrete and minimalist parsing library. github.com/iogf/crocs
👍︎ 3
💬︎
👤︎ u/pmz
📅︎ Feb 25 2020
🚨︎ report
Not really procedural per se but here's an api to generate poem using context-free grammar via Backus-Naur technique poem.alv.in/
👍︎ 29
💬︎
📅︎ Nov 03 2016
🚨︎ report
Inside a Richmond & Backus Co. office, Detroit, 1902, a printing office COLORIZED, no phones, no desk lamp for extended work.
👍︎ 803
💬︎
👤︎ u/alexylim
📅︎ Nov 27 2017
🚨︎ report
Japan is United decision does not show up? I am only using Extended Timeline mod, I had the decision before I became the Shogunate and now it's gone. Any help to fix? Still want to form Japan
👍︎ 33
💬︎
📅︎ Jan 21 2022
🚨︎ report
Does anyone still use the extended forms of tau mem lamed he and aleph. What where they used for and when did they fall out of common
👍︎ 3
💬︎
📅︎ Jan 17 2022
🚨︎ report
When you leave the chocolate drink powder in situ for an extended period of time and it forms a small solid mass at the bottom of the container.
👍︎ 3
💬︎
📅︎ Jan 12 2022
🚨︎ report
A while back I posted a "hybrid" Not So Berry challenge that I created which combines the original & extended versions to form more of a storyline & incorporate new gameplay. I've made some changes so I wanted to share for any fellow challenge players. Plus my gen 5 heir looking super chic! docs.google.com/document/…
👍︎ 8
💬︎
📅︎ Jan 21 2022
🚨︎ report
[Rat King Buffed!] Extended Highlights of New 'Hit Scan' Rat King. The Final Form? 🧀🐀 v.redd.it/zfqnlcybuz481
👍︎ 59
💬︎
👤︎ u/Zephiasco
📅︎ Dec 11 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.