A constructed compiler based on a developed toy language