Congratulation for the nice work on the parser in the 4.0a version.
I was looking for a PHP sql parser but couldn't find one.
Chances are I'll try do hacking on it in the next weeks.
Points I don't like too much:
* _args array is good, an object structure would be much better and help you extend the parser further.
* you lack a public method (very easy to implement anyway) to return parsing result. That forces user to extend your class, which is not always the best choice.
* you should put togheter some unit tests.
IMHO you should try to threat sql parser as a separate package. That way you could attract interest from a wider range of users. (one could use it to add power existing active record classes for example).
Looking forward for join support. Good work!
