CSC 8310   Linguistics of Programming Languages
Dr. David Matuszek,
Fall 1998, Villanova University

ML Assignment

Your assignment is to write an ML program to translate an English sentence into "Pig Latin."

Pig Latin is a spoken "secret code" commonly used by American schoolchildren. Pig Latin is very simple but can be difficult to understand when spoken fast. The rules are:

For example,

when the cats away the mice will play
enwhay ethay atscay awayhay ethay icemay illway ayplay

Simplifying assumptions:


Turn in: