Camen Design Forum


(Leave this as-is, it’s a trap!)

To delete this post you must be either the original author or a designated moderator.
The content of the post will be removed but the name and date will remain.

  • The post will be removed completely from the thread, rather than blanked
  • Only posts on the last page of the thread can be removed completely (so as to not break permalinks)

RE: Kroc, why did you bestow upon me this nightmare?


I've been trying to get better at writing parsers lately, so I think I'm gonna try to write a scanner and a recursive descent parser for the complicated stuff and leave whatevers left to plain regexes (for speed). It's the easy way out, recursive descent won't be the absolute fastest, but its just what I know (the easiest to write that I know of). I don't see much of a way this is possible to avoid without the sheer power of a full pcre implementation.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn