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

Submitter:  Per Cederberg <cederberg>
Submitted:  Thu 08 Jun 2006 05:38:15 AM UTC
   
 
Severity:  2 - Normal Item Group:  Future Improvement
Status:  None Assigned to:  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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.12.
Corresponding source code