[MacRuby-devel] Building MacRuby r2765 with llvm r82747 failed on core duo macbook, Leopard AND about regexp with non-ASCII characters

hiroshi saito hiroshi3110 at gmail.com
Mon Oct 12 01:50:57 PDT 2009


Laurent, thanks for fixing the bignum issue. OK I'll continue.
After updating to r2782, my rubyc successfully compiled all of stdlib,
and WOW!, all of build task completed! Thanks!

One of my intention of building MacRuby 0.5 trunk by hand is checking
status of regular expression against non-ASCII characters.

As I wrote in the comment I'v left;
http://www.macruby.org/trac/ticket/94#comment:4

a very simple regular expression including a Japanese character
against a string contains same character doesn't match.

It's very important issue for us, Japanese, and, I suppose, other
non-ASCII character languages.

How about the status of supporting non-ASCII character?

On Mon, Oct 12, 2009 at 2:35 PM, Laurent Sansonetti
<lsansonetti at apple.com> wrote:
> On Oct 11, 2009, at 10:10 PM, Laurent Sansonetti wrote:
>>
>> In fact, this crash is because of a limitation in the AOT compiler, I
>> forgot to handle literal bignums.
>>
>> $ ./miniruby --emit-llvm foo omg -e "p 1267650600228229401496703205376"
>> unrecognized literal `1267650600228229401496703205376' (class `Bignum'
>> type 10)
>> Abort trap
>
> I fixed the problem in r2782.
>
> $ cat t.rb
> p 1267650600228229401496703205376
> $ macrubyc t.rb -o /tmp/t
> $ /tmp/t
> 1267650600228229401496703205376


More information about the MacRuby-devel mailing list