bugGrammatica - Bugs: bug #16783, Parser: Add support for parsing...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #16783: Parser: Add support for parsing empty files

Submitted by:  Per Cederberg <cederberg>
Submitted on:  Thu 08 Jun 2006 05:38:15 AM UTC  
 
Severity: 2 - NormalItem Group: Future Improvement
Status: NoneAssigned to: Per Cederberg <cederberg>
Open/Closed: Open

Thu 08 Jun 2006 05:38:15 AM UTC, original submission:

Currently all productions in a grammar are required to match at least 1 token. This makes the grammar simpler to analyze, while losing only one single case of expressiveness -- it is impossible to declare a grammar accepting empty input.

The grammar format should be improved in some way to also allow grammars that accept an empty file or a file with just ignored tokens (such as comments and whitespace).

Per Cederberg <cederberg>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1