Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 856 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 856 Bytes

Development

  • To update the functionality, modify the necessary sources in the src directory
  • Run generate-piranha-artifact.sh (or generate-dylib.sh, if the llvm sources are already downloaded)
  • Run tests by executing test.sh and ensuring there are no changes in the refactorings

Usage

  • Run piranha-objc.sh with the appropriate parameters (file, flagname, type). -- Update XcodeSDK path appropriately
  • See the examples in tests directory for the original code and refactored code.

TODO

  • Refactoring the implementation to accept other APIs

Acknowledgements

  • Some aspects of the refactoring are based on this blog article

  • A majority of the test cases (as of Nov 11, 2019) are due to Nick Lauer.