Implementation of planout interpreter in Golang