Juergen Boemmels wrote:
>
> Leopold Toetsch <[EMAIL PROTECTED]> writes:
>
> > Benjamin Goldberg <[EMAIL PROTECTED]> wrote:
> >
> > > #define PARROT_DECLARE_STATIC_STRING(name, cstring) \
> >
> > [ big snip ]
> >
> > While Juergen's original or your proposal are fine, they don't work
> > (or not
Dan Sugalski wrote:
>
> I've talked about this before and generally I've assumed that people
> know what I'm talking about, but that's not true anymore, so an
> explanation of this is in order.
>
> "Active Data" is data that takes some active role in its
> use--reading, writing, modifying, deleti
d:\build\parrot\include\parrot\interpreter.h(40) : error C2040:
'Parrot_Interp' : 'struct Parrot_Interp *' differs in levels of indirection
from 'struct Parrot_Interp'
My compiler doesn't like the following:
typedef struct Parrot_Interp *Parrot_Interp;
in interpreter.h. It's a blame practice jus
In honor of Schwern,
Refactoring: good!
Testing is even better
QA is job 1
Zach
On 8/27/03 4:14 PM, "Michael G Schwern" <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 28, 2003 at 12:11:12AM +0100, Nicholas Clark wrote:
>> I'm not convinced this is very good. But I believe that it is an accurate
>> mi
> can people please test, if the program below compiles cleanly now:
It doesn't. MSVC++ aint' happy when * is at back of a name.
> static const char PCONCAT(name,_cstring) * = cstring;
this
static const char *PCONCAT(name,_cstring) = cstring;
would be okay.
Shimmer in distance:
Floor wax *and* dessert topping!
Shine will be tasty.
--
Chip Salzenberg - a.k.a. - <[EMAIL PROTECTED]>
"I wanted to play hopscotch with the impenetrable mystery of existence,
but he stepped in a wormhole and had to go in early." // MST3
Vladimir Lipskiy <[EMAIL PROTECTED]> wrote:
> My compiler doesn't like the following:
> typedef struct Parrot_Interp *Parrot_Interp;
Weh sould do something like:
s/struct Parrot_Interp\s*\*/Parrot_Interp/g
at feature-freeze time before the upcoming release, when no big patches
should b
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> Most objects in Parrot will be dealt with by reference,
Dou you have anything about references? I'm thinking about putting in a
default C PMC class, which delegates almost all its methods to
Ccache.pmc_val>, autogenerated inside pmc2c.pl.
>
Benjamin Goldberg <[EMAIL PROTECTED]> wrote:
> Leopold Toetsch wrote:
>>
>> We currently have constant Key and Sub PMCs both created from the
>> packfile at load time. They live in the constant_table pointing to a
>> constant PMC pool. But we need more.
>>
>> We have allover the core code like thi
Nicholas Clark <[EMAIL PROTECTED]> wrote:
> Perl internals slow,
> nigh on unmaintainable.
> So we write parrot.
Parrots circling
above a young ponie.
Camel in desert.
> Nicholas Clark
leo
My haiku, compiled with -debug
based on the instructions :
http://www.toyomasu.com/haiku/
this is even contain a seasonal reference to the thought's blossoming
in spring.
11 1 2= 5
The Mind looks inside :
2111 2 = 7
Hi all,
Can any one tell me as how should I source a file. Which exports environment
variable? Something like this...
FileName= ".myenv"
-
#! /usr/local/bin/bash
export var1; va1=/u/janarthp/perl
export var2; va2=/u/janarthp/perl
Why on Earth are you directing this question here? The perl6-internals
mailing list is about the internals of the new Perl6 implementation.
++Jos.nl
On Fri, Aug 29, 2003 at 03:05:35PM +0530 it came to pass that Janarthanan, Prassana
wrote:
> Hi all,
>
> Can any one tell me as how should I sourc
I have sent this here by mistake.
Sorry for the spam.
-Original Message-
From: Jos Visser [mailto:[EMAIL PROTECTED]
Sent: Friday, August 29, 2003 3:09 PM
To: Janarthanan, Prassana
Cc: '[EMAIL PROTECTED]'
Subject: Re: Hi all
Why on Earth are you directing this question here? The perl6-i
Tracing through Parrot programs shows the type and value of variables.
This doesn't work very well for PMCs, trace_pmc_dump() tries to extract
some info from the PMC, but much better would it be, if the PMC itself
can return a string representation of itself.
STRING* dump(INTERP, SELF, STRING *
I have checked in a small change:
- B(in INT) throws an exception with severity C and
the given exit status.
- the system itself doesn't through such an exception on runloop exit
yet, this would need classifying exception handlers, so that not
arbitrary user handlers would catch this exception,
On Fri, Aug 29, 2003 at 01:29:18PM +0200 it came to pass that Leopold Toetsch wrote:
> I'd like to change the startup parameters too: move the ARGV array from
> P0 to P5. This would allow main to be:
>
> .pcc_sub _main prototyped
>.param SArray ARGV
>.local int ARGC
>ARGC = ARGV
>
"Vladimir Lipskiy" <[EMAIL PROTECTED]> writes:
> d:\build\parrot\include\parrot\interpreter.h(40) : error C2040:
> 'Parrot_Interp' : 'struct Parrot_Interp *' differs in levels of indirection
> from 'struct Parrot_Interp'
>
> My compiler doesn't like the following:
>
> typedef struct Parrot_Inter
Leopold Toetsch <[EMAIL PROTECTED]> writes:
> Tracing through Parrot programs shows the type and value of
> variables. This doesn't work very well for PMCs, trace_pmc_dump()
> tries to extract some info from the PMC, but much better would it be,
> if the PMC itself can return a string representati
Juergen Boemmels <[EMAIL PROTECTED]> wrote:
> Leopold Toetsch <[EMAIL PROTECTED]> writes:
>> STRING* dump(INTERP, SELF, STRING *, INTVAL flags);
> what is the STRING * parameter good for. I assume lineheaders.
The place, where to append SELF.dump. Appending doesn't consume a new
header for each
Leopold Toetsch <[EMAIL PROTECTED]> writes:
> Juergen Boemmels <[EMAIL PROTECTED]> wrote:
> > Leopold Toetsch <[EMAIL PROTECTED]> writes:
>
> >> STRING* dump(INTERP, SELF, STRING *, INTVAL flags);
>
> > what is the STRING * parameter good for. I assume lineheaders.
>
> The place, where to appen
On Fri, 29 Aug 2003, Leopold Toetsch wrote:
> Tracing through Parrot programs shows the type and value of variables.
> This doesn't work very well for PMCs, trace_pmc_dump() tries to extract
> some info from the PMC, but much better would it be, if the PMC itself
> can return a string represent
On Fri, 29 Aug 2003, Leopold Toetsch wrote:
> Dan Sugalski <[EMAIL PROTECTED]> wrote:
> > I think we'd be better served getting the freeze/thaw stuff in and
>
> We were just discussing this in the f'up.
I read those, but I wanted to make sure the discussion went this way. :)
> > If we make the
Leopold Toetsch:
# I'd like to change the startup parameters too: move the ARGV array
from
# P0 to P5.
Agreed on my end, at least--though I suspect the approval you really
need is Dan's. I'll let you apply this when he does.
--Brent Dax <[EMAIL PROTECTED]>
Perl and Parrot hacker
"Yeah, and my
[EMAIL PROTECTED]:
# I further don't know if its is a good idea to hide the pointer
# character of a type in the typedef, like in
#
# typedef struct Parrot_Interp *Parrot_Interp;
Parrot_Interp (the typedef) is intended to be used only in
embedding/extending code. There, I've dictated (with my no
yOn Fri, 29 Aug 2003, Leopold Toetsch wrote:
> I have checked in a small change:
> - B(in INT) throws an exception with severity C and
> the given exit status.
I think we might want to go a little further than this, but it's fine for
now. We can extend it with B(in PMC) later.
> - the system i
Brent Dax wrote:
Leopold Toetsch:
# I'd like to change the startup parameters too: move the ARGV array
from
# P0 to P5.
Agreed on my end, at least--though I suspect the approval you really
need is Dan's. I'll let you apply this when he does.
Thanks.
-interpreter->pmc_reg.registers[0] = user
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> On Fri, 29 Aug 2003, Leopold Toetsch wrote:
>> Dan Sugalski <[EMAIL PROTECTED]> wrote:
>>
>> We were just discussing this in the f'up.
> I read those, but I wanted to make sure the discussion went this way. :)
Fine :-)
>> Pluggable implies a dump() vtab
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> I think we'd be better served getting the freeze/thaw stuff in and
We were just discussing this in the f'up.
> teaching the debugger how to dump a frozen PMC. This'll get us two
> benefits:
> 1) We'll have a single way to dump a PMC rather than two
> 2)
On Fri, 29 Aug 2003, Leopold Toetsch wrote:
> Dan Sugalski <[EMAIL PROTECTED]> wrote:
> > On Fri, 29 Aug 2003, Leopold Toetsch wrote:
> >> Pluggable implies a dump() vtable method, doesn't it?
>
> > Nope. Pluggable implies freezethaw.c provides all the functionality to
> > freeze or thaw a PMC, w
On Thu, Aug 28, 2003 at 07:26:25PM -0400, Dan Sugalski wrote:
> What is a notification system? Well, what it is is a simple system
> that posts an event when a watched resource is changed. We're going
> to watch modification, deletion, addition, and destruction.
>
> How does it work? Simple. Whe
# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #23640]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=23640 >
hey all,
I have a fairly lame and tiny patch that applies a few doc fixes to
REA
# New Ticket Created by [EMAIL PROTECTED]
# Please include the string: [perl #23641]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=23641 >
woops :-) forgive me.
-- attachment 1 --
Juergen Boemmels wrote:
>
> I tried to get parrot compiling on windows using the borland c++
> builder 5.5 command line tools which can be downloaded form
> http://www.borland.com/products/downloads/download_cbuilder.html
>
> Now I have some problems:
>
> * borlands make handles && completly diffe
Dan Sugalski <[EMAIL PROTECTED]> wrote:
> On Fri, 29 Aug 2003, Leopold Toetsch wrote:
>> I think, we need a general solution for freeze, dump and clone. As shown
>> the latter is broken. That would be IMHO an iterator interface with a
>> callback function taking and returning a void*.
> Right, wh
docs/Makefile fails unless the 'ops' directory already exists. Since an
empty 'ops' directory isn't listed in MANIFEST, we can't assume it will
exist. This patch creates it if it doesn't already exist.
diff -r -u parrot-orig/config/gen/makefiles/docs.in
parrot-andy/config/gen/makefiles/docs.in
On a fresh checkout today, my Solaris C compiler issued the following
warnings. If memory serves, there are other compilers that don't
like lvalue casts as well.
"closure.pmc", line 21: warning: a cast does not yield an lvalue
"closure.pmc", line 48: warning: a cast does not yield an lvalue
"cont
On Thursday, August 28, 2003, at 09:15 PM, [EMAIL PROTECTED] (via RT)
wrote:
woops :-) forgive me.
Thanks, applied. (#23640 can be closed too).
-- c
On Fri, 29 Aug 2003, Andy Dougherty wrote:
> docs/Makefile fails unless the 'ops' directory already exists. Since an
> empty 'ops' directory isn't listed in MANIFEST, we can't assume it will
> exist. This patch creates it if it doesn't already exist.
Thanks, applied.
Simon
On Fri, 29 Aug 2003, Andy Dougherty wrote:
> On a fresh checkout today, my Solaris C compiler issued the following
> warnings. If memory serves, there are other compilers that don't
> like lvalue casts as well.
lcc & tcc to name two; only with these, it's an error, not just a
warning.
Si
Andy Dougherty <[EMAIL PROTECTED]> wrote:
> "closure.pmc", line 21: warning: a cast does not yield an lvalue
tcc fails totally. Its of cource me to blame :-)
What is the "official" way here:
- don't do that, its really forbidden (why)
- create another macro acround that?
The lvalue usage isn't
Benjamin Goldberg <[EMAIL PROTECTED]> writes:
>> Or, rather, it doesn't matter if we are or not, since
>> perl, python, and ruby are all untyped so there's not much to be
>> done, and full type inferencing's a halting-problem sort of thing.
>> (Though a useful subset of many programs can be analyze
Michael G Schwern <[EMAIL PROTECTED]> writes:
> On Thu, Aug 28, 2003 at 07:26:25PM -0400, Dan Sugalski wrote:
>> What is a notification system? Well, what it is is a simple system
>> that posts an event when a watched resource is changed. We're going
>> to watch modification, deletion, addition,
On Fri, Aug 29, 2003 at 08:05:33PM +0200, Leopold Toetsch wrote:
> Andy Dougherty <[EMAIL PROTECTED]> wrote:
>
> > "closure.pmc", line 21: warning: a cast does not yield an lvalue
>
> tcc fails totally. Its of cource me to blame :-)
>
> What is the "official" way here:
> - don't do that, its rea
Piers Cawley wrote:
>
> Benjamin Goldberg <[EMAIL PROTECTED]> writes:
[snip]
>>> Reading or writing from the hash does a lookup in the backing database
>>> and reads or writes from it. A handy thing, with the variable getting
>>> in the way of reads or writes to itself. However, you can do this wi
I'm still not sure about the 2 spare syllables in the last line in this
explanation:
"Patches welcome" means
"shut up and show me some code,
let me 'thanks applied'"
Nicholas Clark
46 matches
Mail list logo