On Mon, 2 Feb 2004 20:51:21 -0500 (EST), Michal Wallace
<[EMAIL PROTECTED]> wrote:
>On Tue, 3 Feb 2004, Pete Lomax wrote:
>
>> .sub _main
>> goto L1
>> test:
>> $I1 = 1
>> ret
>> L1:
>> $I2 = 2
>> call test
&
Leo clarified this as a problem with backward branch circa 3/12/03:
Sorry to be a pain in the butt, but I need to be told that there has
been no improvement in the last two months on this ;-(
.sub _main
goto L1
test:
$I1 = 1
ret
L1:
$I2 = 2
call test
On Sat, 24 Jan 2004 13:59:26 -0500, Gordon Henriksen
<[EMAIL PROTECTED]> wrote:
>It doesn't matter if an int field could read half of a double or v.v.;
>it won't crash the program. Only pointers matter.
>These rules ensure that dereferencing a pointer will not segfault.
In this model, wouldn't
On Mon, 5 Jan 2004 10:59:18 -0500, Dan Sugalski <[EMAIL PROTECTED]> wrote:
>I know IMCC's being redone, and we're nowhere near close to
>optimized,
That was my guess
> but I think it'd be worth it to get a handle on what sorts
>of things are likely to trigger off exponential time compiles when
On Tue, 23 Dec 2003 19:28:30 -, "Jonathan Worthington"
<[EMAIL PROTECTED]> wrote:
>- Original Message -
>From: "Pete Lomax" <[EMAIL PROTECTED]>
>To: "Jonathan Worthington" <[EMAIL PROTECTED]>
>Sent: Tuesday, December 23, 200
On Tue, 23 Dec 2003 09:16:45 +0100, Leopold Toetsch <[EMAIL PROTECTED]>
wrote:
>Pete Lomax <[EMAIL PROTECTED]> wrote:
>> I've opened a few files, using P0, and saved a copy of P0 in P4[n].
>> I was planning on chucking say 0 or -1 in P4[n] when I closed the
>
I've opened a few files, using P0, and saved a copy of P0 in P4[n].
I was planning on chucking say 0 or -1 in P4[n] when I closed the
file, but it won't let me do this. (set_integer_native not implemented
in class parrotIO) I hope there is something planned not yet
implemented?
Pete
Someone might want to check this works on the latest build:
.sub _main
set S0, "t.imc"
open P0, S0, "<"
AA100:
read S1, P0, 1
length I0, S1
le I0, 0, EOF
print S1
goto AA100
EOF:
end
.end
I just noticed it doesn't work on Jonathon Wo
On Tue, 16 Dec 2003 19:54:25 -0500, Dan Sugalski <[EMAIL PROTECTED]>
wrote:
>At 11:38 PM + 12/16/03, Pete Lomax wrote:
>>Hi,
>>I've hit a very strange problem:
>>
>> set N18, 86
>> save N18
>> restore N18
Solved. I forgot
Hi,
I've hit a very strange problem:
set N18, 86
save N18
restore N18
if I run this from a DOS prompt, it works fine, however if I run it
via the kernel32.dll function CreateProcessA, the restore N18 line
fails with "Wrong type on top of stack!".
If I change the first lin
Hi,
Just fishing for comments..
I have been experimenting with error handling, using
P9 = 1
to force the error:
Null PMC access in set_integer_native()
(others too, such as "Key not an integer!" or "Array index out of
bounds!").
I have found that:
newsub P0, .Exception
>At 03:01 PM 12/3/2003 +0100, Leopold Toetsch wrote:
>>Pete Lomax <[EMAIL PROTECTED]> wrote:
>> > The following demonstrates that $I1 and .local int i map to the same
>> > register in the output pasm code:
>>
>>Yep. The problem seems to be the backwar
On Mon, 01 Dec 2003 22:28:00 -0500, Melvin Smith
<[EMAIL PROTECTED]> wrote:
>2) printf/sprintf - we do need it (and implemented in C) since it is a
>staple and is the
>reasonable hook for HLL implementors to do interpolation without having
>to write a special native method or PMC for each languag
On Tue, 9 Dec 2003 16:20:25 -0500, Dan Sugalski <[EMAIL PROTECTED]> wrote:
>Just ran across a bug in IMCC.
>
>The .const directive is incorrectly available only within a .sub/.end
>block. Silly. (And wrong) That makes it very difficult to usefully
>use constants--generally they're defined at the
On Mon, 8 Dec 2003 11:35:59 -0500, Dan Sugalski <[EMAIL PROTECTED]> wrote:
>At 12:15 PM +0100 12/7/03, Leopold Toetsch wrote:
>>Pete Lomax <[EMAIL PROTECTED]> wrote:
>>> ... only to find there are no such equivalents for ne, gt, and ge.
>>
>>I've
I've started referring to ops/ops.num, in an attempt to figure out why
some of my pasm is getting rejected, and I've noticed a couple of
points:
There is an eq_p_i_ic and an eq_p_ic_ic, but not an eq_i_p_ic or an
eq_ic_p_ic. So, I swapped the operands and it worked, but of course
not on an lt stat
The following demonstrates that $I1 and .local int i map to the same
register in the output pasm code:
.sub _main
goto L1
test:
$I1 = 1
ret
L1:
.local int i
i = 2
call test
print i # prints 1, not 2
end
.end
parrot -o - t.imc shows:
On 02 Dec 2003 18:37:15 +0100, Juergen Boemmels
<[EMAIL PROTECTED]> wrote:
>Pete Lomax <[EMAIL PROTECTED]> writes:
>
>> Command line used was:
>> $ perl -e "open STDERR,'>&STDOUT'; exec qq{$^X Configure.pl --cc=gcc
>> --cgoto=0 --jitcapab
On Sat, 29 Nov 2003 15:17:11 +0100, Leopold Toetsch <[EMAIL PROTECTED]>
wrote:
>If you have some small specialized subs, you can always put these inside
>.emit/.eom as PASM.
>
I'll ditch imc then and just use pasm for everything,
Thanks,
Pete
Am I missing a trick here, thinking it would be better to allow eg:
.imcc
.local int a
.sub _get_a
return a
.end
.sub _set_a
restore a
.end
.endimcc
Can someone add a pause to parrot, presumably similar to the existing
-. option, only at the end, if an error occurs.
Pete
Browsing
http://www.vendian.org/parrot/source/?op=pod2html&file=docs/overview.pod
I noticed
tmp.pod: cannot resolve L in paragraph 16. at Pod/Html.pm line 1575.
tmp.pod: cannot resolve L in paragraph 32. at Pod/Html.pm line 1575.
tmp.pod: cannot resolve L in paragraph 38. at Pod/Html.pm line 1575.
On Thu, 27 Nov 2003 15:04:47 -0500, Dan Sugalski <[EMAIL PROTECTED]>
wrote:
>Well, this has been let slide far too long -- it's time to address
>string formatting and transformations. I know some folks have nudged
>on this stuff, so lets get it going.
>
>Here's a list of the string transformatio
On Thu, 27 Nov 2003 09:52:10 -0500, Melvin Smith
<[EMAIL PROTECTED]> wrote:
>At 12:02 PM 11/27/2003 +0000, Pete Lomax wrote:
>>Perl6 already does interpolation without special support from IMCC.
>>
>>That's nice for it. Where do I go crib from?
>
>?
>
&g
Perl6 already does interpolation without special support from IMCC.
That's nice for it. Where do I go crib from?
Pete
On 19 Nov 2003 16:03:59 +0100, Juergen Boemmels
<[EMAIL PROTECTED]> wrote:
> Could you try out the attached patch.
>
diff -u -r1.16 mswin32.pl
--- config/init/hints/mswin32.pl15 Oct 2003 12:06:24 - 1.16
+++ config/init/hints/mswin32.pl19 Nov 2003 14:30:26 -
@@ -95,6
On 19 Nov 2003 16:00:00 +0100, Juergen Boemmels
<[EMAIL PROTECTED]> wrote:
>Are there any people out there building parrot on MinGW?
>config/init/hints/mswin32.pl is far from complete.
I'm quite happy to be the first/only testing this
>
>Could you try out the attached patch.
Sorry, no can do thi
On 18 Nov 2003 18:37:57 +0100, Juergen Boemmels
<[EMAIL PROTECTED]> wrote:
>I assume he runs it with perl Configure.pl --ask
Yes
>The problem is that --ask option of has not the knowledge to change
>the options according to the compiler. I don't know a simple fix for
>this.
>
>A workaround soluti
On 18 Nov 2003 15:09:34 +0100, Juergen Boemmels
<[EMAIL PROTECTED]> wrote:
>Pete Lomax <[EMAIL PROTECTED]> writes:
>
>> Hi,
>> I've only just installed perl. Running Configure.pl on a windows box,
>> I got 'bad command or file name' because li
On Mon, 17 Nov 2003 20:46:32 +, Pete Lomax
<[EMAIL PROTECTED]> wrote:
>I got 'bad command or file name' because line 12 of
>config\init\hints.pl is:
> my $hints = "config/init/hints/" . lc($^O) . ".pl";
PS: that was the dos error, shouldn
On Mon, 17 Nov 2003 11:35:51 -0800, Sterling Hughes
<[EMAIL PROTECTED]> wrote:
>I think this would be a *very* cool thing.
What he said.
Pete
Pete
http://palacebuilders.pwp.blueyonder.co.uk/euphoria.html
Hi,
I've only just installed perl. Running Configure.pl on a windows box,
I got 'bad command or file name' because line 12 of
config\init\hints.pl is:
my $hints = "config/init/hints/" . lc($^O) . ".pl";
I had to change it to:
my $hints = "perl config/init/hints/" . lc($^O) . ".pl";
I'll carry
On Fri, 14 Nov 2003 08:12:26 +0100, Leopold Toetsch <[EMAIL PROTECTED]>
wrote:
>> _u_fred:
>> I5=P3[1]
>> S5=P3[2]
>> _fred:
>
>There is no P3[] involved. "_fred" just starts with whatever is in
>registers I5/S5.
Yes, "_fred" wades straight in, e
Hi,
New to this list, so please excuse any glaring stupidity.
I've been thinking about porting a small language to run on parrot,
and the call/return conventions. This is what I plan to do, at least
for my local routines. I'll follow the rules a bit more closely for
globals and external calls (bu
34 matches
Mail list logo