View Issue Details

IDProjectCategoryView StatusLast Update
00005171003.1(2008)/Issue 7Shell and Utilitiespublic2022-06-09 15:43
ReporterLove4Boobies Assigned To 
PrioritynormalSeverityObjectionTypeEnhancement Request
Status ClosedResolutionRejected 
NameBogdan Barbu
Organization
User Reference
Section(section number or name, can be interface name)
Page Number(page or range of pages)
Line Number(Line or range of lines)
Interp Status---
Final Accepted Text
Summary0000517: EBNF support
DescriptionIt would be nice if yacc supported EBNF rather than BNF, as

1. It makes it much easier to express certain things.
2. EBNF is backwards compatible with BNF.
Desired ActionEBNF has been standardized as ISO/IEC 14977:1999(E). POSIX could merely link to that document.
TagsNo tags attached.

Activities

joerg

2011-11-28 15:26

reporter   bugnote:0001059

Could you please list the new features you have in mind?

The current UNIX yacc implementation can be found e.g. at:

http://hg.berlios.de/repos/schillix-on/file/8989017b87c0/usr/src/cmd/sgs/yacc

and it seems to make sense to understand how much code needs to be changed.

Love4Boobies

2011-11-28 16:52

reporter   bugnote:0001062

The official standard documents both the differences between BNF and EBNF and has a list of advantages that EBNF brings. I forgot to mention this, but it can be downloaded for free from ISO's website: http://standards.iso.org/ittf/PubliclyAvailableStandards/s026153_ISO_IEC_14977_1996(E).zip

Note that since EBNF cannot express anything that BNF can't, the code that generates the parser shouldn't really require any changes (mine didn't).

Don Cragun

2022-06-09 15:41

manager   bugnote:0005848

Since no widely used implementation is known that supports both formats this is being closed. Should such an implementation be published this may be reopened.

Issue History

Date Modified Username Field Change
2011-11-25 17:08 Love4Boobies New Issue
2011-11-25 17:08 Love4Boobies Name => Bogdan Barbu
2011-11-25 17:08 Love4Boobies URL => http://pubs.opengroup.org/onlinepubs/9699919799/utilities/yacc.html
2011-11-25 17:08 Love4Boobies Section => (section number or name, can be interface name)
2011-11-28 15:26 joerg Note Added: 0001059
2011-11-28 16:52 Love4Boobies Note Added: 0001062
2012-08-29 16:27 msbrown Project Online Pubs => 1003.1(2008)/Issue 7
2022-06-09 15:41 Don Cragun Note Added: 0005848
2022-06-09 15:43 Don Cragun Page Number => (page or range of pages)
2022-06-09 15:43 Don Cragun Line Number => (Line or range of lines)
2022-06-09 15:43 Don Cragun Interp Status => ---
2022-06-09 15:43 Don Cragun Status New => Closed
2022-06-09 15:43 Don Cragun Resolution Open => Rejected