Skip to content

Latest commit

 

History

History
 
 

README.md

Examples

Programs.hs

Various Python programs written using the raw data structures and the higher-level DSL

Indentation.hs

Functions that refactor program indentation

FixMutableDefaultArguments.hs

A function that refactors occurrences of mutable default arguments

Validation.hs

An example of validating some Python programs

OptimizeTailRecursion.hs

A function that refactors tail-recursive functions into loops

Recase.hs

Converts a file from snake-case to camel-case

Main.hs

Runs all the functions we defined and prints the results

To run Main.hs, call cabal new-run example from the base directory.