BinPy/BinPy — pull request #91 by rvraghav93 (2014-03-03 22:05:13+00:00)
Title: DEV tools: Script to automate creation of example code for an IC

1. Created a new folder `/dev/`
2. Added `IC_example_code_maker.py`- a script to automate the process of making an example code for an IC
* Takes IC No. as Input
* Scrapes the tests.py file for the sample input case
* uses `exec` to check if IC present in the code base.
* Extensively uses `format` to generate the code from a template code.
* The synthesized code is run to verify the integrity.
* produces an output ICNO.py in the dev folder . Has to be manually moved inside example.py
MOTIVATION: Saves a lot of dev time.