You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a consumer of this library and writing code in languages other than Nim, I'd like to read and write files through a simple API.
Nim's bidirectional interfacing promises simple interfacing with C like targets, but an API must be defined and a library build must be shipped. The README already documents an API but the types, such as GffRoot, are complex and challenging to get right when crossing languages. A simpler API with basic data types such as cstring would make interoperability easier.
It seems useful to me that the API be defined and shipped with this project, but I may be missing some considerations. I also understand the maintenance implied by defining APIs, so please let me know how you feel about this. If you agree, I've already worked out the implementation and can PR the changes.
The text was updated successfully, but these errors were encountered:
As a consumer of this library and writing code in languages other than Nim, I'd like to read and write files through a simple API.
Nim's bidirectional interfacing promises simple interfacing with C like targets, but an API must be defined and a library build must be shipped. The README already documents an API but the types, such as
GffRoot
, are complex and challenging to get right when crossing languages. A simpler API with basic data types such ascstring
would make interoperability easier.Example API:
Example use from C#:
It seems useful to me that the API be defined and shipped with this project, but I may be missing some considerations. I also understand the maintenance implied by defining APIs, so please let me know how you feel about this. If you agree, I've already worked out the implementation and can PR the changes.
The text was updated successfully, but these errors were encountered: