Open trevorsummerssmith opened 12 years ago
I vote for
I think I'll add these changes. However, I want to keep the comments that talk about regexes (eg "We wish to manipulate probability distributions over the nodes of a Markov chain. ... Regexes are an intuitive way to specify such linear operators.").
But then just add some stuff that says, at the end of the regex.py module comment "However note that we wish to distinguish between three types of regexes: sensor, nexus and combinator".
Thoughts?
Actually I think I like 'regex' better than 'pattern'. More thoughts? @epurdy
"regex" does sound better than "pattern", but at some point we should give it a new name, just so that it doesn't sound like a classical regular expression. I think they're strictly more powerful than regular expressions, and if they actually become common, we're going to want to distinguish between them.
I'm having trouble thinking of what to call it, though. "nexop" (nexus operator)? "semex" (semiotic expression)? "semop" (semiotic operator)? "gramex" (grammatical expression)? "gramop" (grammatical operator)?
If I had to choose any of those, I think I'd choose semex.
Also make a 'regex' module. 'regex_parser' => ast. Make things more sane.