Butler Journal of Undergraduate Research

Faculty Sponsor

Jonathan Sorenson


The first part of this article deals with the creation of my own Spanish-based programming language, Tango, using Spanish key words (instead of English key words). The second part relates to the design and implementation of a compiler that follows the grammar rules outlined in the Tango language in order to successfully lexically analyze, parse, semantically analyze, and generate code for Tango. This article begins with a description of the specific goals achieved in the Tango language, an explanation and brief examples of the Tango Grammar, a high-level overview of the compiler design and data structures used, and concludes with ideas for future work and helpful advice. The full grammar, list of keywords, and source code for the compiler can be found in the Appendices.