Re: test suite refactoring

2005-11-19 Thread Bernhard Schmalhofer
jerry gay schrieb: i've been thinking about ways to reorganize parrot's test files, which are currently spread throughout the source tree. so, here's my proposal for refactoring them, for your consideration. all parrot core tests should live under t/. notably, this includes imcc, and other comp

Re: test suite refactoring

2005-11-19 Thread Bernhard Schmalhofer
chromatic schrieb: On Sat, 2005-11-19 at 19:31 +0100, Bernhard Schmalhofer wrote: Also Punie.pm Python.pm Tcl.pm should be moved from lib/Parrot/Test to their respective dir in 'languages'. How would the library loads in the test files look if this were the case? S

What is PAST

2005-12-12 Thread Bernhard Schmalhofer
Leopold Toetsch schrieb: PAST isn't much more than 'hello.past'. When you search the p6i archives you'll find some messages about PAST and that it's up to HLL authors to specify the nodes and what not. In order to increase confusion, 'languages/punie' uses another PAST, which is kind of de

[TODO] tools/dev/genrpt.pl is obsolete

2006-01-17 Thread Bernhard Schmalhofer
It looks like the script 'tools/dev/genrpt.pl' does basically the same as 'parrotbug'. In order to decrease the level of confusion I propose to remove genrpt.pl and the associated make targets 'ok', 'okfile', 'nok', 'nokfile'. CU, Bernhard

Re: [perl #38262] get external modules out of the parrot repo

2006-01-18 Thread Bernhard Schmalhofer
jerry gay (via RT) schrieb: # New Ticket Created by jerry gay # Please include the string: [perl #38262] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38262 > perl modules necessary for parrot configuration, developmen

Re: WRT *BooleanArray

2006-02-20 Thread Bernhard Schmalhofer
Bob Rogers schrieb: From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Mon, 20 Feb 2006 14:55:03 +0100 in order to store the contents of a PMC into a boolean array? What do I et al. I think, if you use a BooleanArray with compact storage you are knowing why and don't need automatic conver

Re: How to help ?

2006-02-20 Thread Bernhard Schmalhofer
Karl Forner schrieb: Hi all, I'd really like to try helping developing Perl6 and Parrot, I subscribed to the mailing-list, read some docs, got and compiled parrot via svn (in a vmware-played ubuntu ;-) ). Welcome Karl. But it is not obvious to see where to begin, and where I can be usefu

Re: [perl #38604] m4.pm vs. M4.pm causes problems in case-insensitive filesystems

2006-02-21 Thread Bernhard Schmalhofer
Chris Dolan (via RT) schrieb: # New Ticket Created by Chris Dolan # Please include the string: [perl #38604] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38604 > While doing an "svn update" from a Mac OS X box today,

Re: [perl #37906] socklen_t not defined

2006-03-04 Thread Bernhard Schmalhofer
Hi David, could you send your changes as a patch to me or to [EMAIL PROTECTED] Could you additionally add your test results to PLATFORMS? I suppose there needs to be some kind of config check for older 'libc5'. The hints you passed to Configure.pl could probably also be put into a hints file.

Re: [perl #38760] [BUG] Allow passing "todo => $reason" to Parrot::Test::example_output_(is|like|isnt)

2006-03-20 Thread Bernhard Schmalhofer
chromatic via RT schrieb: On Sunday 19 March 2006 05:32, Bernhard Schmalhofer wrote: I tried to use something like: example_output_like( "examples/benchmarks/arriter.pir", $outputs{arriter.pit}, todo => 'syntax error' ); However the 'todo' flag is not h

Re: What version of perl is required?

2006-04-23 Thread Bernhard Schmalhofer
Will Coleda schrieb: There was an agreement on 5.6.1 a few weeks back on IRC, if I recall correctly, I haven't heard anything about 5.8. This change was made here: r11744 | bernhard | 2006-02-26 05:55:39 -0500 (Sun, 26 Feb 2006) | 7 lines Configuration: - Sprinkle a few 'use warnings;' -

Re: contrib tool: search for opcodes

2006-07-07 Thread Bernhard Schmalhofer
João Cruz Morais schrieb: (moderator please reject my other message - wrong email) The subject says it all :) Given a valid regex (pcre) as an argument, the script will search inside every *.ops file for an opcode name that matches, and dumps both its arguments and its description. If no argumen

Re: contrib tool: search for opcodes

2006-07-07 Thread Bernhard Schmalhofer
João Cruz Morais schrieb: (moderator please reject my other message - wrong email) The subject says it all :) Given a valid regex (pcre) as an argument, the script will search inside every *.ops file for an opcode name that matches, and dumps both its arguments and its description. If no argumen

Re: #parrotsketch logs: 19SEP06

2006-09-19 Thread Bernhard Schmalhofer
jerry gay schrieb: http://www.parrotcode.org/misc/parrotsketch-logs/irclog.parrotsketch-200609/irclog.parrotsketch.20060918 or, for the browser- or email-client- newline-challenged: http://xrl.us/rs3n Actually http://www.parrotcode.org/misc/parrotsketch-logs/irclog.parrotsketch-200609/irclog.p

Re: [#39063 and #40066] boolean arrays

2006-10-05 Thread Bernhard Schmalhofer
Karl Forner schrieb: So in my opinion too this pmc should be rewritten. I'm ready to do it, based on my fixedbooleanarray implementation, but before doing it I need some answers : Yes, I've always why ResizableBooleanArray extends FixedBooleanArray and why FixedBooleanArray is not simply a sp

Re: Bytecode PDD

2006-10-05 Thread Bernhard Schmalhofer
Jonathan Worthington schrieb: Hi, I've checked in the proposed bytecode PDD and also most of the changes that I discussed with Allison earlier today. Feedback on it would be greatly appreciated. One thing that I noticed is the naming of the new field UUID. ||| The UUID is |

Re: Questions about DEPRECATED.pod

2006-10-09 Thread Bernhard Schmalhofer
Paul Cochrane schrieb: Hi all, I was having a poke around in DEPRECATED.pod and I've got a couple of questions about the items therein: .imc file extension paragraph: There aren't any .imc files in parrot anymore as far as I can tell. So, should this paragraph be in DEPRECATED.pod anymore? If

Re: SVN tips in wranglers.pod

2006-11-07 Thread Bernhard Schmalhofer
Paul Cochrane schrieb: In the attached patch, I've added a section on SVN usage tips for the doc/dev/wranglers.pod documentation, mostly distilled from wisdom on #parrot. Is there anything else people think should be added before I commit the patch? Or any changes to the pod itself? When the c

Re: use diff for string in some test

2007-01-07 Thread Bernhard Schmalhofer
Nicholas Clark schrieb: On Sun, Jan 07, 2007 at 03:34:41PM +0800, Lee Duhem wrote: I think we need some diff-like facility for string in Test::More (or somewhere else appropriate), these options of diff for files will be wanted: -E --ignore-tab-expansion Ignore changes due to tab expansio

Re: [PATCH] PIR updates

2007-02-04 Thread Bernhard Schmalhofer
Klaas-Jan Stol schrieb: attached a patch for languages/PIR, fixing: Thanks, applied in r16892. When I made the patch, *again* it contained the contents of the new files twice. I manually removed the double contents from the patch file. Yes, this time the patch applied without any hassle. T

Re: What Skills Do We Need to Finish Parrot?

2007-02-07 Thread Bernhard Schmalhofer
Joshua Isom schrieb: On Feb 7, 2007, at 1:49 PM, chromatic wrote: On Tuesday 06 February 2007 15:56, James Keenan wrote: On Feb 6, 2007, at 12:07 PM, Allison Randal wrote: E ... I'm the one who *needs* the tutorial, not the one to write it. That makes you a prime person to capture the

Re: [perl #37997] r10604 build failure on Cygwin

2007-03-28 Thread Bernhard Schmalhofer
Eric Hanchrow schrieb: I use Cygwin and am willing to occasionally test the build on it. Alas I have no clue how to actually -develop- for Cygwin, so I doubt I'd be much help fixing any problems that I find. But I'd be happy to "svn up; perl Configure.pl && make all test" and summarize or post t

Re: [svn:parrot] r17814 - in trunk: . compilers/pirc

2007-03-28 Thread Bernhard Schmalhofer
Will Coleda schrieb: Is it me, or did this also change all the paths in MANIFEST.SKIP from win style with backslashes to unix style with slashes? I've seen the same effect. I suppose if stems from the changeset 17760, where tools/dev/mk_manifest_and_skip.pl got a fix for Windows. Under Linux '

Re: small typo in PBC_COMPAT

2005-05-11 Thread Bernhard Schmalhofer
chromatic schrieb: On Wed, 2005-05-11 at 18:16 +0200, Uwe Voelker wrote: I fixed a small typo in PBC_COMPAT. Thanks, applied. From reading PBC_COMPAT I gathered that PBC_COMPAT should only be changed, when the PBC syntax has changed. # The text in this file is also the base of the # fi

Re: Remove .cvsignore?

2005-05-13 Thread Bernhard Schmalhofer
Juergen Boemmels schrieb: Hello, In the current SVN repository are 76 .cvsignore files. In SVN they aren't used any more. SVN uses the property 'svn:ignore' on a directory instead. During the cvs => svn transition the svn:ignore properties were set but in the recent weeks they started to diverge.

Re: t/src/manifest.t failed

2005-05-18 Thread Bernhard Schmalhofer
Leopold Toetsch schrieb: Juergen Boemmels wrote: On Wednesday 18 May 2005 07:52, Leopold Toetsch wrote: I'd say we just drop this test. Whenever you do reasoanble work in the working tree, you got test files, editor swap file and whatnot. Yep, checking for temporary files is not a priority. But k

Re: config/auto/m4.pl patch

2005-05-22 Thread Bernhard Schmalhofer
Kevin Tew schrieb: Debian sid reports m4 --version as GNU M4 1.4.3 Written by Rene' Seindal. notice the captial M. Thanks, applied. CU, Bernhard

Re: Parrot bc?

2005-06-12 Thread Bernhard Schmalhofer
Ron Blaschke schrieb: I'm feeling rather dumb asking this, but F says: Currently GNU bc is only used for doublechecking Parrot bc. Now, my question is: Where is "Parrot bc?" "Parrot bc" is sitting on my local disk, being very disfunctional. I'll check it in, as soon as it does something

Re: Punie

2005-07-12 Thread Bernhard Schmalhofer
Autrijus Tang schrieb: If the goal is to demonstrate the capability of the upcoming expression parser and minimal AST, I think "bc", the arbitrary precision calculator language, is a good candidate. Indeed it is. The nice thing about 'bc' is that is fairly simple, but still has variables and

Re: What's needed for a new languages/t/*?

2005-08-04 Thread Bernhard Schmalhofer
Amir Karger schrieb: I have a test script that runs 85 tests (and will run many more once I write more opcodes. Luckily, I developed it already when I was doing plotz). I could easily modify it to output "ok n" and "not ok" with a comment about what went wrong. However, because it's a big Z-cod

Re: Reading a large data structure

2005-08-04 Thread Bernhard Schmalhofer
Amir Karger schrieb: Is there a way to declare an array of, say, 300 strings in PIR other than arr = 300 arr[0] = "hi" arr[1] = "there" arr[2] = "my" ... arr[298] = "very" arr[299] = "tired" Same question with a hash of hashes or whatever. Assigning an integer to the array should do the t

Re: In languages/, make test bc dies because I don't have antlr

2005-08-09 Thread Bernhard Schmalhofer
Amir Karger schrieb: Running make test in languages dies because make bc.test tries to run antlr, and I don't have antlr. Should configure test for its existence or something? Yes, there is already a config-test for ANTLR, but obviously it isn't used yet. ANTLR isn't needed anyways, as the

Re: Parrot HEAD failing on MacOS Tiger

2005-09-05 Thread Bernhard Schmalhofer
Alberto Simões schrieb: [...] t/examples/japhNOK 2 # Failed test (t/examples/japh.t at line 49) # got: 'tsuJona rehtraP torkcaHp # r' # expected: 'Just another Parrot Hacker # ' t/examples/japhok 15/15# Looks like you failed 1 test of 15. t/exa

Re: [perl #37067] [PATCH] intro.pod - minor corrections

2005-09-05 Thread Bernhard Schmalhofer
Joshua Hoblitt schrieb: I should have added that this patch does s/behaviour/behavior/g. Which brings up the issue of: which "English" are we using for docs? That would be a question for Chip, or do we have a 'docs' pumkin? I'll hold off on more doc patches until Chip weighs in o

Re: [PATCH] docs - spelling, markup and whitespace fixes

2005-09-07 Thread Bernhard Schmalhofer
Joshua Hoblitt schrieb: I've tried submitting this patch to RT twice now without any success so I'm resorting to sending it directly to the mailing list. -J Hi, thanks a lot for your patch. I also think that the problem with RT were because of the size of the attachment. TNX, Bernhard

Re: [perl #37104] [PATCH] docs - spelling, markup and whitespace fixes

2005-09-08 Thread Bernhard Schmalhofer
Jonathan Worthington schrieb: "Joshua Hoblitt (via RT)" <[EMAIL PROTECTED]> wrote: HmmmI'm thinking these lines shouldn't be there:- +<<< .mine +>>> .r9142 Yes, sure. I must have missed an conflict when svn had to do some merging. The svn litter is removed in r9158. CU, Bernh

Re: [perl #37100] [PATCH] Pod tests + fixes

2005-09-10 Thread Bernhard Schmalhofer
Joshua Hoblitt schrieb: On Fri, Sep 09, 2005 at 11:38:55AM -1000, Joshua Hoblitt wrote: On Fri, Sep 09, 2005 at 02:26:04PM -0700, Bernhard Schmalhofer via RT wrote: I have committed the new test 't/doc/pod.t'. Great. Were the make targets left out on purpose?

Re: [perl #31980] Factorial example gives incorrect result

2005-09-11 Thread Bernhard Schmalhofer
Joshua Hoblitt schrieb: I'm not surprised, the values listed on that webpage for !13, !14 and !15 are wrong. According to my lisp interpreter the correct values (Google confirmed) are: 13! = 6227020800 14! = 87178291200 15! = 1307674368000 Well, the problem is that Parrot indeed re

Re: [perl #31980] Factorial example gives incorrect result

2005-09-12 Thread Bernhard Schmalhofer
Joshua Hoblitt schrieb: I'd like to propose that we fix the n! values listed on the examples page, change the code example to the snippet below, and add a warning about BigInt's requiring that GMP is installed. Hi, I have added information on how to provide patches to http://www.parrotcode

Re: [perl #37388] [TODO] remove -expnetwork from Config

2005-10-09 Thread Bernhard Schmalhofer
> --- Ursprüngliche Nachricht --- > Von: Will Coleda (via RT) <[EMAIL PROTECTED]> > An: [EMAIL PROTECTED] > Betreff: [perl #37388] [TODO] remove -expnetwork from Config > From Configure.pl : > > =item C<--expnetwork> > > Enable experimental networking. This is an unused option and should > prob

Re: [PATCH] Trivial typo fixes

2005-10-12 Thread Bernhard Schmalhofer
Will Coleda schrieb: Applied, except for the patch to examples/md5sum.pir - That changes the md5sum of the file, which then breaks t/examples/pir.t Thanks for looking at the examples. The md5sum.pir changes are now also in. Late at night I though that using the md5sum of md5sum.pir for testi

Re: Checklist for resolving a [PATCH] bug

2005-10-13 Thread Bernhard Schmalhofer
Joshua Hoblitt schrieb: It looks like the CREDITS file hasn't been getting updated. I'd like to revise that check-list to: - add the patch author to CREDITS or update the authors entry in CREDITS - add correspondence to the bug stating that the patch was applied AND the svn revision number. -

Re: libgdbm and Darwin...

2005-10-16 Thread Bernhard Schmalhofer
Alberto Simões schrieb: It's me again. Linked with gdbm (compiled with fink) and got these errors. They are kind weird because they complain about not being able to load the library, but the tests run correctly. If they run correctly without loading the library one of two things happens: 1

NCI callbacks

2005-10-25 Thread Bernhard Schmalhofer
Nick Glencross schrieb: I was looking at callbacks the other evening. Am I right in thinking that only two callback prototypes are supported, or have I missed a trick there as well? Yes, I think that hasn't changed since I've looking into interfacing Parrot with libsyck. As far as I rememb

Languages smoke testing

2005-10-27 Thread Bernhard Schmalhofer
Hi, as failing test are in popular demand, I have added a 'languages-smoke' target to the main Makefile. So make languages-smoke should send a smoke report for languages testing to the smokeserver. Recent smoke reports are then available under http://smoke.parrotcode.org/smoke/. Enjoy, a

Re: patch to unbreak 'make clean'

2005-10-29 Thread Bernhard Schmalhofer
> --- Ursprüngliche Nachricht --- > Von: Stig Brautaset <[EMAIL PROTECTED]> > An: perl6-internals@perl.org > Betreff: patch to unbreak 'make clean' > Datum: Fri, 28 Oct 2005 14:19:12 +0100 > > Hi, > > This patch fixes 'make clean' for me. Thanks for pointing this out. Patch applied in r9623. Obv

Who calls the vtable function add_same()?

2003-02-05 Thread Bernhard Schmalhofer
ble-functions add_int(), add_float() and add() seem to be OK. I have added a patched t/pmc/perlarray.t, which bunks out on the last test. CU, Bernhard -- ********* Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Marti

Approaching m4

2003-08-14 Thread Bernhard Schmalhofer
d the Makefile from bf. CU, Bernhard -- * Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel:+49 89 89 55 74 - 839 Fax:+49 89 89 55 74 - 25 PGP:https://ssl.biomax.de/pgp/ Email: m

Should the op 'pin' create a C-string ?

2004-11-10 Thread Bernhard Schmalhofer
Hi, I am trying to pass a string, containing YAML, from Parrot to the shared library 'libsyck'. 'libsyck' provides two functions: void syck_parser_str( SyckParser *, char *, long, SyckIoStrRead ); ( v_ptip ) SYMID syck_parse( SyckParser * ); ( i_p ) 'syc

Should the op 'pin' create a C-string ?

2004-11-10 Thread Bernhard Schmalhofer
Hi, I am trying to pass a string, containing YAML, from Parrot to the shared library 'libsyck'. 'libsyck' provides two functions: void syck_parser_str( SyckParser *, char *, long, SyckIoStrRead ); ( v_ptip ) SYMID syck_parse( SyckParser * ); ( i_p ) 'syck_

Re: Should the op 'pin' create a C-string ?

2004-11-11 Thread Bernhard Schmalhofer
would generally just pass the string buffer to the external library? Not copying the string buffer would propably prevent memory checker like 'efence' from doing their work. The external libs could also modify the string, which is good and bad. CU, Bernhard -- *

Re: Should the op 'pin' create a C-string ?

2004-11-11 Thread Bernhard Schmalhofer
d to me. I'm just wondering how string pinning can be tested. I guess I have to look into the garbage collection tests. CU, Bernhard -- ****** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried,

Re: Should the op 'pin' create a C-string ?

2004-11-12 Thread Bernhard Schmalhofer
UL, as I pass in the string length. A writeup of my experiences with 'libsyck' for Parrat is on http://yaml.kwiki.org/index.cgi?ParrotDev . CU, Bernhard -- ** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG

Re: Perl 6 Summary for 2004-11-08 through 2004-11-15

2004-11-16 Thread Bernhard Schmalhofer
Matt Fowles wrote: string pinning Bernhard Schmalhofer wanted to pass the same C-string into to different external functions so that the first could do things to it that the second required. However, the solution that he found kept eating his string after the first invocation

Re: [perl #32466] [PATCH] Parrot m4 0.0.10 and "eval" changes

2004-11-17 Thread Bernhard Schmalhofer
Leopold Toetsch wrote: Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote: The 'eval' compiler returns a bytecode segment without a constant table. The 'destroy' of the Eval PMC needs to handle that. How that? Are there no constants? Anyway, switching to a new byteco

Re: EcmaScript

2004-11-29 Thread Bernhard Schmalhofer
an'. The status is that "Hello World", but not much else, was running in August. In case that a real ECMAScript-project gets started, I'd be happy to contribute. CU, Bernhard -- ********** Dipl.-Physiker Bernhard Schmalhofer Senior Devel

Re: [perl #27304] [PATCH] move libnci.def out of root directory

2004-12-06 Thread Bernhard Schmalhofer
with the new location. Why? Random build files do not belong in the root directory. -- ****** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **

Re: svn

2004-12-09 Thread Bernhard Schmalhofer
t week. CU, Bernhard -- ** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **

RT#31859, Plain ole Hash

2004-12-13 Thread Bernhard Schmalhofer
l* PMCs in Hash PMC - Move Perl6 specific behavior back to the PerlHash PMC. - The NCI method has an implementation in Hash and in PerlHash, this is not nice CU, Bernhard -- ****** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Loch

Re: Native data structure for parrot?

2005-01-03 Thread Bernhard Schmalhofer
PMC, that hooks into the shared library of PDL for Perl5. Of course, one could also just steal the code or roll your own code. CU, Bernhard -- ** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Mar

How to check external library dependencies in 'dynclasses'?

2005-01-12 Thread Bernhard Schmalhofer
tion is, wether something like 'h2xs', Module::Build, 'extrb' is planned for Parrot. CU, Bernhard -- ****** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel:

Re: [perl #33801] [PATCH] GDBMHash - a dynamic PMC that binds to GNU dbm

2005-01-17 Thread Bernhard Schmalhofer
Leopold Toetsch wrote: Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote: I have been working on a dynamic PMC that calls into 'gdbm'. 'gdbm' is a file based database, that provides dictionary lookup. There are no fancy features yet. INVAL, FLOATVAL, PMC and STRINGS ar

Re: [perl #34059] [PATCH][MSWin32] Add NCI test symbols

2005-02-07 Thread Bernhard Schmalhofer
://rt.perl.org/rt3/Ticket/Display.html?id=31649 CU, Bernhard -- ****** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **

CVS commit access

2005-02-12 Thread Bernhard Schmalhofer
Hi, I'm currently working on some Parrot bits, including some more cleanup of the test suite. For that it would be convenient to have commit right in CVS and rights in the RequestTracker. Could a kind soul set that up? My user ID on auth.perl.org is 'bernhard'. CU, Bernhard -- /* [EMAIL PROTE

Re: [perl #34258] [TODO] Here documents for PIR

2005-02-25 Thread Bernhard Schmalhofer
pecification, it has objects and no pointers. CU, Bernhard -- ****** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **

Behavior of PAST compiler

2005-03-15 Thread Bernhard Schmalhofer
Hi, I have been adding a PIR implementation and three 'Hello World' tests to 'languages/parrot_compiler'. Code is taken from STDIN, compiled by a builtin compiler, and the resulting Eval PMC is invoked. This works as expected for PASM and PIR. For PAST, Parrot abstract syntax tree as simple text,

Re: Four MANIFEST files not found

2005-03-17 Thread Bernhard Schmalhofer
CU, Bernhard -- ** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **

Re: imcc/ directory

2005-04-12 Thread Bernhard Schmalhofer
to refactor 'imcc/main.c' and split it into e.g. 'src/main.c' and 'imcc/frontend.c'. This would make the distinction more clear, and would provide an opportunity to clean up the exported symbols. CU, Bernhard -- ********** Dipl

Re: [perl #34963] [PATCH] r7825: suppress stderr output during 'bc' step in configure

2005-04-14 Thread Bernhard Schmalhofer
tandard, option. So it is a good target for verifying 'Parrot bc'. For now it might be the easiest thing to check only for 'has_gnu_bc'. Ultimatively the bc test should end up in 'languages/bc', but AFAIK, there is no language specific config yet. CU, Bernhard -- *

Re: Perl 6 Summary for 2004-04-26 through 2005-05-03

2005-05-04 Thread Bernhard Schmalhofer
Matt Fowles schrieb: imc http server Markus Amslser wanted to write a tiny webserver in imc. This led to the discovery of that the binary to ascii transcoding is absent. Leo suggested several possible solutions. Actually Markus Amsler did write a working tiny w

Favicon.ico for http://www.parrotcode.org

2005-05-04 Thread Bernhard Schmalhofer
Hi, I noticed that the favicon.ico for http://www.parrotcode.org is a Camel. Can we have a Parrot for that, in order to do the many non-Perl Parrot based languages justice? Putting that favicon.ico into 'docs' would also make 'examples/io/httpd.imc' happy. CU, Bernhard

compile, invoke and then something else

2004-04-13 Thread Bernhard Schmalhofer
Hi, I am trying to implement the 'eval' macro im Parrot m4. The Parrot m4 interpreter is implemented in PIR. The 'eval' is a simple interpreter for integer artithmetic and forms thus a micro language within a mini language. For implementing the 'eval' macro I took following approach: i. Implemen

Re: Unexpected pcre match failures

2004-05-09 Thread Bernhard Schmalhofer
> > In line 9 of 'test_pcre.imc' I'm calling a sub, that does nothing at > all. > > But as a side effect the string "a" isn't matching the regex "a" any > more. > > I don't see any effect on calling the sub or not. Both cases do match. Trying 'test_pcre.imc' with a parrot from sources as of 2004

Unexpected pcre match failures

2004-05-08 Thread Bernhard Schmalhofer
Hi, since the last couple of days 'Parrot m4' does strange things when using a fresh 'parrot'. Internally 'libpcre' is used for regular expression matching. For a strange reason some strings are not matching any more. I boiled it down to a test case of 50 lines of PIR. Could somebody take a look

Re: PARROT_API, compiler and linker flags (was TODO: Linker magic step for configure)

2004-05-14 Thread Bernhard Schmalhofer
reason for not using that? CU, Bernhard -- ****** Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **

Re: Q: PIO_unix_pipe

2004-06-07 Thread Bernhard Schmalhofer
to the languages we care about I'd just throw the thing into the standard library and punt on it entirely... Hi, in 'GNU m4' this is called 'esyscmd'. But I doubt that this is more inuitive than 'pipeopen' or 'backtick'. CU, Bernhard -- *****

Re: Basics of the base PMC class set

2004-06-11 Thread Bernhard Schmalhofer
re. Hi, how about having complex numbers as another basic PMC? At least QCL, http://tph.tuwien.ac.at/~oemer/qcl.html, C99 and PDL, http://pdl.perl.org/, have them as a basic type. CU, Bernhard -- ** Bernhard Schmalhofer Senior Developer Biomax Informatics A

Re: [perl #31209] nci_test.o needs compiling with position independant code

2004-08-17 Thread Bernhard Schmalhofer
#x27;libtool' from the commandline seems to have unexpectedly little cruftiness. However I don't know about Win32 support. CU, Bernhard -- ****** Dipl. Phys. Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsr

Re: NCI test 2 failing - but I know why

2004-08-31 Thread Bernhard Schmalhofer
s is highly platform dependent, and therefore hard to test. I could rewrite the test and check only, that the stringified ParrotLibrary contains the substring 'nci'. My guess is, that this should work on all platforms so far. CU, Bernhard -- ******

Re: NCI basics

2004-09-16 Thread Bernhard Schmalhofer
tml. As far as I understand it, there is no support yet for passing arbitrary structs to the callback sub. It doesn't look too hard to implement, so I'm working on it. CU, Bernhard -- ****** Dipl.-Physiker Bernhard Schmalhofer Senior Develope

Should Resizable*Array's be chunked lists?

2004-10-21 Thread Bernhard Schmalhofer
Hi, I have started to work on some of the missing ops for the Resizable*Array PMCs. I noticed that, unlike the Array and PerlArray PMC, they currently do not use the functionality from src/list.c. This means that a ResizablePMCArray cannot be broken up in chunks and set P0, .ResizablePMCArray

Re: Should Resizable*Array's be chunked lists?

2004-10-21 Thread Bernhard Schmalhofer
ant. So I don't have to worry about it. For performance reasons we might need some sort/merge algorithm anyway and then it can work through chunks too. CU, Bernhard -- ****** Dipl.-Physiker Bernhard Schmalhofer Senior Developer Biomax Informatics

Re: Parrot Z-machine

2003-09-03 Thread Bernhard Schmalhofer
I understand it: i. I can take GPLed code and derive from it. ii. is still under GPL iii. can become part of the Parrot core or be distributed with Parrot Did I understand that correctly? CU, Bernhard -- ***** Bernhard Schmalhofer Senior Developer B

Re: More interface files

2003-10-08 Thread Bernhard Schmalhofer
Parrot? CU, Bernhard -- ***** Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel:+49 89 89 55 74 - 839 Fax:+49 89 89 55 74 - 25 PGP:https://ssl.biomax.de/pgp/ Email: mailto:[EMAIL PROTECTED] Web:http://www.biomax.de *

Does parrot_assembly.pod need an update?

2003-12-24 Thread Bernhard Schmalhofer
Hi, I was trying to track down a core dump in 'examples/assembly/pcre.imc'. Looking at the code in 'library/pcre.imc' and the documentation in 'parrot_assembly.pod' I found that 'store_globals' was misdocumented. The two parameters were interchanged. Looking more closely at 'parrot_assembly.pod'

Strangeness with '.sub' in macros

2003-12-30 Thread Bernhard Schmalhofer
Hi, I have been playing around with 'libpcre' for Parrot m4. For some reason I couldn't compile two regular expressions in the same PIR script. I created a sample C program and that worked like it should. It looks like the error has nothing to do with 'libpcre'. So I boiled down my code to a sma

Re: Shy Lurkers

2004-01-13 Thread Bernhard Schmalhofer
ments. CU, Bernhard -- ****** Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **

Re: cvs commit: parrot/imcc/t/syn file.t

2004-02-13 Thread Bernhard Schmalhofer
The test has to be located inside the eval, this construct has no effect. Might it be better to set LANG to 'C', instead of 'en'? Thanks, applied. leo -- ** Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhame

Re: [perl #25825] [PATCH] imcc/t/syn/file.t fails with a non-english locale

2004-02-16 Thread Bernhard Schmalhofer
lAdam Thomason wrote: > Hmm, this is still wrong. The error message isn't just a function of the locale; it's also dependent on the OS. > AIX is now back to expecting "No such file or directory" courtesy of LANG=C > when the imcc error is "A file or directory in the path name does not exist." >

Re: LANGUAGES.STATUS

2004-03-01 Thread Bernhard Schmalhofer
equired--this is only version 5.00503 I'll reset the version checks to 5.005, but propably won't put much work into 5.005 support. Let's wait until Parrot is maturing from Perl5. CU, Bernhard -- ** Bernhard Schmalhofer Senior Developer Bi

Re: [perl #27369] [PATCH] pretty-print for library/dumper.imc

2004-03-04 Thread Bernhard Schmalhofer
t. CU, Bernhard -- ** Bernhard Schmalhofer Senior Developer Biomax Informatics AG Lochhamer Str. 11 82152 Martinsried, Germany Tel: +49 89 895574-839 Fax: +49 89 895574-825 eMail: [EMAIL PROTECTED] Website: www.biomax.com **

Re: [perl #42883] [PATCH] Fix up headerfile guards

2007-05-06 Thread Bernhard Schmalhofer
Jerry Gay via RT schrieb: On 5/4/07, via RT Mark Glines <[EMAIL PROTECTED]> wrote: * Standardize on PARROT_*_GUARD style names for these lines (some headers used a style that looks like "__PIRLEXER_H" instead) It looks like the __FOO_H convention was only used in compilers/pirc. There a

Re: [perl #42883] [PATCH] Fix up headerfile guards

2007-05-07 Thread Bernhard Schmalhofer
lying c_indent_doesnt_recognise_ifndef.diff I got no complaints from c_indent.t. Could you check again? In r18452 I checked in a small beautification of c_indent.t, which shouldn't have chaned the algorithm. On Sat, 05 May 2007 07:58:45 -0700 "Bernhard Schmalhofer via RT" <[EMAIL PROTECTED]> wro

Re: new FAQs

2007-05-24 Thread Bernhard Schmalhofer
Josh Wilmes schrieb: The compiler tools target Parrot, so that it will be easier for people (including us) to write languages that run on Parrot. I understand. I'm just saying that *if* perl 6 were being written to target an existing VM, any brilliant compiler tools could be written to t

Re: [perl #43105] [PATCH] function mmd.c::mmd_expand_y: newly allocated memory unitialized

2007-06-04 Thread Bernhard Schmalhofer
Nicholas Clark schrieb: On Sun, Jun 03, 2007 at 08:00:18AM -0700, Bernhard Schmalhofer via RT wrote: I have looked at the 'more_memory.patch' and I'm wondering about the portability. In that patch loops where pointers are explicitly set to NULL are replaced with a memset

Re: [svn:parrot] r18988 - trunk/lib/Parrot

2007-06-13 Thread Bernhard Schmalhofer
chromatic schrieb: @@ -697,7 +694,7 @@ $builder->diag("'$cmd' failed with exit code $exit_code") if $exit_code and not $pass; -unless ( $ENV{POSTMORTEM} ) { +if ( ! $ENV{POSTMORTEM} ) { unlink $out_f; }

Re: [perl #43251] [PATCH] Rename tools/dev/mk_manifests.pl

2007-06-19 Thread Bernhard Schmalhofer
James Keenan (via RT) schrieb: According to its documentation, mk_manifests.pl "...generates a set of F files that give the final locations in the file system for all the installable files listed in F and F." The name of this program is close to that of tools/dev/ mk_manifest_and_skip.pl --

Re: t/codingstd/perlcritic.t needs to be optional

2007-06-28 Thread Bernhard Schmalhofer
chromatic schrieb: On Wednesday 27 June 2007 13:22:22 Andy Lester wrote: The Perl::Critic testing in t/codingstd/perlcritic.t needs to be optional. The existence of Perl::Critic on a machine doesn't mean that it's appropriate to run Perl::Critic on the Parrot code. I'd like to see an

Re: [perl #43413] [TODO] Pass options to policies from perlcritic.t command line

2007-06-28 Thread Bernhard Schmalhofer
Paul Cochrane (via RT) schrieb: # New Ticket Created by Paul Cochrane # Please include the string: [perl #43413] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=43413 > Hi, In perlcritic.t i'd like to find a way to pass o

Re: [perl #43342] [TODO] config/init/miniparrot.pm: Write unit tests

2007-06-29 Thread Bernhard Schmalhofer
James Keenan via RT schrieb: There was code in several of the test files in the reconfigure/ branch which was repeated. At the hackathon, David Adler refactored it into a subroutine which I then placed in new file Auxiliary.pm. That file is contained in this patch along with a revised t/104-in

  1   2   3   >