SerCeMan / jnr-fuse

FUSE implementation in Java using Java Native Runtime (JNR)
MIT License
365 stars 87 forks source link

Adding Scala example #34

Closed nlw0 closed 6 years ago

nlw0 commented 6 years ago

Hi there. Great work! I would like to contribute this Scala version of the HelloWorld in your project. I am not sure how to adapt the Gradle project so that it is properly compiled. I have run this in a small sbt project, and seems to do the job.

The example is actually a little more sophisticated than the original one. I'm not just running the functions, but throwing some pattern matching and recursive functions there so it becomes cooler.

SerCeMan commented 6 years ago

Hi, @nlw0!

Thank you for the contribution! I don't think that introducing a scala dependency into a project for an example is worth it. But if you create a separate repository, maybe something like jnr-fuse-scala-example, I'll be more than happy to add a link to your project in the Projects using jnr-fuse section of README. :)