Re: Prospective jit patch

2002-04-01 Thread Jason Gloudon
On Mon, Apr 01, 2002 at 01:33:02AM -0300, Daniel Grunblatt wrote: Did you continue working on this or can I take this patch to continue? I haven't made any changes since then so you can work off this patch. -- Jason

OpenVMS V7.2-1H1 configure.pl results using the defaults

2002-04-01 Thread Charles Bunders
Configure.pl had a few problems. Thought I would send it to the list. Below this is a 'perl -V' if you want to know that info. Thanks... Parrot Version 0.0.4 Configure Copyright (C) 2001-2002 Yet Another Society Since you're running this script, you obviously have Perl 5--I'll be pulling

Re: OpenVMS V7.2-1H1 configure.pl results using the defaults

2002-04-01 Thread Michael G Schwern
On Mon, Apr 01, 2002 at 07:00:57AM -0800, Charles Bunders wrote: Checking some things by compiling and running another small C program (this could take a while): Building ./testparrotsizes.cfrom testparrotsizes_c.in... #include parrot/parrot.h ..^ %CC-F-NOINCLFILEF, Cannot

Re: [preliminary PATCH] Parrot C Compiler Wrapper

2002-04-01 Thread Nicholas Clark
On Sat, Mar 30, 2002 at 04:37:54PM -0800, Brent Dax wrote: Nicholas Clark: # Patching file Makefile.in using Plan A... # Hunk #1 succeeded at 112. # Hunk #2 failed at 143. Weird. Line endings, perhaps. This line has appeared in Makefile.in, which doesn't seem to be in your patch: # XXX

[PATCH hints/vms.pl] VMS Configure fix

2002-04-01 Thread Michael G Schwern
My research was right. You *can't* mix Unix and VMS style include paths on VMS. It will just dumbly concatinate them. CC/DECC /include=[.include] Result: [.include]parrot/parrot.h *wrong* CC/DECC /include=./include Result: ./include/parrot/parrot.h *right* Perl5 simply avoids

[PATCH Makefile.in] MMS syntax errors

2002-04-01 Thread Michael G Schwern
The patch below fixes a very basic Makefile syntax error (on VMS anyway). MMS requires that there be at least one space between the target and the colon. http://www.openvms.compaq.com:8000/73FINAL/5825/5825_.htm You begin a target or source line in column 1 of the line and use the

[PATCH Makefile.in] assemble.pl target missing

2002-04-01 Thread Michael G Schwern
DECC's make utility, MMS, speaks a very, very strict and unforgiving dialect of make. It's very useful for finding things like macros defined twice or missing targets: $ mms %MMS-W-MBREDEFILL, Illegal attempt to redefine macro 'LD' test : $(TEST_PROG) assemble.pl .test_dummy

[PATCH] VMS fixups. Configure hints Makefile syntax

2002-04-01 Thread Michael G Schwern
Ok, here's the necessary fixes to the VMS hints and Makefile.in to get VMS to Configure and have MMS parse the resulting Makefile. It includes all the stuff I posted eariler today. - There *must* be a space between the target, colon and dependencyes foo: bar*wrong* foo :

Parrot BASIC version .02, now with GAMES!

2002-04-01 Thread Clinton A. Pierce
I'm well aware of the date, but this is no April Fool's Joke. (Well perhaps it is, but the joke would be on me.) A new version of BASIC can be found at http://geeksalad.org/basic This BASIC has a few interesting things over the last one. I/O now works (INPUT, LOAD, etc...) as well as

Re: [PATCH] VMS fixups. Configure hints Makefile syntax

2002-04-01 Thread Josh Wilmes
Committed, thanks. (makes things ugly, but hopefully we'll be replacing the makefile with something more perlish down the road) --Josh At 16:17 on 04/01/2002 EST, Michael G Schwern [EMAIL PROTECTED] wrote: Ok, here's the necessary fixes to the VMS hints and Makefile.in to get VMS to

Re: cvs commit: parrot core.ops

2002-04-01 Thread Josh Wilmes
What is this supposed to do? It breaks the tcc build, and generally looks ungood to me. --Josh At 18:03 on 04/01/2002 GMT, [EMAIL PROTECTED] wrote: cvsuser 02/04/01 10:03:29 Modified:.core.ops Log: Minor optimization Revision ChangesPath 1.115

Re: cvs commit: parrot core.ops

2002-04-01 Thread Melvin Smith
At 10:31 PM 4/1/2002 -0500, Josh Wilmes wrote: What is this supposed to do? It breaks the tcc build, and generally looks ungood to me. sleep(1) is an optimization ? Is this the real Simon Cozens? :) Is this a pop quiz?? Did you see that gremlin.. -Melvin

PMC confusion

2002-04-01 Thread Will Coleda
I can't concat strings to a PerlString, I have to assign the constant string to another PerlString to do the concat... Is this just that a suitable entry in perlstring.pmc needs to be created? - new P6, PerlString set S1, stuff\n # This would fail # concat P6, P6, S1 # but

PDD formatting issues

2002-04-01 Thread Jeff
I ran across the following errors while running pod2html over the PDDs: [parrot@damogran pdd]$ pod2html pdd00_pdd.pod pdd00_pdd.html [parrot@damogran pdd]$ pod2html pdd01_overview.pod pdd01_overview.html /usr/bin/pod2html: pdd01_overview.pod: unexpected =item directive in paragraph 16.

Re: PMCs requiring a 'set' dest register?

2002-04-01 Thread Michel J Lambert
Remember that the higher level (eg perl6) will expect to be able to find the PMC afterwards. For example: $foo = abc; $bar = \$foo; print $$bar; $foo = 3; print $$bar; This depends upon how variables and the registers interact. If, like a real CPU, registers must be stored back into

Added macros for interpreter-flags

2002-04-01 Thread Josh Wilmes
--- Forwarded Message Date:02 Apr 2002 06:24:19 + From:[EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: cvs commit: parrot/io io.c io_win32.c cvsuser 02/04/01 22:24:19 Modified:.core.ops embed.c interpreter.c runops_cores.c include/parrot

Re: Added macros for interpreter-flags

2002-04-01 Thread Melvin Smith
At 01:48 AM 4/2/2002 -0500, Josh Wilmes wrote: Added macros for working with the interpreter-flags structure, following the _SET/_CLEAR/_TEST convention from pdd07. Nice cleanup. -Melvin

Re: PDD formatting issues

2002-04-01 Thread Josh Wilmes
At 1:19 on 04/02/2002 EST, Jeff [EMAIL PROTECTED] wrote: I ran across the following errors while running pod2html over the PDDs: The errors from podchecker were better about line numbers, but still, this was helpful. [parrot@damogran pdd]$ pod2html pdd00_pdd.pod pdd00_pdd.html

Changes at www.parrotcode.org

2002-04-01 Thread Jeff
Mostly announcing the new pumpking, updating the PDD list, and updating the status page with language information and current PMC status. Other changes to come tomorrow night, but the important stuff is up. -- Jeff [EMAIL PROTECTED]

Cola compiler new features for 0.0.4

2002-04-01 Thread Melvin Smith
I just committed 0.0.4 update to the Cola compiler. Besides minor code cleanups, new features are: Bitwise operators , , |, , ~, ^ Logical operators , || Complex conditionals: Logical expressions do lazy left right evaluation in the standard C style. if(i == 0 || j == 0 || k == 0) {

Re: PMCs requiring a 'set' dest register?

2002-04-01 Thread Peter Gibbs
Michel J Lambert [EMAIL PROTECTED] wrote: This depends upon how variables and the registers interact. If, like a real CPU, registers must be stored back into traditional memory as variables, then there is no problem. snip example pasm code If instead, registers are aliased onto traditional

Re: PMCs requiring a 'set' dest register?

2002-04-01 Thread Michel J Lambert
#$bar = \$foo; new P1, PerlRef stash_load P0, foo #Not needed if P0 unchanged set P1, P0 #Make P1 reference P0 (not 'foo') stash_store P1, bar My original example was like that, but I wasn't sure if that was a proper use of 'set', since 'set' normally copies one into the other. Of