Skip to content
Christopher Dunn edited this page Jul 28, 2012 · 1 revision

Recommended CHUG workflow

  1. Define your API in Java.
    • Most methods will be abstract (or Java "interfaces"?), but you can return null or dummy values from static methods.
  2. HUG it to YAML.
  3. PLUG the CHUY YAML to C++.
    • Examine the new C++ header.
    • Modify the YAML directly and repeat.
    • When you are satisfied, update the Java, then HUG and PLUG one last time.
  4. NAG the CHUY to C.
  5. SWOG the CHUY to your target language(s).
  6. SWOG the CHUY to C++, which is what your C++ users should #include.

Note that your pure C users can use the native layer directly. (There was a recent Google Summer of Code project to provide a C target for SWIG.)

Clone this wiki locally