Categories: None [Edit]

csquare

https://rubygems.org/gems/csquare
https://github.com/mohawkjohn/csquare
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.

Total

Ranking: 125,176 of 187,239
Downloads: 5,004

Daily

Ranking: 93,924 of 187,224
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
27919,404,019rspec
185241,836,103rdoc
2,2868,954,469hoe
29,81243,670cast

Owners

#GravatarHandle
1iconmohawkjohn