Skip to content

Codadillo/escape-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage

To compile a program, run cargo run path_to_program. This will compile path_to_program, print out its SSA, render its dependency graphs to dotfiles in renders/, and place its resultant C into build/. build/ will contain a Makefile that can be used to build the C into an object file. Example programs can be found in the inputs/ directory, although not all of them have been updated since I added static types. At least inputs/factorial.rs, inputs/gen_list.rs, and inputs/xor_shared.rs do have them, though.

You will also probably have to run git clone https://github.com/lalrpop/lalrpop first. Or, you could try changing Cargo.toml to properly depend on the most recent release of larlpop and lalrpop-util, but that didn't work for me.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages