/programming-scala

Small scale scala compiler and interpreter

Primary LanguageScala

CS 558 Programming Languages

  • This repository contains all the programming homeworks from Jingke Li's adaptation of CS 558 at Portland State University (fall 2018).

  • All the solutions are written in Scala

  • To run a file, compile using scalac <filename>.scala and use interpreter scala <class> with appropriate command line options.

  • To run full assignments: (for example)

    make testint3 && ./run TestInterp3

    • modify testint3 to desired interpreter/compiler model.
  • The master branch points to implementations done using stack storage model

  • The heap-storage branch points to implementations done using heap allocation.