An abstract syntax tree can help your code make sense of what a user provides.