Skip to content

Comment on Describing and Inventing a New Regular Expression Quantifierparent

Comments

To be more precise, you'd need to say that the palindrome is not only described by a deterministic context-free grammar, but that it is _not_ described by anything simpler.

Multiple different grammars can define the same language. There are context free grammars for regular languages.

Ah, now that makes more sense! Original comment threw me rather. Thanks.

A -> bAb where b is a terminal, ok.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.