http://qs321.pair.com?node_id=1068931

Howdy Monks,

After many months of effort, I'm proud to release the beta version of RPerl v1.0, now available for public download at Github:

https://github.com/wbraswell/rperl/

As we lead up to full RPerl v1.0 official release, I'll continue posting regular status updates on Facebook:

https://www.facebook.com/wnbjr

I say this is "beta" because it can only compile "Hello, World" so far! But we have working data-types support, and it is relatively easy for me to finish up the rest of the control structures and basic operators to get the full RPerl v1.0 release out soon.

This is all thanks to y'all!

Perling,
~ Will the Chill, rperl.org & austin.pm
  • Comment on Perl 5 Optimizing Compiler, Part 11: RPerl v1.0 Beta Released!

Replies are listed 'Best First'.
Re: Perl 5 Optimizing Compiler, Part 11: RPerl v1.0 Beta Released! (eval Inline)
by Anonymous Monk on Jan 03, 2014 at 13:07 UTC

    Hi :)

    This one is weird

    perl -Mblib t\03_inline_cpp.t # Error. You have specified 'CPP' as an Inline programming language. # # I currently only know about the following languages: # C ... tests failing because of above failure ...

    I say weird because it is installed

    $ mversion Inline::CPP 0.46

    If i put that class into farmerbob.pl it compiles just fine into farmerbob_pl_4971

    So maybe Inline doesn't like being eval{} ed

      I see the problem, you included both Inline,Inline::C in your lib directory --- not good , remove that stuff its interfering with the existing stuff :)

      Now I get Free to wrong pool 3f5d18 not b01ca at t\03_inline_cpp.t line 77 which is all cpp stuff :)

        Howdy Anonymous Monk,

        This is an ongoing issue we're having related to Inline::Filters, Inline::CPP, etc. It is, in fact, our official 1st issue filed in Github by Shlomi Fish:

        https://github.com/wbraswell/rperl/issues/1

        We're working to sort it all out ASAP, please check back soon. Thanks!

        Perling,
        ~ Will the Chill
Re: Perl 5 Optimizing Compiler, Part 11: RPerl v1.0 Beta Released!
by wazoox (Prior) on Jan 16, 2014 at 17:36 UTC
    I still don't really know where to go from there:

    So I'm firing up the test suite as asked and then...

    /usr/bin/perl5.18.1 -MExtUtils::Command::MM -e 'cp_nonempty' -- eval_7 +04_d115.bs blib/arch/auto/eval_704_d115/eval_704_d115.bs 644 Running Mkbootstrap for eval_704_d115 () chmod 644 eval_704_d115.bs Files found in blib/arch: installing files in blib/lib into architectu +re dependent library tree Installing /home/emmanuel/dev/git/rperl/_Inline/lib/auto/eval_704_d115 +/eval_704_d115.so sh : ligne 1 : 12295 Erreur de segmentation perl -Ilib t/08*.t 2> /de +v/null
    Here we are. Running Slackware 14.1, standard perl installation.
      wazoox,

      Thanks for your interest in RPerl!

      It looks like you're passing the first 3 test files, then failing on the 4th test, which is where we actually start to use RPerl data types.

      Please try to run this command and post the output:

      rm -Rf _Inline/; reset; perl -Ilib t/04_type_scalar.t

      You may also choose to join us in #perl11 on irc.perl.org where Reini Urban, bulk88, and other RPerl people hang out. I'm not always online 24/7, but when I am online I may be able to give you somewhat faster feedback than through Perl Monks. Either way works fine for me! :-)

      Perling,
      ~ Will the Chill
        OK, here are the results:
        # # [[[ Beginning Scalar Type Pre-Test Loading, RPerl Type System ]]] # ok 1 - use RPerl; ok 2 - use parent ('RPerl'); ok 3 - use Data::Dumper; ok 4 - our $AUTOLOAD; sub AUTOLOAD {...} ok 5 - use RPerl::DataType::Integer_cpp; ok 6 - use RPerl::DataType::Number_cpp; ok 7 - use RPerl::DataType::String_cpp; in Array.pm, loading C++ helper functions for type-checking... in HelperFunctions_cpp::cpp_load(), have $RPerl::HelperFunctions_cpp:: +CPP_LOADED = '0' validate Stage Starting Build Preprocess Stage get_maps Stage Finished Build Preprocess Stage Starting Build Parse Stage Finished Build Parse Stage Starting Build Glue 1 Stage Finished Build Glue 1 Stage Starting Build Glue 2 Stage Finished Build Glue 2 Stage Starting Build Glue 3 Stage Finished Build Glue 3 Stage Starting Build Compile Stage Starting "perl Makefile.PL" Stage Generating a Unix-style Makefile Writing Makefile for eval_652_d115 Writing MYMETA.yml and MYMETA.json Finished "perl Makefile.PL" Stage Starting "make" Stage Running Mkbootstrap for eval_652_d115 () chmod 644 eval_652_d115.bs /usr/bin/perl5.18.1 /usr/share/perl5/ExtUtils/xsubpp -typemap "/usr/s +hare/perl5/ExtUtils/typemap" -typemap "/home/emmanuel/dev/git/rperl/l +ib/typemap.rperl" eval_652_d115.xs > eval_652_d115.xsc && mv eval_6 +52_d115.xsc eval_652_d115.c g++ -c -I"/home/emmanuel/dev/git/rperl/t" -Ilib -Wno-deprecated -std= +c++0x -Wno-reserved-user-defined-literal -O2 -march=i486 -mtune=i686 + -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/usr/lib/perl5/CO +RE" eval_652_d115.c In file included from /usr/lib/perl5/CORE/perl.h:3476:0, from eval_652_d115.xs:11: /usr/lib/perl5/CORE/pad.h:146:19: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] Perl_croak(aTHX_ "panic: illegal pad in %s: 0x%"UVxf"[0x%"UVxf"]",\ ^ /usr/lib/perl5/CORE/pad.h:146:54: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] Perl_croak(aTHX_ "panic: illegal pad in %s: 0x%"UVxf"[0x%"UVxf"]",\ ^ /usr/lib/perl5/CORE/pad.h:153:19: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] Perl_croak(aTHX_ "panic: invalid pad in %s: 0x%"UVxf"[0x%"UVxf"]",\ ^ /usr/lib/perl5/CORE/pad.h:153:54: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] Perl_croak(aTHX_ "panic: invalid pad in %s: 0x%"UVxf"[0x%"UVxf"]",\ ^ /usr/lib/perl5/CORE/pad.h:323:8: attention : invalid suffix on literal +; C++11 requires a space between literal and identifier [-Wliteral-su +ffix] "Pad 0x%"UVxf"[0x%"UVxf"] set_cur depth=%d\n", \ ^ /usr/lib/perl5/CORE/pad.h:323:21: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] "Pad 0x%"UVxf"[0x%"UVxf"] set_cur depth=%d\n", \ ^ /usr/lib/perl5/CORE/pad.h:341:8: attention : invalid suffix on literal +; C++11 requires a space between literal and identifier [-Wliteral-su +ffix] "Pad 0x%"UVxf"[0x%"UVxf"] save_local\n", \ ^ /usr/lib/perl5/CORE/pad.h:341:21: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] "Pad 0x%"UVxf"[0x%"UVxf"] save_local\n", \ ^ /usr/lib/perl5/CORE/pad.h:349:8: attention : invalid suffix on literal +; C++11 requires a space between literal and identifier [-Wliteral-su +ffix] "Pad 0x%"UVxf"[0x%"UVxf"] restore_local\n", \ ^ /usr/lib/perl5/CORE/pad.h:349:21: attention : invalid suffix on litera +l; C++11 requires a space between literal and identifier [-Wliteral-s +uffix] "Pad 0x%"UVxf"[0x%"UVxf"] restore_local\n", \ ^ In file included from eval_652_d115.xs:11:0: /usr/lib/perl5/CORE/perl.h:4257:8: attention : invalid suffix on liter +al; C++11 requires a space between literal and identifier [-Wliteral- +suffix] INIT("Use of uninitialized value%"SVf"%s%s"); ^ /usr/lib/perl5/CORE/perl.h:4277:8: attention : invalid suffix on liter +al; C++11 requires a space between literal and identifier [-Wliteral- +suffix] INIT("Modification of non-creatable hash value attempted, subscript + \"%"SVf"\""); ^ eval_652_d115.c:212:26: attention : invalid suffix on literal; C++11 r +equires a space between literal and identifier [-Wliteral-suffix] Perl_croak(aTHX_ "Usage: CODE(0x%"UVxf")(%s)", PTR2UV(cv), pa +rams); ^ cc1plus: attention : option "-Wno-reserved-user-defined-literal" de la + ligne de commande non reconnue [enabled by default] rm -f blib/arch/auto/eval_652_d115/eval_652_d115.so LD_RUN_PATH="/usr/lib" cc -shared -O2 -march=i486 -mtune=i686 -L/usr/ +local/lib -fstack-protector eval_652_d115.o -o blib/arch/auto/eval_6 +52_d115/eval_652_d115.so \ -lstdc++ \ chmod 755 blib/arch/auto/eval_652_d115/eval_652_d115.so /usr/bin/perl5.18.1 -MExtUtils::Command::MM -e 'cp_nonempty' -- eval_6 +52_d115.bs blib/arch/auto/eval_652_d115/eval_652_d115.bs 644 Finished "make" Stage Starting "make install" Stage Running Mkbootstrap for eval_652_d115 () chmod 644 eval_652_d115.bs Files found in blib/arch: installing files in blib/lib into architectu +re dependent library tree Installing /home/emmanuel/dev/git/rperl/_Inline/lib/auto/eval_652_d115 +/eval_652_d115.so Finished "make install" Stage Starting Cleaning Up Stage Finished Cleaning Up Stage Finished Build Compile Stage Had problems bootstrapping Inline module 'eval_652_d115' Not a CODE reference at /usr/lib/perl5/DynaLoader.pm line 213. END failed--call queue aborted at (eval 733) line 213. at (eval 652) line 4. BEGIN failed--compilation aborted at (eval 652) line 21. at lib/RPerl/DataStructure/Array.pm line 23. INIT failed--call queue aborted. # Tests were run but no plan was declared and done_testing() was not s +een. # Looks like your test exited with 2 just after 7.
        Unfortunately I won't be able to be on IRC until tomorrow.