spechub / Hets

The Heterogeneous Tool Set
http://hets.eu
GNU General Public License v2.0
57 stars 19 forks source link

Python interface #2108

Closed tillmo closed 1 year ago

tillmo commented 2 years ago

Build a python interface, using e.g. hyphen. Start with the core #2107 API #1790. The python interface could be used to interface Hets with https://github.com/gavel-tool and to build new interfaces, like a new GUI.

b-gehrke commented 1 year ago

Notes for hyphen

Building it:

Things to keep in mind:

Library

In general, the preferred way of accessing Haskell code from Python via hyphen is to install the Haskell code as a ghc-pkg visible library; such libraries can always be directly imported into Python with hyphen (as we have been doing so far).

b-gehrke commented 1 year ago

Is building a GUI still the best case? Do a quick research for a framework e.g. Gtk/GI, Qt. Preference is on Gtk