MIT 6.80s:
Interactive Programming on the Web

Programming Project: Pig Latin

The code for the Translator class manages the GUI. The PigLatin class is an interactive control loop which processes the string word by word. For less functionality, but much cleaner code, see a simpler version of the interactive control loop (which actually works with a slightly modified Translator). While the decomposition may be somewhat unconventional java, it's precisely what's wanted for Rethinking CS101.

This applet relies on binary semaphores as well as a set of specialized String utilities. For a simpler example of synchronization using these semaphores, see a simple synchronized producer/consumer buffer.

--Lynn Andrea Stein

Can't start java

-----

==< Onwards Or Back To: ==>

o  Pig Latin Programming Project

o  Some Java Documentation

o  The 6.80s Home Page

-----

This page last updated by Lynn Andrea Stein on 6/20/96

Copyright © 1996 Massachusetts Institute of Technology.
$ID$