News for hackers. Stuff that matters.
Re:The naked truth about writing a programming language (2014) by chrisseaton on Saturday May 02, 2020 @05:01PM (#23054872)
> Most languages have context-free syntax

Do they? I haven't done a survey of languages but I would guess most are context-sensitive.

Re:The naked truth about writing a programming language (2014) by bmn__ on Sunday May 03, 2020 @07:03AM (#23058268)
I 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.