port TestML::Compiler to ruby