My sbt plugin is working

Mark Hammons mark.hammons at inaf.cnrs-gif.fr
Sun Nov 10 17:06:17 UTC 2019


Hi All,

I finally got a prototype of my sbt plugin for generating scala (dotty) 
bindings to C using the foreign apis.

https://github.com/markehammons/sbt-shackle

Right now the only weakness it has compared to jextract bindings is that 
I cannot currently bind functions with varargs. Sadly, dotc doesn't seem 
capable of encoding dotty varargs parameters in a java compatible way 
yet. Once I have my plugin able to generate scala 2 bindings, I think 
this problem will be solved.

~Mark



More information about the panama-dev mailing list