4 ms·
> Most languages have context-free syntax Do they? I haven't done a survey of languages but I would guess most are context-sensitive.
by chrisseaton 7y ago
> Most languages have context-free syntax
Do they? I haven't done a survey of languages but I would guess most are context-sensitive.
- bmn__ 7y agoI would guess so, too. In my experience, they do strive to be CF, the CS parts express mildly/are few and far between and often are accidental. That makes using a CFG parser practical and hacking around the problems caused by CS does not take much effort.