开发者

Ambiguous Regular Grammar?

开发者 https://www.devze.com 2023-02-21 23:27 出处:网络
Does such a thing exist?If so, 开发者_如何学编程could you please provide an example?Thanks.A -> a

Does such a thing exist? If so, 开发者_如何学编程could you please provide an example? Thanks.


A -> a
B -> a

can parse the string a as both A or B, and is therefore ambiguous.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号