Related articles |
---|
EBNF grammar for tabular format pedro.kroger@gmail.com (=?ISO-8859-1?Q?Pedro_Kr=F6ger?=) (2009-07-13) |
Re: EBNF grammar for tabular format bear@sonic.net (Ray) (2009-07-27) |
From: | =?ISO-8859-1?Q?Pedro_Kr=F6ger?= <pedro.kroger@gmail.com> |
Newsgroups: | comp.compilers |
Date: | Mon, 13 Jul 2009 10:05:47 -0700 (PDT) |
Organization: | Compilers Central |
Keywords: | parse, question |
Posted-Date: | 14 Jul 2009 09:37:26 EDT |
Hi,
There's a program called humdrum that has a tabular format like:
**foo **bar
a b
a b
a b
where **foo indicates the type of data on the 1st column and **bar on
the 2nd. The format can have an infinite number of columns and many
different types of data (i.e. many **<name> things).
I'd like to know if I can describe this format using an EBNF grammar.
My impression is that I can't describe this kind of thing with an EBNF
grammar, is my assumption correct?
Pedro
Return to the
comp.compilers page.
Search the
comp.compilers archives again.