Skip to content

IshSiva/Code-Optimizer-Python

Repository files navigation

Code Optimizer Python

This is an optimizer tool for python programming language built using Python 3.7.

Modules Implemented

1)Common Subexpression elimination
2)Strength Reduction
3)Constant Propagation
4)Constant Folding

Steps to execute

Execute the runner.py file
Enter the file name to be optimized in the console
The final optimized file is available in optimizer.py. The intermediate files optim1.py, optim2.py and optim3.py are generated after common subexpression elimination, strength reduction, constant propagation and constant folding.
(A sample test file is available in test.py and test2.py)

About

A code optimization tool for python built using python 3.7

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages