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
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
>
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
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
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
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
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
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
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
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
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
>
://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
>
> ---
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:/
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
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
>
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
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
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
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
>
>
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
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
>
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
> __
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
>
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.
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.
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
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
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
d about, though.)
>
The problem comes with src/hll.c r30847.
See http://rt.perl.org/rt3/Ticket/Display.html?id=58636
François.
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.
#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.
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
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
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#
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
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.
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
#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
>
>
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
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.
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.
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
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
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'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
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.
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.
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
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
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.
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
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");
-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
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 @@
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
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
>
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.
.
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
>
>
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
: http://luaforge.net/projects/luapod/
François.
ailed as usual
François.
- 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
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
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
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
be no impediment to reviewing the patch.
Applied in r27116.
François
Thank you very much.
kid51
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
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,
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
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
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
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.
]).
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
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
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
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
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
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
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
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
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
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
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
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
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
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
===
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
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
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
.
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.
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
sub 'main'
.const .String empty = ''
print empty
print "ok\n"
.end
François.
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
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.
;Parrot::Coroutine'
coro = coro_class.'new'('initial_sub' => coro_sub)
So, how translate it in PMC ?
Thank for help.
François.
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.
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
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 - 100 of 188 matches
Mail list logo