tourniquet
tourniquet copied to clipboard
A Python library for easy and fast program transformation/repair
Right now, subclasses of `Expression` and `Statement` hardcode their abstract syntax features in the `view` and `concretize` methods. To avoid duplication and to make addition of new subclasses easier, these...
Some other expressions we could consider: * `Function()`: Like `Variable()`. The constructor could take additional concretization constraints, like an optional return `type` or parameter `type`s. * `Call(Function(), Variable(), ..., Variable())`...
We need to talk, generally, about tourniquet's approach to building source files and testing patches. As of #37, that approach looks like the following: * Patching: Patches are applied to...
We should use a conventional `src` structure, with `src/tourniquet/__init__.py` to provide the proper package/module structure instead of `tourniquet/tourniquet.py` and `tourniquet/__init__.py` to fix the former up.