DaemonForums  

Go Back   DaemonForums > Miscellaneous > Off-Topic

Off-Topic Everything else.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th August 2019
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default what does "It's in BNF" mean ?

In another topic, it was mentioned that the manual suggested was in BNF, I did not know what that means, so looked , using the same key words as my topic title,. I found the results interesting, since I was not aware of the term, Backus-Naur Form (BNF)

http://matt.might.net/articles/grammars-bnf-ebnf/
Quote:
The language of languages
----snip---

Languages form the terrain of computing.

Programming languages, protocol specifications, query languages, file formats, pattern languages, memory layouts, formal languages, config files, mark-up languages, formatting languages and meta-languages shape the way we compute.

So, what shapes languages?

Grammars do.

Grammars are the language of languages.

Behind every language, there is a grammar that determines its structure.

This article explains grammars and common notations for grammars, such as Backus-Naur Form (BNF), Extended Backus-Naur Form (EBNF) and regular extensions to BNF.

After reading this article, you will be able to identify and interpret all commonly used notation for grammars.
----snip---, really worth reading, if you did not all read know about this---
So any way, figured it would be better in offtopic, rather then de-railing the topic where I saw the term for my first time,..
__________________
My best friends are parrots

Last edited by PapaParrot; 7th August 2019 at 11:29 PM.
Reply With Quote
  #2   (View Single Post)  
Old 7th August 2019
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

For clarity*, PappaParrot is referring to this post:
Quote:
Originally Posted by jggimi View Post
There's a GRAMMAR section at the end of the pf.conf(5) manual. It's in BNF, so can be difficult to comprehend ... but sometimes I find it can be helpful when I get unexplained syntax errors.
* BNF isn't necessarily human-readable.
Reply With Quote
  #3   (View Single Post)  
Old 7th August 2019
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default

Thanks for looking it up and sharing the result PapaParrot, I hadn't heard the term either.

Last edited by IdOp; 7th August 2019 at 11:00 PM. Reason: typo
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between"arp info overwritten" and " duplicate IP address " varag OpenBSD Security 1 6th April 2015 02:57 PM
How to replace "ectags" with "ctags"? fender0107401 OpenBSD Packages and Ports 5 16th April 2013 10:01 AM
Where should I put my config? "rc.conf" or "rc.conf.local"? fender0107401 OpenBSD General 2 2nd April 2012 02:53 AM
Fixed "xinit" after _7 _8, "how" here in case anyones' "X" breaks... using "nvidia" jb_daefo Guides 0 5th October 2009 09:31 PM
"Thanks" and "Edit Tags". diw Feedback and Suggestions 2 29th March 2009 12:06 AM


All times are GMT. The time now is 03:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick