Dear all,
I was looking for examples that handled the following scenarios that occur often:
1. How to reject a keyword as an identifier if both can be lexed at a given place? (Often keywords and identifiers overlap but many languages do not allow keywords as identifiers.)
2. How to obtain the ambiguous parses in a forest? How to traverse a parse forest?
If anybody can point me to examples other than for PEG that would be very much appreciated.
At a broader note, it would be great if we could assemble a small repository of such examples. I think it would make marpa much more accessible if we had examples of often needed solutions readily accessible. Right now, we just have some large language examples (too big to get started) and many small examples spread all over (too difficult to find).