View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000517 | 1003.1(2008)/Issue 7 | Shell and Utilities | public | 2011-11-25 17:08 | 2022-06-09 15:43 |
| Reporter | Love4Boobies | Assigned To | |||
| Priority | normal | Severity | Objection | Type | Enhancement Request |
| Status | Closed | Resolution | Rejected | ||
| 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. | ||||
|
|
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. |
|
|
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). |
|
|
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. |
| 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 |