I'm not implementing copy at the moment as I lack knowledge. I might
just write the default open/while(){write}/close method for cases when
everything else fails.
BTW, it will go for File.pmc accordingly with Leo.
Joshua Juran wrote:
On Jan 11, 2006, at 7:02 PM, Chip Salzenberg wrote:
On We
Applied in r10855.
Thanks
Alberto
Bob Rogers wrote:
. . . depending on where Parrot is located. Mine is in
/usr/src/parrot, so the code expected /usr/xpto/parrot/src instead of
/usr/src/parrot/xpto . . .
-- Bob Rogers
I agree with Leo and think this should be just 1, so that we
can say that .String doesn't do any special conversions (or
try to explain which conversions it does do).
Yeah, I think you are right.
--
Alberto Simões - Departamento de Informática - Universidade do Minho
Campus de G
I would say 10 in both.
Leopold Toetsch wrote:
What is correct:
new P0, .PerlString
set P0, "1E5"
set I0, P0# 1 or 100_000
new P0, .String
set P0, "1E5"
set I0, P0# 1 or 100_000
leo, who would say 100_000 and 1 respectively.
--
Alberto Simões
The test failing is the number 13 (we all knew 14 need to be wrong :->)
Parrot Assembler via RT wrote:
Greetings,
This message has been automatically generated in response to the
creation of a parrotbug regarding:
"t/library/streams fails (test 14?)"
There is no need to reply to this m
Finally :-)
Leopold Toetsch wrote:
The opcode is currently implemented as $1 = 0.0 - $2; But this
is not the same as $1 = -$2 in the case of $2 being 0.0. The former
gives 0.0, the version with negate gives -0.0.
$ gcc -o neg -g neg.c && ./neg # [1] ppc, x86, amd64
0 - f = 0.00
- f
Christian Renz wrote:
Feel free to add your own, or fears you heard about!
Fear: Perl 6 will not attract enough interested developers and
companies to gain momentum. People will continue to be excited about
digital watches and PHP 5.
I think Perl 6 will take time to insterest developers. One
t/op/debuginfo.NOK 7# Failed test (t/op/debuginfo.t
at line 165)
# 'maximum recursion depth exceeded
# current instr.: 'main' pc 7 (/home/ambs/tmp/parrot/t/op/debuginfo_7.pir:2)
# called from Sub 'main' pc 7 (/home/ambs/tmp/parrot/t/op/debuginfo_7.pir:2)
#
I noticed that if you rsync instead of svn, the make smoke will not work.
Nick Glencross wrote:
Nick Glencross wrote:
Guys,
I have tried to submit a smoke from cygwin, but the server does not
accept the smoke file (which I've attached).
Can someone in-the-know about what criteria the serve
Not stoping.. just compiling the computed-gotos C file. It take s alot
of times, specially if you have a... old machine ;)
There is some way to turn that off.
Surelly someone will answer you soon with it :)
Kind regards,
Alberto
Vijay D. wrote:
Hi,
I was trying to install the latest Parrot. The l
ICU outdated
Joshua Gatcomb noted that the ICU that comes with Parrot is, not to put
too fine a point on it, old and buggy. The ICU developers have suggested
that Parrot move to version 3.0. Josh proposed various ways of doing
this. Leo wants ICU out of the Parrot CVS, but Dan's a
Hi,
again, updated parrot cvs and compiled. Some tests failed.
If they are known, ignore the message. If you need debug, and if I can
help, let me know.
Failed Test Stat Wstat Total Fail Failed List of Failed
---
I have been shooted with spam, and didn't notice this thread :-)
Does this means that parrot already binds/links to external libraries?
Thanks
Alb
chromatic wrote:
On Mon, 2004-02-02 at 07:57, Leopold Toetsch wrote:
How about examples/pni/sdl_blue_rectangle.imc?
Done.
I have a couple of other e
Huh! :-) Cool.
Thanks for the suggestions.
Alberto
Dan Sugalski wrote:
At 5:13 PM + 2/2/04, Alberto Manuel Brandão Simões wrote:
I have been shooted with spam, and didn't notice this thread :-)
Does this means that parrot already binds/links to external libraries?
Yup, has for qu
Hi
Apocalypses and Exegesis are not an 'official' specification for Perl6,
I mean, they are subject to change. Is there any idea when will we have
a freeze on the syntax and features for perl6?
Thanks,
Alberto
write at least one more Apocalypse :)
Cheers,
Alberto
On Thu, 2003-08-14 at 13:52, Dan Sugalski wrote:
> On 14 Aug 2003, Alberto Manuel Brandão Simões wrote:
>
> > Hi
> >
> > Apocalypses and Exegesis are not an 'official' specification for Perl6,
> > I me
On Thu, 2003-08-14 at 14:49, Simon Cozens wrote:
> [EMAIL PROTECTED] (Alberto Manuel Brandão simões) writes:
> > The question is simple, and Dan can have the same problem (or him or
> > Larry). I am thinking on a Perl 6 book in portuguese (maybe only a
> > tutorial... but
On Thu, 2003-08-14 at 15:19, Iain Truskett wrote:
> * Jonathan Scott Duff ([EMAIL PROTECTED]) [15 Aug 2003 00:16]:
>
> [...]
> > Besides you could always provide online updates to your book as the
> > language changes. The first (dead tree) edition would be the rough
> > cut, and later editions wo
ext of a technical document.
>
> How long till Ex 6 is online, for those of us who weren't there? :)
http://www.perl.com/lpt/a/2003/07/29/exegesis6.html ?
--
Alberto Manuel Brandão Simões <[EMAIL PROTECTED]>
Departamento de Informática - Universidade do Minho
On Wed, 2002-07-24 at 18:15, Aaron Sherman wrote:
> On Wed, 2002-07-24 at 12:34, Fisher Mark wrote:
> > > But then sometimes you'd *want* hashing to be based on the
> > > content.
> >
> > OK, I'll bite -- when would you want this behavior? This behavior means
> > that once you change the content
On Mon, 2002-07-22 at 09:36, [EMAIL PROTECTED] wrote:
> > Now, I ask for PMC programmers to take care implementing this! Notice
> > that, for example in arrays, arrays with the same length but different
> > elements should return different hash codes (or try). But for the same
> > elements MUST re
On Tue, 2002-07-23 at 09:27, Ashley Winters wrote:
> On Tuesday 23 July 2002 07:47 am, Alberto Manuel Brandão Simões wrote:
> > Now, I ask for PMC programmers to take care implementing this! Notice
> > that, for example in arrays, arrays with the same length but different
>
Resuming:
- Dan proposed an 'id' method returning an INTVAL;
- Brent Dax proposed to return a string;
- Nicholas Clark asked to return an unsigned value;
- Piers didn't like the 'id' name unless globally guaranteed to be
unique;
So, I propose another name (hash). Returning a string can be done
a
Dan, can we create this new vtable method? returning an integer (long
integer)... with name hashValue, or asHash.. or something else.
Alberto
On Mon, 2002-07-22 at 17:07, Leon Brocard wrote:
> Alberto Manuel Brandão Simões sent the following bits through the ether:
>
> > This me
# New Ticket Created by Alberto Manuel Brandão Simões
# Please include the string: [perl #15345]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=15345 >
A simple way to generate assemble.pl constants initializaiton us
# New Ticket Created by Alberto Manuel Brandão Simões
# Please include the string: [perl #15340]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=15340 >
While it can be thought as too simple and stupid PMC, it can be v
On Mon, 2002-07-22 at 14:05, Simon Cozens wrote:
> Alberto writes:
> > Finally, we need to hash PMC's. While I don't know what hash function
> > we should use
>
> Nor can you know, in the general case. Let PMCs hash themselves.
This means one more function to the vtable!
The value returned by th
Hi
On http://natura.di.uminho.pt/~albie/parrot/ I have some documents I've
been working in about PMC's:
* Array PMC
* Perl Array PMC
* Perl Hash PMC
* Perl String PMC
* Writing a PMC
Regarding the first four, I would appreciate PMC programmers to read
them and give ideas/sug
My last mail didn't have many answers, maybe this one makes people think
and give ideas...
RFC: Hashing PMC's
Current PerlHash implementation accepts PMC's as keys, as long as they
can be transformed into Strings. While this can be enough for many
cases
Hi
Some of you (Dan) knows that I'm working on a project to generate Parrot
code from a specification programming language.
On these language, data-structures are very similar with mathematical
constructs. I will need a finite mapping (or finite function) which maps
objects (any type) to object
Hi
On my usual place (http://natura.di.uminho.pt/~albie/parrot) I put some
more documentation:
- PerlString examples
- PMC Writting stub (will be, someday, a tutorial for writting PMC's.
Meanwhile, I'm learning how to write them :))
Regards
Alberto
--
Alberto Man
My suggestion is to add on vtable.tbl comment like
void set_integer_native(INTVAL value) # example: set P0, I0
void set_number_native(FLOATVAL value) # example: set P0, N0
and so on. Of course the content of the comment can be more descritive.
Then, I changed parse_vtable and genclass.pl to c
Well... emacs does not recognize .pmc files as any kind of known type.
I suggest to add a -*- c -*- comment on the generated files. For that, a
simple line can be added on genclass.pl:
Index: genclass.pl
===
RCS file: /cvs/public/
Hi!
Some simple (some other not so simple) suggestions to do on current
parrot source:
- make 'genclass.pl' put on the first line of the pmc file something
like '-*- c -*-' in a comment, to tell emacs we are editing c code.
- make 'genclass.pl' put a sample line of Parrot in comment before each
Hi
I've sent these files to Dan, but still didn't any answer. Meanwhile,
somebody can have some more time than he too look into these files.
They are POD's documenting PMC's (Arrays, PerlArrays and PerlHashes).
If you think they are interesting, put them on the doc dir for parrot,
and I'll do s
On Fri, 2002-07-12 at 08:34, Alberto Manuel Brandão Simões wrote:
>
> Hi.
>
> Using PerlArray PMC, if I use
>
> new P0, .PerlArray
> set P1, P0
>
> P1 becomes a 'pointer' to the same array as P0. Now the question is, and
> if I want a
Hi.
Using PerlArray PMC, if I use
new P0, .PerlArray
set P1, P0
P1 becomes a 'pointer' to the same array as P0. Now the question is, and
if I want a new copy? If all PerlArray elements are
integer/number/string I think that should be easy to do a loop to copy
all values. The qu
Hi.
Some questions I got when start looking to PMC's:
- Is there planned a set PMC? If not, a parrot application can't create
it's own PMC?
- There are PMC examples other than the test suite?
Thanks for the good work ;)
Alberto
--
Alberto Manuel B. Simoes
Departamento de Informática - Univer
Hi
I know the io.ops are not finished, but I started looking to them...
and my test parrot program was:
open P1 "test" "<"
if P1 LOAD
print "Error opening the file\n"
branch CLOSE
LOAD: close P1
CLOSE: end
Simple, huh? Well.. if the file test doe
If spaces delimit tokens,
/abc* def/ means in perl5
/abc*def/
or /(?:abc)*def/ ?
Thanks
Alberto
--
Alberto Manuel B. Simoes
Departamento de Informática - Universidade do Minho
http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net
On Mon, 2002-05-20 at 17:47, Dan Sugalski wrote:
> At 5:25 PM +0100 5/20/02, Alberto Manuel Brandão Simões wrote:
> >Directory Parrot on root cvs parrot tree was deleted by hand, or why
> >can't I update it?
>
> You're looking at the Parrot directory within
On Mon, 2002-05-20 at 17:58, Daniel Grunblatt wrote:
> On 20 May 2002, Alberto Manuel [ISO-8859-1] Brandão Simões wrote:
>
> >
> > Directory Parrot on root cvs parrot tree was deleted by hand, or why
> > can't I update it?
>
> It works fine for me.
Anonymous
Directory Parrot on root cvs parrot tree was deleted by hand, or why
can't I update it?
Thanks
Alberto
--
Alberto Manuel B. Simoes
Departamento de Informática - Universidade do Minho
http://alfarrabio.di.uminho.pt/~albie - http://numexp.sf.net
Hi, again!
Sorry but I didn't have the time to read all I should about parrot, but
this question can be usefull to know if I should continue looking at it,
or not... is parrot ready (or will be, soon) to use external libraries?
And another simple... can parrot be used as a filter? assembler x.p
On Tue, 2002-04-23 at 19:43, Dan Sugalski wrote:
> At 6:19 PM +0100 4/19/02, Alberto Manuel Brandão Simões wrote:
> >But, this e-mail is not to say this, but to request some kind of help.
> >I'm used to check-out, compile and test parrot, looked at the language
> >(well
Hi all!
I'm thinking to use Parrot to be the 'virtual machine' for a
specification language developed at Minho's university. Probably, it
will have two languages syntax (an for historic reasons, and another
(VDM-SL) because it is a standard). Why Parrot? Well.. I like perl and
would like to conn
On Tue, 2002-03-19 at 12:13, Andy Wardley wrote:
> I came across a nice picture of a parrot in New Scientist while riding
> the train home one night and it inspired me to sketch up a quick parrot
> logo. By chance, a new version of Photoshop landed on my desk the very
> next day, giving me the p
47 matches
Mail list logo