add helper methods and rename some internal Tool methods
update readme
Range check; apparently string literal map not set when we create interp vs code gen.
check for empty tree list.