crystal_ruby

Write Ruby extensions in Crystal

crystal_ruby

Write Ruby extensions in Crystal. This is just a Proof of Concept.

$ make test_ruby.bundle
crystal sample/test_ruby.cr --link-flags "-dynamic -bundle -Wl,-undefined,dynamic_lookup" -o test_ruby.bundle

$ make irb
irb -rtest_ruby -I.
irb(main):001:0> Foo.new.foo("hi!")
=> "From Crystal!! hi!"
Repository

crystal_ruby

Owner
Statistic
  • 98
  • 10
  • 2
  • 0
  • 0
  • over 7 years ago
  • October 28, 2014
License

Links
Synced at

Wed, 06 Nov 2024 20:56:31 GMT

Languages