Interpret terms over a port

This also includes an example file of terms.