A web application code conversion system (100) translates web application
code written in a first language into a second language. A scanner (104)
scans the old code and generates tokens corresponding to keywords,
variable names, and other strings in the old code. A parser (106)
determines the functional equivalents of the tokens in the new code and
generates the new code in the second language.