aufreak2
Joined 17 years ago
Joined 17 years ago
That said, S5 is still plagued by some of the problems I had with earlier versions - such as "completed 7 of 8 items" ... (I'm waiting), not logging in to my univ's network, etc. So Chrome it is, for now.
Fine print: It took some geekery to get the plugins needed to play youtube stuff. Haven't quite sorted out DVD playing yet.
If your parser returns [] it means it cannot parse the string, so it all fits together. I don't know if I can find the time to rewrite the code to show you explicitly how this could help, but looking at Parsec (in Haskell) will give you a good idea of what I'm talking about
For one thing, you can write parsers that return more than one value - i.e. parsers that are ambiguous about how they parse the string they are given. That lets you express "longest" and "shortest" as parser combinators rather than some special operation for each parser.
Edit: Just noticed 2001