toy language implementation