@aescling @wallhackio @coriander for example, the subset called "regular grammars"
@aescling @wallhackio @coriander i think you mean regular grammars? wikipedia gives the lowest known upper bound for complexity of a CFG as O(n^2.3728596)
@aescling @wallhackio @coriander lisp is the programming language for people who want every open parenthesis to be followed by a close parenthesis
@aescling @wallhackio @coriander æsc cares about this because she used to write lisp
@wallhackio @coriander (for clarity: a regular expression can ensure a closing parenthesis follows an opening parenthesis if you do not allow infinite nesting: /[(][^()]*[)]/
but if you allow infinite nesting of an opening paren after another opening paren, it cannot guarantee a closing paren for each)
@wallhackio @coriander chomsky's grammar hierarchy is (3) regular (i.e. regular expressions), (2) context-free, (1) context-sensitive, (0) recursively enumerable
(3) and (2) are the only ones which actually matter because once you hit context-sensitive you have to grapple with the halting problem
the difference between them is regular grammars cannot ensure that every open parenthesis (quote, tag, etc) has a matching closing one, whereas a CFG can
@wallhackio @coriander Chomsky is a guy that coriander hates that did some things in linguistics and also computers
@The_T @wallhackio it is kind of like soccer in that you are not allowed to have 12 men on the field
@wallhackio @coriander you doofus, HTML requires a Type-2 Chomsky grammar and a regex is only Type-3
@wallhackio @coriander i like regex but i would never use it for HTML
nyt crossword spoiler 11/15/2026
@wallhackio have you read judith butler
@bea when has that stopped you
Administrator / Public Relations for GlitchCat. Not actually glitchy, nor a cat. I wrote the rules for this instance.
“Constitutionally incapable of not going hard” — @aescling
“Fedi Cassandra” – @Satsuma
I HAVE EXPERIENCE IN THINGS. YOU CAN JUST @ ME.
I work for a library but I post about Zelda fanfiction.