Machinery for processing cereals or dried vegetables