🕷 software projects

by ryan davis



sitemap

rubyinlinefortran

Just because we can... Inline::Fortran.

Just because we can… Inline::Fortran.

1
2
3
4
5
6
7
8
inline :Fortran do |builder|
  builder.subroutine('print_integer', ["void", "int"], <<-END)
    subroutine print_integer( integer )
      integer, intent(in) :: integer
      print *, 'integer: ', integer
    end
  END
end

Get The Code

If you just want to use rubyinlinefortran, you can install it via RubyGems:
gem install rubyinlinefortran
Fork me on GitHub If you want to hack on rubyinlinefortran, clone it from GitHub:
git clone git://github.com/seattlerb/rubyinlinefortran

Latest Activity