CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Sat, 30 Aug 2025 06:56:02 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090104152256
location: https://web.archive.org/web/20090104152256/https://github.com/tombagby/llvmruby/tree
server-timing: captures_list;dur=0.591587, exclusion.robots;dur=0.021996, exclusion.robots.policy;dur=0.010289, esindex;dur=0.011791, cdx.remote;dur=78.223685, LoadShardBlock;dur=167.194363, PetaboxLoader3.datanode;dur=77.430964, PetaboxLoader3.resolve;dur=39.658673
x-app-server: wwwb-app225
x-ts: 302
x-tr: 286
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app225; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 301
server: nginx
date: Sat, 30 Aug 2025 06:56:03 GMT
content-type: text/html; charset=utf-8
content-length: 113
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sun, 04 Jan 2009 15:22:55 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_ses=BAh7ByIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7ADoOcmV0dXJuX3RvIhkvaW5ib3gvbmV3L25ldGNhcnZlcg%3D%3D--ef52c603c449383b9300ae8b65db8f980dc61f4c; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 301 Moved Permanently
location: https://web.archive.org/web/20090104152256/https://github.com/tombagby/llvmruby/tree/master
x-archive-orig-x-runtime: 419ms
x-archive-orig-cache-control: no-cache
x-archive-orig-content-length: 113
cache-control: max-age=1800
memento-datetime: Sun, 04 Jan 2009 15:22:56 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sun, 28 Sep 2008 10:58:26 GMT", ; rel="prev memento"; datetime="Sun, 28 Sep 2008 10:58:26 GMT", ; rel="memento"; datetime="Sun, 04 Jan 2009 15:22:56 GMT", ; rel="last memento"; datetime="Sun, 04 Jan 2009 15:22:56 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_7_20090104114541_crawl107-c/52_7_20090104152250_crawl103.arc.gz
server-timing: captures_list;dur=0.980372, exclusion.robots;dur=0.016645, exclusion.robots.policy;dur=0.007166, esindex;dur=0.010867, cdx.remote;dur=11.397550, LoadShardBlock;dur=101.380318, PetaboxLoader3.datanode;dur=830.981379, load_resource;dur=852.563420, PetaboxLoader3.resolve;dur=107.884485
x-app-server: wwwb-app225
x-ts: 301
x-tr: 990
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Sat, 30 Aug 2025 06:56:03 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.26
x-archive-orig-date: Sun, 04 Jan 2009 15:22:56 GMT
x-archive-orig-connection: close
x-archive-orig-set-cookie: _github_ses=BAh7BzoOcmV0dXJuX3RvIhkvaW5ib3gvbmV3L25ldGNhcnZlciIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--10efe19fdd5acf4ea12073a6b34013976d7d17e9; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
x-archive-orig-status: 200 OK
x-archive-orig-x-runtime: 294ms
x-archive-orig-etag: "e39b32e25c81ff3f71aa9f4ea9788590"
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 18288
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 04 Jan 2009 15:22:56 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Mon, 15 Sep 2008 08:59:02 GMT", ; rel="prev memento"; datetime="Tue, 21 Oct 2008 16:07:46 GMT", ; rel="memento"; datetime="Sun, 04 Jan 2009 15:22:56 GMT", ; rel="next memento"; datetime="Tue, 06 Jan 2009 04:35:46 GMT", ; rel="last memento"; datetime="Sat, 17 Aug 2024 06:34:49 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_7_20090104114541_crawl107-c/52_7_20090104152250_crawl103.arc.gz
server-timing: captures_list;dur=0.723282, exclusion.robots;dur=0.029294, exclusion.robots.policy;dur=0.013180, esindex;dur=0.014538, cdx.remote;dur=6.816505, LoadShardBlock;dur=74.804904, PetaboxLoader3.datanode;dur=92.231167, PetaboxLoader3.resolve;dur=86.401600, load_resource;dur=108.580180
x-app-server: wwwb-app225
x-ts: 200
x-tr: 261
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
tombagby's llvmruby at master — GitHub
We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Run the following if you haven't already:
gem sources -a https://gems.github.com
Install the gem(s):
sudo gem install tombagby-llvmruby
Description: | LLVM bindings for Ruby |
Homepage: | https://llvmruby.org |
Clone URL: |
git://github.com/tombagby/llvmruby.git
Give this clone URL to anyone.
git clone git://github.com/tombagby/llvmruby.git
|

Tom Bagby (author)
Wed Dec 24 15:24:16 -0800 2008
llvmruby /
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Sat Oct 18 16:49:55 -0700 2008 | Update README regarding build process + gemific... [tombagby] |
![]() |
COPYING | Wed Aug 20 21:34:50 -0700 2008 | First import [Tom Bagby] |
![]() |
README | Wed Dec 24 14:35:41 -0800 2008 | merge plessl changes, update to llvm 2.4, fix t... [Tom Bagby] |
![]() |
Rakefile | Sat Oct 18 13:27:23 -0700 2008 | merge gemify changes, fix up build and package ... [tombagby] |
![]() |
ext/ | Wed Dec 24 15:24:16 -0800 2008 | remove superfluous special definition of int_to... [Tom Bagby] |
![]() |
lib/ | Thu Oct 23 19:20:36 -0700 2008 | Implement LLVM::Value#type, LLVM::Type#to_s, LL... [macournoyer] |
![]() |
llvmruby.gemspec | Wed Dec 24 14:45:12 -0800 2008 | merge changes from miura, global variables and ... [Tom Bagby] |
![]() |
test/ | Wed Dec 24 14:45:12 -0800 2008 | merge changes from miura, global variables and ... [Tom Bagby] |
README
* What's LLVMRuby LLVMRuby is a set of bindings making the LLVM compiler infrastructure (https://llvm.org) usable from Ruby. This extention allows using LLVM as an abstract assembler and reflects a good chunk of the LLVM class hierarchy into Ruby. Included is an example of using this to build a simple JIT compiler, written entirely in Ruby, which is able to interact with the native Ruby 1.8/1.9 data types. * How to build Get LLVM 2.4 from https://llvm.org/releases/2.4/llvm-2.4.tar.gz and build it separately following their instructions. Make sure that you configure LLVM with PIC enabled: $ ./configure --enable-pic Add the llvm bin directory to your path, extconf needs to be able to find llvm-conf: $ export PATH=$PATH:/$LLVMDIR/Release/bin Run rake $ rake Run the tests (you will need Rake installed) $ rake test Look in test.rb to see examples of use and start messing around. The project was recently reorganized in gem format with Ruby files in lib, and C/CPP and extension in ext. You will need to either load the library as a gem or make sure that both lib and ext dirs are in your load path. * Caveats I primarily develop this on my home machine which is 64bit Fedora. I occasionally test it on a 32bit CentOS machine, and recently tested it on a 32bit MacBook. It built and passed tests with no issues. My knowledge of building either Ruby or LLVM on Windows is minimal. It should be doable, but I don't believe LLVM currently is usable with VC++, which is the main compiler for Ruby on Windows, so you may run into fun times trying to figure out a good way to make that go. * Things that definitely do not work right now No attempt has been made to properly free LLVM objects. This probably isn't hard, LLVM api has easy to deal with memory management. Many LLVM objects end up owned by modules/execution engine and shouldn't be freed normally anyway. There needs to be a lot more exception raising when arguments are of wrong number/type. Malformed LLVM functions will cause the program to abort, even just from calling verify on a module. This seems like a bug in LLVM. Verification in theory is slow and should be used only for debugging, but it would nice if tests did not abort and die because of missing block terminators or whatever. * Copying See the file COPYING * Author For questions or answers, my email is: tomatobagby@gmail.com
This feature is coming soon. Sit tight!