Is it possible to create Crystal binds for Ruby?
Asked Answered
N

1

7

I'm creating a m3u8 generator/parser for crystal, yet I want to use it later with ruby. Is that possible/easy to do it?  

Nanettenani answered 1/2, 2016 at 10:47 Comment(1)
Yes, you export the functions in your crystal library to C and then create a ruby wrapper for that, see firmhouse.com/…Ajaajaccio
F
3

Yes, you can create Ruby extension using Crystal. It's enough to bind Ruby lib. There's an interesting presentation by Anna Kazakowa regarding that topic.

See also:

Fugazy answered 24/3, 2017 at 2:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.