Show newer

@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

so that i could throw hard problems at them and have them solve them for me

Show thread

i wish there were people who were smarter than me but shared my interests

nyt crossword spoiler 11/15/2026 

@wallhackio have you read judith butler

goblin day, goblin day
who needs work when you can play
or just sleep the whole day away
make today a goblin day

i hope a·o·3 continues the trend of going down for two weeks and coming back with fewer features until they have no features

« As this is a security incident, we will not be sharing specifics about what mitigating changes are being made at this time. » soooo… did you fix it or not?

i regret to inform that the french have not stopped being

Show older
📟🐱 GlitchCat

A small, community‐oriented Mastodon‐compatible Fediverse (GlitchSoc) instance managed as a joint venture between the cat and KIBI families.