RubyGems Navigation menu

csquare 0.1.0

C, then D, C++, C# -- now C^2, simple C templates using Ruby. Consider this to be a sort of carpenter's square. We call it C^2, or csquare. It's a simple tool for simple jobs. This gem was developed for use in NMatrix (part of the SciRuby Project). We wanted to be able to write a single function and have it be modified to produce C sources for each datatype (rational, complex, integer, float, Ruby object, etc). It also produces some rudimentary function pointer arrays if you so desire, so that these functions can be accessed using array notation. Experimental! Use at your own risk. Actually, don't use this at all! It's extremely buggy and probably won't be useful for your purposes. It's really custom-designed to handle a specific use case: NMatrix dtype templates.


  1. 0.1.0 - June 25, 2012 (25.5 KB)

Runtime 依赖关系 (2):

  • cast >= 0.2.0
  • hoe >= 3.0.3
  • Development 依赖关系 (2):

  • rdoc ~> 3.10
  • rspec >= 2.6
  • 所有者:


    • John Woods

    SHA 256 checksum:


    下载总次数 4,145

    这个版本 4,145

    = 复制到剪贴板 已复制



    需要的 Ruby 版本: