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
  • 99
  • 10
  • 2
  • 0
  • 0
  • about 7 years ago
  • October 28, 2014
License

Links
Synced at

Thu, 02 May 2024 16:46:30 GMT

Languages