Write Ruby extensions in Crystal
Crystal Makefile
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
sample Update to 0.21.1. Fixes #4 Apr 8, 2017
src Update to 0.21.1. Fixes #4 Apr 8, 2017
Makefile A proof of concept Oct 28, 2014
README.md Update to 0.21.1. Fixes #4 Apr 8, 2017

README.md

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!"