Move parseFromString into the Parser module.

Comment parsing is still busted. :(

Signed-off-by: Ricky Elrod <ricky@elrod.me>