Open Adda0 opened 1 year ago
We have decided that Python binding should play an important role in Mata library, and we should keep the binding up to date always.
We need to prioritize for:
Can you elaborate, why this prioritization is needed now? I have all this in my todo
and will soon work on the binding again, just need to know if there is some sudden need for these things.
Can you elaborate ...
We decided to prioritize what needs to be done for TACAS 23.
I checked out the remark about warnings, since I believe, because of the building changes, they are now obsolete.
I am thinking about changing the way we approach the python binding. Not sure we can really afford to have it as a top priority, there will not be so much spare manpower any more. After it is up to date with and ok in the current/tacas version of mata, we should talk about how to continue with it.
Python binding was implemented for older C++ implementation of Mata. Since then, a lot has changed and Python binding needs to be brought up to date to the latest C++ implementation.
setup.py
topyproject.toml
.Nfa
andAfa
namespaces a normal functions in modulemata.{n, a}fa
. This corresponds to how C++ Mata library is organized.Delta
as a Python object to allow callingnfa.delta.add()
, etc. for operations on transitions; similar to C++ interface.‘-std=c++20’ is valid for C++/ObjC++ but not for C
warning message when compiling.mata.nfa.concatenate()
, etc.