Skip to content

daw24/programmingLanguages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming Languages

Spring 2016
Homeworks done in three languages. Python, Java, and SML.
All Python and Java scripts work correctly. SML scrpits work
with varying degrees of success.

Homework 1

Program reads in an input file(input.txt - a plain text file
which contains 5 sentances), line by line anc check if the
line read in is a pangram or not. If the sentence read is a
pangram, it writes 'true' to the output file. If it's not, it
writes 'false' to the output file.

Homework 2 - 4

The goal of this homework is to understand and build an interpreter
in three languages (Python, SML, and Java) for a small
language. Your interpreter should read in an input file (input.txt)
which contains lines of expressions, evaluate them and push the
results onto a stack, then print the content of the stack to an
output file (output.txt) when exit. This homework is the first of a
multi-part homework, you will be implementing some of the features.
More interesting features will be introduced in the following
homework.