Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0000517 [1003.1(2008)/Issue 7] Shell and Utilities Objection Enhancement Request 2011-11-25 17:08 2022-06-09 15:43
Reporter Love4Boobies View Status public  
Assigned To
Priority normal Resolution Rejected  
Status Closed  
Name Bogdan 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
Summary 0000517: EBNF support
Description It 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 Action EBNF has been standardized as ISO/IEC 14977:1999(E). POSIX could merely link to that document.
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0001059)
joerg (reporter)
2011-11-28 15:26

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.
(0001062)
Love4Boobies (reporter)
2011-11-28 16:52

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).
(0005848)
Don Cragun (manager)
2022-06-09 15:41

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


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker