[object Object] · @objectObject
136 followers · 69 posts · Server hachyderm.io

is famous for being good at old-fashioned NLP, yet parsing the input with a was extremely painful to figure out. Thankfully was able to show me how it was done, and I cleaned up its verbose solution.

However, I'm sure I struggled this much on my first too, so it's probably just growing pains. I can see how DCGs would easily scale to much more complicated inputs since it's at least as expressive as grammars.

#prolog #definiteclausegrammar #chatgpt #regex #BNF

Last updated 2 years ago