JeffersonLab / iguana

Preservation of common physics data analysis algorithms. Currently focused on HIPO data.
https://jeffersonlab.github.io/iguana/
GNU Lesser General Public License v3.0
2 stars 7 forks source link

feat: `chameleon`, a tool for language binding generation #250

Closed c-dilks closed 1 month ago

c-dilks commented 2 months ago

This introduces chameleon, a tool to automate generation of bindings and action function tests. For a proof of concept, this PR generates the C bindings for Fortran.

c-dilks commented 1 month ago

Should the ExampleAlgorithm have an Action.yaml file? This could point to the action function Filter , I think it would be helpful to refer to when writing algorithms.

Yes, but I'm actually considering removing ExampleAlgorithm with #141, in favor of choosing three representative algorithms (a filter, a transformer, and a creator) that would serve as good examples, and moving the descriptive comments to those. Then I'll add links to those in the documentation.