[PATCH] HP-UX shared libparrot support

2006-01-06 Thread Nick Glencross
This patch adds the necessary hints for HP-UX to build using shared libraries by default.I only have access to gcc on HP-UX, but the necessary compiler flags for the HP commericial compiler are there too.Cheers, Nick Index: config/init/hints/hpux.pm =

[PATCH] Small tweak to libparrot configure for rpath

2006-01-06 Thread Nick Glencross
This patch does a check for the existence of the 'rpath' attribute before using it.There will be platforms which have dynamic loading, but no capability to hard code the path of the library into the executable. We therefore need to cater for the case where parrot_is_shared is set, but rpath is not.

Re: [PATCH] HP-UX shared libparrot support

2006-01-06 Thread H.Merijn Brand
On Fri, 6 Jan 2006 11:02:17 +, Nick Glencross <[EMAIL PROTECTED]> wrote: > This patch adds the necessary hints for HP-UX to build using shared > libraries by default. > > I only have access to gcc on HP-UX, but the necessary compiler flags for the > HP commericial compiler are there too. FYI

Conversion of string to int (in PIR)

2006-01-06 Thread Roger Browne
This PIR program: .sub 'main' :main print_as_integer('-4') print_as_integer('X-4') print_as_integer('--4') .end .sub 'print_as_integer' .param string s $I0 = s print $I0 print "\n" .end produces this output: -4 0 -4 I think the las

Re: Conversion of string to int (in PIR)

2006-01-06 Thread jerry gay
On 1/6/06, Roger Browne <[EMAIL PROTECTED]> wrote: > This PIR program: > >.sub 'main' :main > print_as_integer('-4') > print_as_integer('X-4') > print_as_integer('--4') >.end > >.sub 'print_as_integer' > .param string s > $I0 = s > print $I0 > p

Paper on Parrot [2]

2006-01-06 Thread Klaas-Jan Stol
Hello, Some time ago I announced to be writing a paper on the architecture of Parrot. It's not completely finished, but most things are in. If you are interested, you can read it at http://members.home.nl/joeijoei/parrot/paper.pdf It proved a bit harder than I had expected, and a bit more wo

Re: Conversion of string to int (in PIR)

2006-01-06 Thread Leopold Toetsch
On Jan 6, 2006, at 13:59, Roger Browne wrote: This PIR program: .sub 'main' :main print_as_integer('-4') print_as_integer('X-4') print_as_integer('--4') .end [ ... ] I think the last line should be "0", but if anyone thinks that "-4" is correct please say so before

Re: Conversion of string to int (in PIR)

2006-01-06 Thread Roger Browne
On Fri, 2006-01-06 at 17:15 +0100, Leopold Toetsch wrote: > Yup - fixed in r10938. Thanks for testing. OK, then please ignore that patch that I just sent. Thanks for the quick work! Regards, Roger Browne

[PATCH] FreeBSD shared libparrot support

2006-01-06 Thread Anders Nor Berle
This should make the FreeBSD build support building a shared libparrot. -- - Anders Nor Berle Index: CREDITS === --- CREDITS (revision 10936) +++ CREDITS (working copy) @@ -46,8 +46,9 @@ D: ParTcl builtins E: [EMAIL PROTECTE

Re: [PATCH] FreeBSD shared libparrot support

2006-01-06 Thread jerry gay
On 1/6/06, Anders Nor Berle <[EMAIL PROTECTED]> wrote: > This should make the FreeBSD build support building a shared libparrot. > thanks, applied as r10939. ~jerry

[PATCH] Fix installation of include files

2006-01-06 Thread Anders Nor Berle
This patch should make parrot install includes in parrot/include/parrot instead of parrot/include/include/parrot. Also makes it possible to use --includedir to install them somewhere more usefull. :-) -- - Anders Nor Berle Index: tools/dev/install_files.pl =

[perl #38176] [PATCH] Fix string-to-integer conversion with multiple leading spaces

2006-01-06 Thread via RT
# New Ticket Created by Roger Browne # Please include the string: [perl #38176] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38176 > Until r10938, string-to-integer conversion was possible even when the string contained

Re: Junctions again (was Re: binding arguments)

2006-01-06 Thread Markus Laire
On 1/5/06, TSa <[EMAIL PROTECTED]> wrote: > Jonathan Lang wrote: > > Therefore, > > > > $x = 3; > > if $x <= 1 & 5 {say 'smaller'} > > if $x > 1 & 5 {say 'larger'} > > > > should produce exactly the same output as > > > > $x = 3; > > if $x <= 1 && $x <= 5 {say 'smaller'} > > This is sligh

[perl #38174] [PATCH] Fix handling of signs in string_to_int conversion

2006-01-06 Thread via RT
# New Ticket Created by Roger Browne # Please include the string: [perl #38174] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38174 > Currently, there's an error in the way that parrot's string to integer conversion handl

Parrot under Cygwin

2006-01-06 Thread Alberto Simões
Probably, I'm doing something wrong... but this is the output compiling parrot on my cygwin... http://nopaste.snit.ch:8001/6180 -- Alberto Simões - Departamento de Informática - Universidade do Minho Campus de Gualtar - 4710-057 Braga - Portugal

Re: Parrot under Cygwin

2006-01-06 Thread Nick Glencross
On 1/6/06, Alberto Simões <[EMAIL PROTECTED]> wrote: > > Probably, I'm doing something wrong... but this is the output compiling > parrot on my cygwin... > > http://nopaste.snit.ch:8001/6180 I've seen more talk on cygwin in the last week or two than in the last year! Yes, building the dynamicall

[perl #38178] [PATCH] Fixes wrong directory listed in instructions for 'svn diff'

2006-01-06 Thread via RT
# New Ticket Created by Roger Browne # Please include the string: [perl #38178] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38178 > This patch, for file docs/submissions.pod, fixes the directory listed against the 'svn

[perl #38146] [TODO] OS.pmc - file copy

2006-01-06 Thread Alberto Simoes via RT
> [coke - Tue Jan 03 18:03:31 2006]: > > OS.pmc should provide both a: > > copy(source_file,target) > > And a > > copy(array_of_source_files,targetDir) This needs some more discussion. If we look to Perl, for instance, it doesn't have a built-in copy. You should use either a module, or open bo

Re: [perl #38146] [TODO] OS.pmc - file copy

2006-01-06 Thread Joshua Juran
On Jan 6, 2006, at 4:11 PM, Alberto Simoes via RT wrote: [coke - Tue Jan 03 18:03:31 2006]: OS.pmc should provide both a: copy(source_file,target) And a copy(array_of_source_files,targetDir) This needs some more discussion. If we look to Perl, for instance, it doesn't have a built-in copy.

[PATCH] Restrict clear_eh to handlers in the current context

2006-01-06 Thread Bob Rogers
If sub A pushes an error handler and then calls B, B can do a 'clear_eh' to get rid of A's handler. This seems to work until B returns, at which point the control stack unwinding done by RetContinuation destroys the rest of the stack looking for the missing handler. The patch detects the probl

Re: [perl #38146] [TODO] OS.pmc - file copy

2006-01-06 Thread Joshua Isom
On Jan 6, 2006, at 10:17 PM, Joshua Juran wrote: On Jan 6, 2006, at 4:11 PM, Alberto Simoes via RT wrote: This needs some more discussion. If we look to Perl, for instance, it doesn't have a built-in copy. You should use either a module, or open both files, copy contents, and close both files

Re: [perl #38178] [PATCH] Fixes wrong directory listed in instructions for 'svn diff'

2006-01-06 Thread Joshua Hoblitt
Committed as 10948. I also renamed 'parrotdev' to 'workingdir' and added some ASCII art to prevent further confusion. Thanks, -J -- On Fri, Jan 06, 2006 at 01:06:19PM -0800, Roger Browne wrote: > # New Ticket Created by Roger Browne > # Please include the string: [perl #38178] > # in the sub