Revert "Track current position in the 'tokens' function"

This reverts commit 860764939c98a36510cc4f42328b5dd30152043b.

This fixes #9.