I've stumbled across a bug with the AOT compiler. Compiling the
following code causes an "Instruction does not dominate all uses!"
error from LLVM:
--*begin code*--
def test_method(a_hash)
a_hash.each{|k,v| puts "Key: #{k} and Value: #{v}"}
end
test_method({:hello => 'world'})
--*end cod
Hey all,
I got tired of constantly having to rebuild/reinstall LLVM, so I added
a facility to scrape the commands from the README and offer to run
them if llvm-config isn't found. I've attached the diff if anyone else
is interested (don't know that I'd recommend this for general use,
thou
Whoops! Small mistake in that last patch. Use this one:
llvm_build.diff
Description: Binary data
- Josh
On Aug 2, 2009, at 4:36 PM, Josh Ballanco wrote:
Hey all,
I got tired of constantly having to rebuild/reinstall LLVM, so I
added a facility to scrape the commands from the README
Hey Matt,
Just to add another data point, I've been using git-svn to interface
with a svn repo where some of my git branches are matched to svn
branches and others are not. In general, my workflow is:
# Make a branch in svn:
$ svn cp svn+ssh://path/to/trunk svn+ssh://path/to/branch/yaml_bra
Hey Conrad,
I was just looking at this last week. Some recent work on marshalling
landed on trunk recently (thanks Laurent!), which is one of the pieces
needed. The other major missing piece is zlib. I was looking at what
would be needed to port this to MacRuby. However, there is also Zliby
Well, a wonderful discovery that I made recently is that git-apply
doesn't, in fact, require that the destination you're applying a patch
to be a git repo. In other words, patches generated with git-format-
patch could be e-mailed to subversion repo maintainers and applied
with git-apply. Ju
I've been running tests in 32-bit mode, and I can confirm that this is
definitely a 32-bit issue.
- Josh
On Sep 27, 2009, at 2:27 PM, Art Taylor wrote:
I'm in the process of migrating an Objective-C project to MacRuby
(0.5 trunk) and am seeing this error when I run the application:
Asser
Hey Matt,
Something I'm working on is writing a Framework in Xcode, and using
MacRuby to test it. I'm running into some issues that I'm trying to
chase down (segfaults with bacon when loading frameworks), but there
were enough gottchas that I think this would make for a good little
recipe
Hey all!
So, as I've been working on a recipe for testing with MacRuby, I
realized that it would probably be good to discuss the topic of
"blessing" a particular test suite. Obviously, with macgem all of the
Ruby test suites are available to use, but for the purposes of
tutorials and what
Hi Ruben,
Using an Objective-C class in a MacRuby script is the first step in
both recipes currently posted to the MacRuby website (http://www.macruby.org/documentation.html
). Your choices are either to add a "dummy" Init_foo{} function and
make a foo.bundle from the class or compile the Ob
On Oct 29, 2009, at 12:48 PM, Ernest N. Prabhakar, Ph.D. wrote:
Hi Laurent,
On Oct 29, 2009, at 12:42 PM, Laurent Sansonetti wrote:
On Oct 29, 2009, at 12:39 PM, Ernest N. Prabhakar, Ph.D. wrote:
Hi Laurent,
On Oct 29, 2009, at 12:26 PM, Laurent Sansonetti wrote:
$ macruby -e "p MACRUBY_R
Hi Ruben,
On Oct 29, 2009, at 11:07 AM, Ruben Fonseca wrote:
Finally, as to your later question, there actually *is* a MacRuby
API for GCD currently in the 0.5 beta and nightly builds.
Yes I know. That's why I've asked if it makes sense to include more
wrappers to other C APIs into Macruby
def is_macruby?
defined? RUBY_ENGINE && RUBY_ENGINE == 'macruby'
end
Cheers,
Josh
On Dec 17, 2009, at 12:18 AM, Paul Howson wrote:
> Is there a way to test if code is running in MacRuby rather than Ruby? I'm
> developing and testing some code using plain old Ruby 1.8.7 in TextMate, then
>
Whoops...that's what I get for replying with untested code...
On Dec 18, 2009, at 12:14 PM, Paul Howson wrote:
> On 17/12/2009, at 6:21 PM, Josh Ballanco wrote:
>
>> def is_macruby?
>> defined? RUBY_ENGINE && RUBY_ENGINE == 'macruby'
>> end
>
Rich,
When you were downloading, building, and installing LLVM, did you follow the
instructions exactly as outlined in the README? LLVM has a plethora of
configuration options, and MacRuby currently works with a very specific svn
revision of the project.
Cheers,
Josh
On Jan 25, 2010, at 11:
Alexander,
See also, for example, the recipe on the MacRuby website for TDD. In that
recipe, a class created in Obj-C gets used from MacRuby.
- Josh
On Apr 28, 2010, at 2:17 PM, Alexander von Below wrote:
> Thanks a lot!
>
> I have looked at the EmbeddedRuby app, but I did not see the way "ba
On May 28, 2010, at 10:03 AM, Carl Lerche wrote:
> Hello,
Hi!
> I've been playing around with macruby a bunch and I hit a point of
> confusion. I basically did "".pack("H*") which returns a ruby
> string. This string is an ASCII-8BIT encoded ruby string which is an
> alias for a Binary strin
17 matches
Mail list logo