Implement input as a d-style string

Also bumps version to 1.3.0.