how to parse this?

nojb <n.oje.bar@gmail.com>
Wed, 19 Jan 2011 13:54:12 -0800 (PST)

          From comp.compilers

Related articles
how to parse this? n.oje.bar@gmail.com (nojb) (2011-01-19)
Re: how to parse this? torbenm@diku.dk (2011-02-01)
| List of all articles for this month |
From: nojb <n.oje.bar@gmail.com>
Newsgroups: comp.compilers
Date: Wed, 19 Jan 2011 13:54:12 -0800 (PST)
Organization: Compilers Central
Keywords: parse, question
Posted-Date: 21 Jan 2011 22:09:19 EST

Hi,


My language has function applications like ML, i.e. f g h means f
applied to two
parameters g and h. But the rule


exp: IDENT list(exp)


in Yacc will parse this as f (g h). How can I fix this?


Thanks!
N



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.