Post #2369175
2026-05-01 08:53 UTC
I wish I had this many years ago when I was converting a parser for ambiguous grammars¹.
I don't recall who had written it, alas.
That parser constructed all possible parse trees, sharing common subtrees.
_________
¹ A very well-known example:
"I saw a man in the park with a telescope."
@kentpitman@climatejustice.social @screwlisp@gamerplus.org @larsbrinkhoff@mastodon.sdf.org @eswenson@c.im
Replies (0)
No replies.