foundation for externalizing construction of syntax trees