See https://shenlanguage.org/thorn.html for documentation.