|
|
|
|
|
|
|
Re: Serialization: Tolerant Expressions Grammar [message #656040 is a reply to message #656028] |
Wed, 23 February 2011 21:20 |
Martin Messages: 17 Registered: February 2011 |
Junior Member |
|
|
Hi Sebastian,
I am not sure whether I get your point. I have binary expression productions like this:
Addition:
Multiplication ('+' Multiplication)*
Parsing with this one works fine but not serialization of for example an addition node without children. But I would like to have productions that behave like this:
Addition:
Multiplication? ('+' Multiplication?)*
Ideally, this one would offer exception-free serialization, right? But unfortunately, I cannot use ones like these, right?
I was wondering if there is another twist that I dont know of.
[Updated on: Wed, 23 February 2011 21:24] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.04841 seconds