Boil the macaroni in slightly salted water and drain them. Transfer to an oiled tray.
Separately, beat the eggs, sugar and flavor with the vanilla. Gradually and slowly pour in the milk and finish beating.
Pour this evenly over the macaroni and stir slightly. Bake in a preheated 464°F (240 °C) oven.