dictionary port to tsCompile -- part one