5 ms·
Surely there's a correlation between ease of reading and ease of compilation? I'm thinking in terms of avoiding back-tracking in your syntax. E.g.: regices ar
by yarg 4y ago
Surely there's a correlation between ease of reading and ease of compilation?
I'm thinking in terms of avoiding back-tracking in your syntax.
E.g.: regices are hard as shit to read, and I don't think that back-tracking helps
(ab + c)*
Or
*+(ab, c)
The first says ab, no - it's the union of ab and something, something is c, no - it's one or more of those.
The second says one-or-more of the union of (ab) and (c).
Why haven't languages pushed that way?
- remram 4y ago> regices Please no. It's bad enough that people insist on using foreign plurals in English, let's not pretend "regex" is some latin word (it's just REGular EXpression).
- yarg 4y agoWords are about the only damned thing where mere belief conjures existence.
- yarg 4y agoAlso, if you're going to bother to reply, reply to the content - rather than the terrible pun that I through in for the sake of my own bored amusement. I'm a fucking programmer (at very least I'm a dude commenting on HN) - I know what regex is short for.