[ANN] TvmJIT

2013-07-12 Thread François Perrad
some experiment for generate TP from NQP, see https://gist.github.com/fperrad/5946991 Any feedback are welcome. François Perrad Note: At last month, I gave a talk at the French Perl Workshop 2013, the slides are available at https://sites.google.com/site/fperrad/YAP6I.pdf

Re: a more useful srand (was Re: r30369 - docs/Perl6/Spec/S32-setting-library)

2010-04-15 Thread François Perrad
for recent work: > > http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/SFMT/ MT19937 was ported on Parrot/PIR (currently hosted on http://github.com/fperrad/parrot-MT19937). But currently, Parrot lacks an entropy source. François > http://eprint.iacr.org/2006/086 > http://lcamtuf.coredump.cx/oldtcp/tcpseq.html > http://www.avatar.se/python/crng/index.html > > -- > Aaron Sherman > Email or GTalk: a...@ajs.com > http://www.ajs.com/~ajs >

Re: Build Rakudo with Distutils

2010-03-29 Thread François Perrad
2010/3/28 Andy Dougherty : > On Fri, 26 Mar 2010, Fran?ois Perrad wrote: > >> Find attached a script 'setup.nqp' for building/testing Rakudo. >> >> This library removes the dependences with Makefile & various make >> utilities, and remove the configure step. > > I tried this with today's parrot (r4

Build Rakudo with Distutils

2010-03-26 Thread François Perrad
em). The classic incantations are : $ parrot-nqp setup.nqp update $ parrot-nqp setup.nqp clean $ parrot-nqp setup.nqp build # build is the default target $ parrot-nqp setup.nqp test # or coretest $ parrot-nqp setup.nqp spectest $ parrot-nqp setup.nqp spectest_smolder # or smoke François

Another build system for Rakudo

2009-11-13 Thread François Perrad
examples of setup.pir are referenced in the head of the source of distutils.pir, see https://trac.parrot.org/parrot/browser/trunk/runtime/parrot/library/distutils.pir Plumage already handles setup.pir Obviously, setup.pir could be rewrite in setup.nqp François. setup.pir Description: Binary data

Re: [perl #60206] [BUG] [MMD] Segfault in Lua exception handler

2009-10-28 Thread François Perrad
2009/10/28 Will Coleda via RT : > On Wed Oct 29 10:30:54 2008, alli...@perl.org wrote: >> Original Message >> Subject: Re: Segfault in Lua exception handler >> Date: Sat, 11 Oct 2008 23:49:09 +0200 >> From: François Perrad >> >> 2008/10

Re: [perl #58990] [TODO] Design new spec coverage mechanism

2009-09-22 Thread François Perrad
olutely essential to our efforts.  No one has spoken up for it in a > year.  So, unless there is serious objection, I will close it within 7 days. > FYI, some existing tools (but not Perl) - FIT : http://fit.c2.com/ - FitNesse & Slim : http://fitnesse.org/ But, I don't know Pe

Re: Announce: Rakudo Perl 6 development release #21 ("Seattle")

2009-09-20 Thread François Perrad
2009/9/19 Moritz Lenz : > Hi, > > François Perrad wrote: >> 2009/9/17 jerry gay : >>> On behalf of the Rakudo development team, I'm pleased to announce >>> the September 2009 development release of Rakudo Perl #21 "Seattle". >>> Rakudo is

Re: Announce: Rakudo Perl 6 development release #21 ("Seattle")

2009-09-18 Thread François Perrad
2009/9/17 jerry gay : > On behalf of the Rakudo development team, I'm pleased to announce > the September 2009 development release of Rakudo Perl #21 "Seattle". > Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. > The tarball for the September 2009 release is available from

Re: Looking for help updating Perl 6 and Parrot part of Perl Myths talk

2009-09-16 Thread François Perrad
2009/9/16 Carl Mäsak : > Tim (>), Raphael (>>): >>> Some XML related stuff: >>> >>> XML parser: >>> http://github.com/fperrad/xml/ No Perl6. Only Parrot & PCT. François Perrad >>> >>> Tree manipulation: >>> http://gi

Re: Announce: Rakudo Perl 6 development release #20 ("PDX")

2009-08-20 Thread François Perrad
2009/8/20 Kyle Hasselbacher : > On behalf of the Rakudo development team, I'm pleased to announce > the August 2009 development release of Rakudo Perl #20 "PDX". > Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. > The tarball for the August 2009 release is available from >

Re: xml grammar

2009-08-05 Thread François Perrad
://github.com/fperrad/xml/ It's a pure Parrot implementation. The XML grammar (close to W3C REC) is written with PCT, ie. with Perl6 syntax François > > ---

Re: Announce: Rakudo Perl 6 development release #19 ("Chicago")

2009-07-23 Thread François Perrad
2009/7/23 Moritz Lenz : > On behalf of the Rakudo development team, I'm pleased to announce > the July 2009 development release of Rakudo Perl #19 "Chicago". > Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. > The tarball for the July 2009 release is available from > http:/

Re: Rakudo Perl 6 development release #18 ("Pittsburgh")

2009-06-19 Thread François Perrad
2009/6/19 Patrick R. Michaud : > > On behalf of the Rakudo development team, I'm pleased to announce > the June 2009 development release of Rakudo Perl #18 "Pittsburgh". > Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. > The tarball for the June 2009 release is available f

Re: Rakudo Perl 6 development release #17 ("Stockholm")

2009-05-21 Thread François Perrad
2009/5/21 Patrick R. Michaud : > On behalf of the Rakudo development team, I'm pleased to announce > the May 2009 development release of Rakudo Perl #17 "Stockholm". > Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine [1]. > The tarball for the May 2009 release is available from >

Parrot 1.1.0 "Half-moon Conure" Released!

2009-04-23 Thread François Perrad
On behalf of the Parrot team, I'm proud to announce Parrot 1.1.0 "Half-moon Conure." Parrot (http://parrot.org/) is a virtual machine aimed at running all dynamic languages. Parrot 1.1.0 is available on Parrot's FTP site, or follow the download instructions at http://parrot.org/download. For thos

Re: Rakudo on Vista

2009-04-06 Thread François Perrad
ackslashes to forward-slashes, and then > `mingw32-make` will work. i.e.: >CRITIC_FILES=Configure.pl t/harness build/ tools/ > Makefile is generated, so this modification will be lost. in build/Makefile.in, just insert a empty line between : CRITIC_FILES=Configure.pl t/harness build

Re: [perl #43691] [TODO] lex_source_files() collects lisp files as well but shouldn't

2009-03-23 Thread François Perrad
a list of >> > excemption dirs. >> > >> > I have no idea whether this workaround is good enough for closing this >> > ticket. >> >> Given that lisp files aren't going to be in the parrot core, I think >> handling this via exemption direc

Re: [perl #59968] [BUG] Calling Test::More sub after catching a div by zero exception segfaults

2009-03-22 Thread François Perrad
0x2300da0, sub=0x32ef78, > sig=0x12eddc8 "vP") at src/call/ops.c:321 > #24 0x01077d8e in Parrot_runcode (interp=0x2300da0, argc=1, argv=0xbfffee80) > at > src/embed.c:1011 > #25 0x012d2caf in imcc_run_pbc (interp=0x2300da0, obj_file=0, > output_file=0x0, argc=1, > argv=0xbfffee80) at compilers/imcc/main.c:798 > #26 0x012d3936 in imcc_run (interp=0x2300da0, sourcefile=0xbfffef5f > "foo.pir", argc=1, > argv=0xbfffee80) at compilers/imcc/main.c:1085 > #27 0x29b8 in main (argc=1, argv=0xbfffee80) at src/main.c:61 > The program is running. Exit anyway? (y or n) > > Look like https://trac.parrot.org/parrot/ticket/472 François. > > -- > Will "Coke" Coleda > ___ > http://lists.parrot.org/mailman/listinfo/parrot-dev > >

Re: [perl #42861] [BUG] config.pir broken in installed parrot

2009-03-22 Thread François Perrad
it works in both >> situations, but it seems to me it would be better to figure it out according >> to the real location of the runtime. >> >> Also, the runtime prefix is stored in the interpreter's IGLOBALS_CONFIG_HASH >> under the key "prefix&qu

Re: [perl #60986] Win32 package refuses to install if not run by an administrator

2009-02-01 Thread François Perrad
2009/2/1 James Keenan via RT : > My reading of the issues raised in this RT is that it's a > straightforward Win32 installation issue -- nothing specific to Parrot. > > Okay to close the ticket? +1 François > Thank you very much. > kid51 >

Re: [perl #60654] [DEPRECATED] Closure PMC

2009-02-01 Thread François Perrad
2009/2/1 James Keenan via RT : > Have we come to any consensus re the issues raised in this RT? in r33344, I merge LuaFunction & LuaClosure PMC. So now, Lua doesn't need Closure PMC. François. > > Thank you very much. > kid51 > __

Re: [perl #61286] [PATCH][PROPOSAL] box complements

2008-12-11 Thread François Perrad
he opcode 'box', I could rewrite the generation of : - ConstantInteger - ConstantFloat - ConstantString but not : - ConstantBoolean - ConstantNil That's seems not homogene. >> François. > > > -- > Will "Coke" Coleda > ___ > http://lists.parrot.org/mailman/listinfo/parrot-dev >

Re: Parrot 0.8.1 "Tio Richie" Released!

2008-11-19 Thread François Perrad
chromatic a écrit : On behalf of the Parrot team, I'm proud to announce Parrot 0.8.1 "Tio Richie." [1] Parrot is a virtual machine aimed at running all dynamic languages. As usual, the Windows setup is available on http://parrotwin32.sourceforge.net/ François.

[perl #60098] [BUG] "load_bytecode" couldn't find file 'P6object.pbc'

2008-10-25 Thread François PERRAD via RT
x27;make realclean' in build tree, it fails : D:\parrot-0.8.0-devel>bin\perl6 -v "load_bytecode" couldn't find file 'P6object.pbc' current instr.: 'onload' pc 0 (src/gen_builtins.pir:28) called from Sub 'parrot;Perl6;Compiler;main' pc -1 ((unknown file):-1) François.

[perl #58852] [PATCH] enhance tools/install/smoke.pl

2008-10-18 Thread François PERRAD via RT
arrotwin32.wiki.sourceforge.net/LaRecetteDuChef So, I agree to add some CLI options, but not to add dependence on specific Parrot-dev Perl modules. The following patch restores the initial behavior and preserves some CLI options. François. Index: tools/instal

Re: Revisiting lexicals, part 1

2008-09-27 Thread François Perrad
2008/9/24 Patrick R. Michaud <[EMAIL PROTECTED]>: > On Wed, Sep 24, 2008 at 12:09:37PM +0200, François Perrad wrote: >> Currently, the bigger issue in Lua on Parrot is lexical or upvalue in >> Lua jargon (the reason for Lua on Parrot is not really Lua). >> The followin

Re: Revisiting lexicals, part 1

2008-09-24 Thread François Perrad
creates ten closures (that is, ten instances of the anonymous function). Each of these closures uses a different y variable, while all of them share the same x. ]] With the current Parrot, I never found a way to do it. So, I'll be happy if this revisiting handles this issue. François. Pm

[perl #58812] Tcl Segfaults parrot

2008-09-13 Thread François PERRAD via RT
d about, though.) > The problem comes with src/hll.c r30847. See http://rt.perl.org/rt3/Ticket/Display.html?id=58636 François.

[perl #58636] Must Instantiate Class PMCs Before Using Them in HLL Mappings

2008-09-09 Thread François PERRAD via RT
db in imcc_run (interp=0x804f040, sourcefile=0xbfd146fb "languages/lua/lua.pbc", argc=1, argv=0xbfd13a98) at compilers/imcc/main.c:1039 #15 0x08048998 in main (argc=1, argv=0xbfd13a98) at src/main.c:61 François.

Name spaces of PIR identifiers

2008-09-02 Thread François Perrad
#x27;main' print L1 goto L1 L1: .end $ parrot label.pir error:imcc:syntax error, unexpected VAR, expecting IDENTIFIER or PARROT_OP ('L1') in file 'label.pir' line 5 The expected behavior is not defined in ppd19. François.

Re: [perl #47503] [RFC] Remove config::init::defaults From configure tests

2008-08-29 Thread François Perrad
2008/8/29 James Keenan via RT <[EMAIL PROTECTED]>: > This dependence has been eliminated from 20 of the 76 current > configuration step tests. More to come. > On MinGW32 (ie gcc on Win32), there are new failure since r30361 D:\fperrad\Parrot\trunk>perl t\steps\auto_msvc-01.t 1..39 ok 1 - use con

Re: gsoc_nci merge

2008-08-26 Thread François Perrad
Kevin Tew a écrit : The merge has happened. The following patch adds NCIGEN in the documentation (HTML generated). Note : needs a better title than 'Native Call Interface Generator'. François. Developers/Users should see no visible changes. Please build and test, should yo

Re: Windows visibility (was: Re: Parrot 0.7.0 "Severe Macaw")

2008-08-24 Thread François Perrad
in his search (but it's first for 'parrot win32'). >> >> I think we should improve that situation. Suggestions: >> >> 1) A link on http://www.parrotcode.org/source.html > > Sure. Already done since 2-3 months, see http://www.parrotcode.org/source.html#

Re: gsoc_nci merge

2008-08-22 Thread François Perrad
2008/8/22 Kevin Tew <[EMAIL PROTECTED]>: > The merge has happened. > The target 'hello' seems broken : src/exec_start.o: In function `set_nci_I': /home/fperrad/checkout/parrot/src/jit_emit.h:96: undefined reference to `Parrot_store_arg' src/exec_start.o: In function `set_nci_N': /home/fperrad/che

[perl #57668] [BUG][PATCH] Iterate through the current namespace causes a segfault

2008-08-12 Thread François PERRAD via RT
On Wed Aug 06 12:51:02 2008, fperrad wrote: > The patch contains a test case that exhibits the problem. > > François. Applied in r30181, as a TODO test. François.

[perl #57568] [PATCH][Lua] 4 bugfixes for the Lua language and test cases.

2008-08-04 Thread François PERRAD via RT
st case. Even the "Live > demo" > on lua.org: http://www.lua.org/cgi-bin/demo matches the output from my > three > computers. This patch updates the expected output file so it matches > the > output from the official Lua output. Applied with modification in r30009. The curr

Re: Merged pdd25cx branch

2008-08-03 Thread François Perrad
#x27;runargs' lua.pir:120 in function 'main' Now: $ ./parrot languages/lua/lua.pbc -e "error 'user_exception'" lua.pbc: _._:0: user_exception stack traceback: languages/lua/src/lib/luaaux.pir:920 in function 'docall' lua.pir:353 in function 'dostring' lua.pir:247 in function 'runargs' lua.pir:120 in function 'main' François. > > Allison > >

Re: [perl #57504] [PATCH][Lua] Fixed 64bit bug in Lua bytecode decoder/translator.

2008-08-03 Thread François Perrad
Thanks. Applied in r29937. Francois. 2008/8/1 Robert G. Jakabosky (via RT) <[EMAIL PROTECTED]>: > # New Ticket Created by Robert G. Jakabosky > # Please include the string: [perl #57504] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org/rt3/Ticket/Disp

Re: [perl #56800] [META] merge pdd25cx branch back into trunk

2008-08-03 Thread François Perrad
ion 'main' Now: $ ./parrot languages/lua/lua.pbc -e "error 'user_exception'" lua.pbc: _._:0: user_exception stack traceback: languages/lua/src/lib/luaaux.pir:920 in function 'docall' lua.pir:353 in function 'dostring' lua.pir:247 in function 'runargs' lua.pir:120 in function 'main' François.

OpenGL & Lua

2008-07-30 Thread François Perrad
too many PIR hand written. So I'll experiment another way in a branch opengl4lua. I want write a part (arguments checking & conversion) of the wrapper in Lua. François.

Re: HLLs needing OpenGL support

2008-07-23 Thread François Perrad
Geoffrey Broadwell a écrit : On Tue, 2008-07-22 at 09:03 +0200, François Perrad wrote: Ok, talking about libraries : Lua compiler & Lua Standard Libraries are complete (as far as the current Parrot supports it). So, since April 2008, I wrote some extension libraries for Lua Since

Re: [perl #56800] [META] merge pdd25cx branch back into trunk

2008-07-22 Thread François Perrad
François Perrad a écrit : Bernhard Schmalhofer via RT a écrit : In r29552 of https://svn.perl.org/parrot/branches/pdd25cx I ran make test for: pipp, eclectus, hq9plus, lazy-k, m4, unlambda. All tests were passing. in branch_pdd25cx, 221/1109 Lua subtests failed. Mostly for same reason

Re: HLLs needing OpenGL support

2008-07-22 Thread François Perrad
Geoffrey Broadwell a écrit : On Mon, 2008-07-21 at 09:34 +0200, François Perrad wrote: Geoffrey Broadwell a écrit : fperrad: How do these bindings actually work? There'll work with runtime/parrot/library/OpenGL.pir. OK ... so what could be improved about runtime/p

Re: HLLs needing OpenGL support

2008-07-21 Thread François Perrad
re'll work with runtime/parrot/library/OpenGL.pir. François. Everyone: We're getting to the stage that HLLs are starting to want common library access. Some of these already exist as more or less decent PIR bindings in /runtime/parrot/library/ ; others are either very incomplete or

Re: [perl #56800] [META] merge pdd25cx branch back into trunk

2008-07-17 Thread François Perrad
r for Lua is in languages/lua/src/lib/luaaux.pir (lines 775-823), with the function 'docall' and the closure 'traceback'. Missing data are retrieved with the methods 'where' & 'traceback' implemented in languages/lua/src/pmc/lua.pmc. How rewrites it in branch_pdd25cx ? François.

Re: [perl #56558] [PATCH] pdb rename to parrot_pdb

2008-07-17 Thread François Perrad
NotFound a écrit : After some discussion in #parrotsketch, the name parrot_debugger wins. Done in r29496, waiting for comments and fixes before closing the ticket. pdb was renamed parrot_debugger, but not installable_pdb. François.

Re: Parrot 0.6.4

2008-07-15 Thread François Perrad
Bernhard Schmalhofer a écrit : Hi, on behalf of the Parrot team, I'm proud to announce the release of Parrot 0.6.4 "St. Vincent Amazon." As usual, the Windows setup is available on http://parrotwin32.sourceforge.net/ François. Parrot 0.6.4 is available via CPAN, or foll

Re: [perl #37664] [TODO] create autogenerated files read-only

2008-07-13 Thread François Perrad
files that could be installed). François. > >-- Bob > > > 2008-07-12 17:28:24: > revision: 29361; author: rgrjr > [CORE] Make Emacs coda read-only in generate

[perl #56694] [PATCH] nullptr segfault in closure.pmc

2008-07-09 Thread François PERRAD via RT
anon :lex :lexid("10") :outer("") .param pmc vararg :slurpy .const .LuaString k_print = "print" .local pmc subr subr = interpinfo .INTERPINFO_CURRENT_SUB $P11 = subr.getfenv() set $P12, $P11[k_print] new $P13, "LuaString" set $P13, "hello" $P12($P13) .end Instead of : ... .sub "&start" :anon :main :lexid("11") ... .sub "&main_10" :anon :lex :lexid("10") :outer("11") ... Fixed in r29184. François.

Re: [perl #55842] [BUG] empty .const .String broken

2008-07-09 Thread François Perrad
chromatic a écrit : On Tuesday 08 July 2008 02:36:37 François PERRAD via RT wrote: This bug starts with r28354 (cache string). The cache don't handle empty string. Now, in Pipp (PHP), an empty string is used to stringify boolean False. // languages/pipp/src/pmc/phpboolean.pmc S

[perl #55842] [BUG] empty .const .String broken

2008-07-08 Thread François PERRAD via RT
This bug starts with r28354 (cache string). The cache don't handle empty string. Now, in Pipp (PHP), an empty string is used to stringify boolean False. // languages/pipp/src/pmc/phpboolean.pmc STRING* get_string() { if (PMC_int_val(SELF)) return const_string(INTERP, "1");

Re: [perl #43334] [TODO] config/auto/icu.pm: Write unit tests

2008-07-07 Thread François Perrad
-step=auto::icu'. Thanks. output with & without my patch. François. D:\fperrad\Parrot\trunk>prove -v t/steps/auto_icu*.t t/steps/auto_icu-011..81 ok 1 - use config::init::defaults; ok 2 - use config::auto::icu; ok 3 - init::defaults constructor returned defined value ok 4

Re: [perl #43334] [TODO] config/auto/icu.pm: Write unit tests

2008-07-07 Thread François Perrad
undef. The attached patch solves the issue. François. Thank you very much. kid51 Index: config/auto/icu.pm === --- config/auto/icu.pm (revision 29107) +++ config/auto/icu.pm (working copy) @@ -127,7 +127,9 @@

Re: Keep the 'keet Re: Renaming Plumhead

2008-06-15 Thread François Perrad
ge I liked the sentence: > > "Plum-headed Parakeet is a gregarious and noisy species with range of > raucous calls." > > This is definitly a good description of PHP. > +1 but currently no opinion for the best short-form. François. > > If what one wants is a short-f

Re: [perl #52894] [CAGE] use more File::Temp to avoid permission issues

2008-06-09 Thread François Perrad
mentioned > in an earlier post). > > François: If the patch attached works for you on Windows, you can apply > it to trunk. It works for me on Linux. > Ok, applied on r28206. François. > > kid51 >

Re: [perl #52894] [CAGE] use more File::Temp to avoid permission issues

2008-06-09 Thread François Perrad
is installed... step auto::perldoc died during execution: The fchmod function is unimplemented at config/auto/perldoc.pm line 42. On Windows, the Perl function 'chmod' works with filename (use POSIX chmod) but not the file handle (use POSIX fchmod). François.

Re: [perl #55332] [BUG] can't build parrot on win32 + strawberry perl

2008-06-08 Thread François Perrad
. But looks like a missing make dependence (keep old & bad values in all_cstring.str), because on Windows, unlink is not POSIX compliant : unlink on an opened file does nothing (now & after closing). Fix in r28165. François. > -- c > >

Re: [perl #55332] [BUG] can't build parrot on win32 + strawberry perl

2008-06-05 Thread François Perrad
1 2 0x0c4a string_init 1 4 0x003477f8 " string_init 2 3 0x000193b0 \x string_init 2 3 0x000193ad \u string_init 0 2 0x0c0c I suspect a problem in c2str.pl string only on Windows, something like a missing or bad binmode. François. kjs On Thu, Jun 5, 2008 at 10:38 AM, via RT Kla

Parsing Machine

2008-06-04 Thread François Perrad
: http://luaforge.net/projects/luapod/ François.

Re: [perl #54602] [PATCH] Several changes to allow C++ compiling

2008-06-04 Thread François Perrad
ailed as usual François.

Re: [perl #54602] [PATCH] Several changes to allow C++ compiling

2008-06-04 Thread François Perrad
- linking : OK - but execution crash : The procedure entry point Parrot_exec_rel_addr could not be located in the dynamic link library libparrot.dll On Ubuntu 8.04 (x86), r28047 : - linking : OK - but execution crash : symbol lookup error: ./examples/pasm/hello: undefined symbol: Parrot_e

Re: [perl #54602] [PATCH] Several changes to allow C++ compiling

2008-05-25 Thread François Perrad
x27; D:/fperrad/Parrot/trunk/src/jit_emit.h:171: undefined reference to `Parrot_exec_rel_addr' D:/fperrad/Parrot/trunk/src/jit_emit.h:171: undefined reference to `Parrot_exec_rel_count' src\exec_start.o: In function `emit_r_X': ... the attached patch fixes it. François. > > -- c > > hello.patch Description: Binary data

Re: Parrot 0.6.2 "Reverse Sublimation" Released!

2008-05-22 Thread François Perrad
arrot 0.6.2 "Reverse Sublimation." [1]Parrot is a virtual machine aimed at running all dynamic languages. The Windows setup is available on http://parrotwin32.sourceforge.net/ François. Parrot 0.6.2 is available via [2]CPAN (soon), or [3]follow the download instructions. For

Re: I need Windows OpenGL headers for study/testing

2008-05-19 Thread François Perrad
me information on : http://www.transmissionzero.co.uk/computing/using-glut-with-mingw/ http://www.xmission.com/~nate/glut.html I compiled with success the configure step, but not the full wrapper. François. -'f [1] No really, I need the full path globs. I'm actually parsing the heade

Re: [perl #53126] [TODO] config/auto/digest.pm: New config step needs rationale, lacks tests

2008-04-22 Thread François Perrad
be no impediment to reviewing the patch. Applied in r27116. François Thank you very much. kid51

Re: [perl #53126] [TODO] config/auto/digest.pm: New config step needs rationale, lacks tests

2008-04-21 Thread François Perrad
ts with auto::crypto. Now, I think the name gen::digest is not good. I prefer gen::crypto because : 1) same as auto::crypto 2) libcrypto contains cypher algo (not only digest), so we could add some PMC wrapper (for example : DES, ...) François. Thank you very much. kid51

Re: Parrot 0.6.1 "Bird of Paradise" Released

2008-04-16 Thread François Perrad
s setup is available on http://parrotwin32.sourceforge.net/ François. > > Parrot 0.6.1 can be obtained via CPAN (soon), or follow the > download instructions at http://parrotcode.org/source.html. > For those who would like to develop on Parrot, or help develop > Parrot itself,

The evolution of TGE

2008-04-15 Thread François Perrad
ed. I think that the support of NQP (action written in NQP, and NQP generation) will be a great improvement. By this way, TGE becomes a NQP preprocessor. Comments most welcome. François Perrad

Re: macro PIR needs

2008-04-14 Thread François Perrad
Original Message Subject: Re: macro PIR needs Date: Mon, 14 Apr 2008 18:03:44 +0200 From: François Perrad <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: jerry gay <[EMAIL PROTECTED]> References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EM

macro PIR needs

2008-04-14 Thread François Perrad
base64.pbc] Error 2 The notation $fname seems limited to local label (.label) and local variable (.macro_label). Are there any other notation? Or is this a new requirement? The attached patch is a full example for languages/lua/lib/base64.p

Re: [ANN] Lua on Parrot 0.6.0

2008-03-20 Thread François Perrad
Klaas-Jan Stol wrote: Hi François, lua on parrot seems to have improved a lot, indeed. It's looking really good. Some remarks: * is it possible to show the generated PIR? I can't get life.lua (included with lua distr.), and I'd like to see what's going on under the hood.

[ANN] Lua on Parrot 0.6.0

2008-03-19 Thread François Perrad
]). François Perrad.

Re: Parrot 0.6.0 "P&P" is released.

2008-03-19 Thread François Perrad
The Windows setup is available on http://parrotwin32.sourceforge.net/ François. Parrot 0.6.0 can be obtained via CPAN (soon), or follow the download instructions at http://parrotcode.org/source.html. For those who would like to develop on Parrot, or help develop Parrot itself, we recommend usin

Re: [perl #51838] [BUG] cygwin build fails

2008-03-18 Thread François Perrad
figure.pl with the option --without-crypto François. --- osname= cygwin osvers= 1.5.24(0.15642) arch= cygwin-thread-multi-64int cc= gcc --- Flags: category=core severity=critical ack=no --- It looks like the latest [digest] changes have somehow broken builds on cygwin. Here

Re: One Remaining WMLScript Test Failure

2008-03-18 Thread François Perrad
I dug into the code a bit, but nothing in the PMCs jumped out at me. Does this look at all familiar? Fix in r26471. François. -- c

Re: pdd17pmc branch review

2008-03-17 Thread François Perrad
chromatic wrote: On Monday 10 March 2008 07:24:44 François Perrad wrote: chromatic wrote: I fixed all of the compilation errors I could find as of r26285. 280 tests fail on the trunk for me and 308 fail on the branch, but they don't look like compilation errors or PDD 17 porting e

Re: pdd17pmc branch review

2008-03-10 Thread François Perrad
nches/pdd17pmc and check out the languages to see how they fare compared to their counterparts in trunk. With the attached patch, I try to fix build of dotnet. Now, all tests fail. François. Thanks! Index: languages/dotnet/pmc/managedpointe

Re: pdd17pmc branch review

2008-03-10 Thread François Perrad
chromatic wrote: On Friday 07 March 2008 02:22:58 François Perrad wrote: in r26261 with MinGW32, Lua PMCs seem OK (thank to chromatic). Several tests fail for me, but it looks like a problem with caller() in Lua, so it's probably beyond my expertise. It looks simpler to fix (if you

Re: pdd17pmc branch review

2008-03-10 Thread François Perrad
chromatic wrote: On Friday 07 March 2008 02:22:58 François Perrad wrote: but WMLScript PMCs don't compile : many error like .\wmlsinteger.pmc: In function `Parrot_WmlsInteger_subtract_WmlsString': .\wmlsinteger.pmc:251: error: void value not ignored as it ought to be I fixed

Re: pdd17pmc branch review

2008-03-07 Thread François Perrad
chromatic wrote: On Friday 07 March 2008 02:22:58 François Perrad wrote: in r26261 with MinGW32, Lua PMCs seem OK (thank to chromatic). Several tests fail for me, but it looks like a problem with caller() in Lua, so it's probably beyond my expertise. It looks simpler to fix (if you

Re: pdd17pmc branch review

2008-03-07 Thread François Perrad
Will Coleda wrote: I wanted to call attention to part of today's Parrot Sketch: - Otherwise, the PMC branch is ready for language testing, will plan to merge it back into trunk next weekend. So, language developers (and others); please grab a copy of https://svn.perl.org/parrot/branches/pdd17p

Re: Parrot 0.5.2 Released

2008-01-16 Thread François Perrad
rl6.exe for the first time. François. Parrot 0.5.2 can be obtained via CPAN (soon), or follow the download instructions at http://parrotcode.org/source.html. For those who would like to develop on Parrot, or help develop Parrot itself, we recommend using Subversion or SVK on the source code reposi

Re: headerizer and src/atomic/gcc_x86.c

2008-01-07 Thread François Perrad
Allison Randal wrote: François and I have been writing over each other's commits on src/atomic/gcc_x86.c, so before I edit again, let's figure out the right way to edit. Andy, the headerizer dies with an error when src/atomic/gcc_x86.c has two functions that are marked with both

Re: [perl #48735] [DEPRECATED] :: in PIR identifiers

2007-12-21 Thread François Perrad
Klaas-Jan Stol via RT wrote: On Sun Dec 16 21:11:34 2007, coke wrote: From PDD 19: NOTE: The use of C<::> in identifiers is deprecated. what exactly does this mean? In Lua, I started to replace (see r23367) : [ 'Lua::io' ] by [ 'Lua'; 'i

Re: Parrot 0.5.1 "Hatachi" Released!

2007-12-19 Thread François Perrad
e2past.tg:292) called from Sub '_main' pc 3 (src\tclsh.pir:36) not ok 22 - check tcl # TODO missing file ? # Failed (TODO) test 'check tcl' # at tools\install\smoke.pl line 179. C:\parrot-0.5.1> François. Parrot 0.5.1 can be obtained via CPAN (soon), or follow the dow

Re: [perl #48657] [Bug][Lua] Recent changes broke languages/lua

2007-12-18 Thread François Perrad
tch fixes it. But I don't understand why now I must duplicate the declaration of the token 'ws' in lua51_testlex.pg grammar ; previously this token was imported for lua51.pg (the full Lua Grammar). François. Pm Index: languages/lua/src/lua51_testlex.pg ===

Re: [ANN] SF parrot win32

2007-12-10 Thread François Perrad
Xiao Yafeng wrote: Cool! But if it could include doc would be better. Many doc are available in share/doc/parrot/docs (POD format). François. On Dec 5, 2007 11:38 PM, François Perrad <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I have no personal web site, so

Re: [ANN] SF parrot win32

2007-12-10 Thread François Perrad
e to update an environment also? I've found the problem. Don't install Parrot in C:\Program Files\parrot-0.5.0-devel (the proposed path). You must install Parrot in C:\usr\local\parrot-0.5.0 (the letter drive could be change). I've generated P

Re: [ANN] SF parrot win32

2007-12-07 Thread François Perrad
o update an environment also? We have thousand tests in build tree, but nothing for testing install tree. So, there are missing part. Now, I append a new tools/install/smoke.pl. setup-parrot-0.5.0 is good for only running PIR file, I hope 0.5.1 all

[ANN] SF parrot win32

2007-12-05 Thread François Perrad
. François Perrad.

Lua on Parrot @ FPW'07

2007-11-26 Thread François Perrad
I gave a talk at the French Perl Workshop last week. The subject was : Languages Implementation with Parrot - A study case: Lua on Parrot. Now, it's available on http://www.parrotcode.org/talks/LuaOnParrot.pdf François.

Re: pdd19 comments

2007-11-05 Thread François PERRAD
At 17:18 02/11/2007 -0400, you wrote: François PERRAD wrote: just few comments about pdd19 : 1) Directive .namespace .namespace is currently valid, and I understand its behavior as : back to the default It's in the docs for IMCC (docs/imcc/calling_conventions.pod), but not in

pdd19 comments

2007-10-31 Thread François PERRAD
sub 'main' .const .String empty = '' print empty print "ok\n" .end François.

Re: [perl #46007] [CAGE] licensing cleanup

2007-10-29 Thread François PERRAD
Yapp::Driver is included (with its copyright) in Grammar.pm. Without this option, only a line "use Parse::Yapp::Driver;" is inserted in Grammar.pm. The constraint is now you need to install Parse::Yapp when you want use the generated file. François. compilers/imcc/imcc.y, compilers/im

pdd15 conversion of Lua

2007-10-26 Thread François PERRAD
The conversion of Lua is ended. The main issue was with the grammar parser : Lua keywords were recognized as identifier. I solve it by renaming the rule 'name' to 'Name' (r22499). This rule is defined in lua/src/lua51.pir and used by lua/src/lua51.pg So, that sounds strange. François.

pdd15 conversion problem in PMC

2007-10-23 Thread François PERRAD
;Parrot::Coroutine' coro = coro_class.'new'('initial_sub' => coro_sub) So, how translate it in PMC ? Thank for help. François.

Some feedbacks from Lua experience

2007-10-03 Thread François PERRAD
dule for compiler Many languages use regex, but few store regex in variable, so all others need a Memoize mecanism (well-known optimization) that store the result of the compilation. 3) learning curve It's not easy to learn all things needed by language implementation in Parrot. There are a lot of knowledges : - Parrot infrastructure (configuration tools, test environment) - PIR - PMC - PGE, TGE, ... So, in a first step, I write a compiler with Perl & yapp that generates PIR, after I add a Lua runtime library, and finally I write in PIR (with PGE/TGE) a compiler. That's all for this time. François.

Re: [ANN] Lua on Parrot 0.4.16

2007-09-21 Thread François PERRAD
At 11:40 19/09/2007 -0700, chromatic wrote: On Wednesday 19 September 2007 09:58:56 François PERRAD wrote: > Any comments, suggestions, bug report, test, improvement are welcome on > Parrot mailing list ([EMAIL PROTECTED]). Two tests fail reliably for me on x86 GNU/Linux, and one fails n

Re: [ANN] Lua on Parrot 0.4.16

2007-09-20 Thread François PERRAD
benchmarks, for me, it's more test case. Regards. François. Umm, before I make a fool of myself over there ... I've tested this with a few benchmarks. So, maybe I'm missing something essential, but why does --jit-core *slow down* things (5%-10% slower than --computed-goto-core)? An

  1   2   >