Here is a new variant of File Spec for the Parrot internals.
I've changed implementation. Made some alternations concerning
with function names. catdir and catfile have become concat_dirnames
and append_filename respectively. Now it will work properly
on Windows, UNIX, VMS, Mac, cygwin, and
Has it been two years already?
--
Bryan C. Warnock
bwarnock@(gtemail.net|raba.com)
On Thu, Sep 11, 2003 at 10:23:27AM +0300, Vladimir Lipskiy wrote:
Unix et al
==
append_filename(., ) =
Shouldn't that be .?
append_filename(a, ) =
a
append_filename(a, b) = a/b
What about
append_filename(, b) ?
Would that be an error?
Don't forget absolute paths
On Thu, Sep 11, 2003 at 01:17:29PM +0300, Vladimir Lipskiy wrote:
Shouldn't that be .?
append_filename(a, ) =
a
Umm. Don't think so. At least it will be that
way until you convince me that it must be
another way
concat_dirnames(a, ) = a
concat_dirnames(, b)= b
ergo
Dan Sugalski [EMAIL PROTECTED] wrote:
For us, teh equivalent would be returning a PerlInt if we find the
result produces an integral value, and a PerlNum if it doesn't. (Assuming,
of course, that the operation took place on two perl-style PMCs, as other
languages may have different rules on
Leopold Toetsch [EMAIL PROTECTED] wrote:
I'm currently investigating the AST (abstract syntax tree) interface for
Parrot. For getting a feeling, how this could look like, I've
implemented (some parts) of Yet Another Language (YAL).
I have put version yal-0.02 on my webpage. You can get it at:
Arthur Bergman [EMAIL PROTECTED] wrote:
Aha, that explains it, I assumed that genclass produced something that
was correct, apparently it didn't :), fixed now and I withdraw my patch.
Ah, that explains it too. Sorry. Fixed genclass.pl - thanks.
(I'm almost always takint an existing similar
Michael G Schwern [EMAIL PROTECTED] wrote:
Why wouldn't appending no filename onto a directory result in the
directory
being returned? Unless append_filename() guarantees that it will always
return a filepath ending in a filename?
Yes. And it guarantees to return a , when you do something
Hi,
This gets rid of the very annoying long double might change warning
under darwin, the warning comes from my config.h which has
typedef long double HUGEFLOATVAL;
Arthur
Index: config/init/hints/darwin.pl
===
RCS file:
On Thursday, September 11, 2003, at 10:36 AM, Vladimir Lipskiy wrote:
If you observe the rules, you won't get into a mess.
I'm not convinced If you don't have users, you won't get into a mess
is a workable design goal for library code.
-- c
Leopold Toetsch [EMAIL PROTECTED] writes:
Dan Sugalski wrote:
On Mon, 8 Sep 2003, Leopold Toetsch wrote:
Imcc is still lacking full integration inside Parrot. To accomplish
this, we would need these steps:
- rebuild and commit directory structure $Parrot_Root/imcc
- move files
Vladimir Lipskiy [EMAIL PROTECTED] writes:
static INTVAL
PIO_win32_getblksize(PIOHANDLE fd)
{
those indentifiers had internal linkage. Bi-bi. Fixed.
Thanks applied.
boe
Arthur Bergman:
# This gets rid of the very annoying long double might change warning
# under Darwin...
Thanks, applied (config/init/hints/darwin.pl version 1.7).
However, can you see if the diff below my sig (applied against 1.7, not
1.6) works too? If so, it's probably a more appropriate
I'm about done setting up the TPF Win32 tinderbox machine. It's a WinXP
Pro gadget with Visual Studio .NET. I'm going to install cygwin as well.
I'll be setting up tinderboxes for it but, honestly, I don't do windows
programming, so I'm not particularly sure what'd be useful. I'm going to
try
Based on current customers I would guess the following in priority:
VC/C++ (latest non-.NET version, most people I know are still building
their stuff with Pre-.NET versions)
Visual Studio .NET
Cygwin
Borland C++ Builder
I love Borland but I have to put it last because I think the 1st 3 covers
On Thu, 11 Sep 2003, Melvin Smith wrote:
Based on current customers I would guess the following in priority:
VC/C++ (latest non-.NET version, most people I know are still building
their stuff with Pre-.NET versions)
Visual Studio .NET
Cygwin
Borland C++ Builder
I don't have VC/C++ or
Eep, I was too busy poking fun at Dan about the book I forgot to say:
1) I do not represent IBM nor IBM's preferences for development
environment, I was just guessing.
You are welcome to add IBM Visual Age stuff in there, let me know if
you need a license. :)
2) The P6E book was well
I do have an older version of Borland that I can mail you, but I think it
is at least 2 releases old
As for Microsoft I can't help with a license, but I can probably get us
one for IBM Visual Age.
I assume you have a lot of disk space?
Doesn't Borland have some sort of free download version
On Thu, 11 Sep 2003, Melvin Smith wrote:
Eep, I was too busy poking fun at Dan about the book I forgot to say:
1) I do not represent IBM nor IBM's preferences for development
environment, I was just guessing.
You are welcome to add IBM Visual Age stuff in there, let me know if
you
On Thu, Sep 11, 2003 at 03:16:15PM -0400, Dan Sugalski wrote:
And it's your job, if you choose to accept it, to help make it horribly
out-of-date. :)
Are there going to be (booby) prizes for the people who make the most
paragraphs obsolete? Is anyone counting?
(Who do I score the U-turn on
On Thu, 11 Sep 2003, Melvin Smith wrote:
I do have an older version of Borland that I can mail you, but I think it
is at least 2 releases old
As for Microsoft I can't help with a license, but I can probably get us
one for IBM Visual Age.
I may be able to scare up media and license from
On Thu, 11 Sep 2003, Nicholas Clark wrote:
On Thu, Sep 11, 2003 at 03:16:15PM -0400, Dan Sugalski wrote:
And it's your job, if you choose to accept it, to help make it horribly
out-of-date. :)
Are there going to be (booby) prizes for the people who make the most
paragraphs obsolete? Is
Dan Sugalski:
# (Who do I score the U-turn on page 93 to?)
#
# Don't have it handy. Which U-turn is that?
Presumably, Coroutines can be implemented in terms of continuations if
need be, but that requires using a full continuation-passing function
call system, something we chose not to do.
On Thu, 11 Sep 2003, Brent Dax wrote:
Dan Sugalski:
# (Who do I score the U-turn on page 93 to?)
#
# Don't have it handy. Which U-turn is that?
Presumably, Coroutines can be implemented in terms of continuations if
need be, but that requires using a full continuation-passing function
Dan Sugalski:
# Ah. That one's the collective fault of the denizens of the Little
# Languages mailing list and the MIT Lisp and/or Scheme folks.
Oh, and in case it wasn't abundantly clear before, I already picked up a
copy--a month or so ago, while I was on vacation and needed something to
read
On Thu, 11 Sep 2003, Brent Dax wrote:
Dan Sugalski:
# Ah. That one's the collective fault of the denizens of the Little
# Languages mailing list and the MIT Lisp and/or Scheme folks.
Oh, and in case it wasn't abundantly clear before, I already picked up a
copy--a month or so ago, while I
On Thu, Sep 11, 2003 at 12:44:05PM -0700, Brent Dax wrote:
Dan Sugalski:
# (Who do I score the U-turn on page 93 to?)
#
# Don't have it handy. Which U-turn is that?
Presumably, Coroutines can be implemented in terms of continuations if
need be, but that requires using a full
On Thu, Sep 11, 2003 at 08:36:02PM +0300, Vladimir Lipskiy wrote:
Famous last words: Our data is perfect, we don't need to check our
inputs.
Yes. Our data is perfect and we don't need to check our inputs if we
play by rules. And the rules are:
Always use concat_dirnames to concatenate
If the pdd is amended, let's not forget to update the check_source script-
for that matter, if there are any other items that should be added
(perhaps some specific checks for the embedding headers), let me know-
I'll be happy to add them.
--Josh
At 18:57 on 09/11/2003 BST, Nicholas Clark
On Wednesday, September 10, 2003, at 05:55 pm, Leopold Toetsch wrote:
From: Leopold Toetsch [EMAIL PROTECTED]
Date: Wed Sep 10, 2003 5:55:59 pm Europe/London
To: [EMAIL PROTECTED] (Arthur Bergman)
Cc: [EMAIL PROTECTED]
Subject: Re: [PATCH] Small test case exception for ponie
Reply-To: [EMAIL
Hi,
Is there any documentation, or code I can read to figure out how use
PMCs in embedded mode? I tried to just include parrot/parrot.h in sv.c
but that results in a million (or so ;) errors, so using parrot/embed
would be nice. (it looks like it isn't finished yet, so it is more a
question
- Original Message -
From: Arthur Bergman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, September 11, 2003 7:14 PM
Subject: Embedding interface to PMCs
Hi,
Is there any documentation, or code I can read to figure out how use
PMCs in embedded mode? I
On Thu, Sep 11, 2003 at 09:30:29PM +0300, Vladimir Lipskiy wrote:
to document the idea of Juergen Bommels to include the
extern C {
I take it you meant the full game:
#ifdef __cplusplus
extern C {
#endif
specification () in each header in pdd7_codingstd, no body had replied),
but maybe
33 matches
Mail list logo