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
Thanks for the vast range of bindings for Tinkerforge bricks. Is it planned to also port the bindings to Julia (https://julialang.org/)? I would be interested in using such bindings in various projects but I have to admit that I am a bit overwhelmed by implementing my own version of the IP connection. Is there any documentation about the interface to Brickv that I am missing?
The text was updated successfully, but these errors were encountered:
If you want to take a shot at implementing Julia API bindings you would have to implement the IPConnection class in Julia that takes care of the basic TCP/IP protocol handing and the request and response dispatch to the Device objects for the various Bricks and Bricklets. You would implement a basic Device class in Julia and then implement the generator in Python3 that generates the specific Device classes in Julia for all the Bricks and Bricklets based on the device configs. Finally there are Julia specific generators for the API documentation the ZIP file and Debian package that have to be implemented for complete Julia API bindings.
All API bindings follow the same basic model, but might differ slightly from each other.
The recommended approach is to pick one of the existing API bindings generators for a language that is close or similar to Julia. Copy that generator, rename it to the Julia API bindings generator and then modify it until it produces Julia API bindings. Yes, this is a bit of a tedious task. Also the existing code might be hard to follow in places, as the code base is complex and is coming near to its 10 year anniversary.
If you have any questions about the internals of the API bindings or the generators feel free to ask.
Thanks for the vast range of bindings for Tinkerforge bricks. Is it planned to also port the bindings to Julia (https://julialang.org/)? I would be interested in using such bindings in various projects but I have to admit that I am a bit overwhelmed by implementing my own version of the IP connection. Is there any documentation about the interface to Brickv that I am missing?
The text was updated successfully, but these errors were encountered: