Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.
The Bali programming language, a sub-set of
C designed to be easily learned by
Java programmers, originates from
Cornell University. It has been used in
the class COM S 212 "Java Practicum" to teach software engineering
principles by having the students write a Bali Compiler in Java. The grammar specification
for Bali changes from semester to semester. The language seems to
have included pointers for most, if not all, of its iterations and
has even gone so far as to include objects and inheritance. The compiler's
target is SaM: a stack machine
written in java with simple assembly-like "SaM Code". SaM allows
students to visually follow program execution by actually seeing a
stack a heap, and registers.