Topsl (The Online Psychology Survey Language) is a programming language designed to make it easy to write sophisticated Web-based surveys. It features integrated support for longitudinal studies and arbitrary branching and looping on longitudinal data.