Skip to content

marciocg/WhileLang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The While Language in Scala

This is an implementation of the (simple) While language in Scala---mostly useful for studing principles of program analysis.

Compiling and Testing

Clone the repository and then run:

$ sbt compile test

Status

We will guide the implementation according to the book

Flemming Nielson, Hanne R. Nielson, and Chris Hankin. 2010.
Principles of Program Analysis.
Springer Publishing Company, Incorporated.
  • abstract syntax of the While language (Chap. I)
  • control-flow graph (Chapter II)
  • intraprocedural data-flow analysis (Chapter II)
  • interprocedural data-flow analysis (Chapter II)

At this moment the four basic data flow analysis were implemented:

  • Available Expressions Analysis
  • Reaching Definitions Analysis
  • Very Busy Expressions Analysis
  • Live Variables Analysis

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%