Leopold Toetsch writes:
Luke Palmer [EMAIL PROTECTED] wrote:
How does one call a parrot Sub from C and get the return value(s)? Is
it even possible, given CPS, to do this generally? If not, how can I
check when it is?
Good question. Its very similar to classes/Eval.pmc:invoke().
You
Luke Palmer [EMAIL PROTECTED] wrote:
Those things are interpreter exceptions -- the program did something the
interpreter didn't expect. But I think the idea is to make Cexit a
control exception, much like Perl 6's Cleave or Cnext.
Yep yep. Cexit already is a (control) exception.
Luke
Vladimir Lipskiy [EMAIL PROTECTED] wrote:
[ my first answer seems to be missing ]
From: Leopold Toetsch [EMAIL PROTECTED]
Subject: TWEAKS: Takers Wanted - Effort And Knowledge Sought
Platform code
-
We need some functions to deal with paths and files like File::Spec.
For loading
Luke Palmer [EMAIL PROTECTED] wrote:
Also, I can't seem to figure out how to make a CSub which calls to a
user-provided perl sub.
Please use the NCI interface. You can call arbitrary C functions with
it. S. classes/parrotio.pmc or Parrot_compreg() and the docs.
Thanks again,
Luke
leo
Leo wrote:
Albeit File::Spec is using catfile and catdir, I don't like the function
names (cat file is on *nix what type file is on Win*). Maybe
concat_pathname and concat_filename is better.
Yes, indeed. I'm for having concat_pathname only since this patch or
the File::Spec module makes no
Leo wrote:
Albeit File::Spec is using catfile and catdir, I don't like the function
names (cat file is on *nix what type file is on Win*). Maybe
concat_pathname and concat_filename is better.
Yes, indeed. I'm for having concat_pathname only since this patch or
the File::Spec module makes no
Tim Bunce wrote:
On Thu, Aug 28, 2003 at 07:26:25PM -0400, Dan Sugalski wrote:
How does it work? Simple. When a watched resource does what we're
watching for (it changes, an entry is deleted, an entry is
added [...]
Only after the action being watched is performed I presume.
It's
At 10:57 AM +0200 8/29/03, Leopold Toetsch wrote:
Dan Sugalski [EMAIL PROTECTED] wrote:
Most objects in Parrot will be dealt with by reference,
Dou you have anything about references? I'm thinking about putting in a
default CRef PMC class, which delegates almost all its methods to
Dan Sugalski [EMAIL PROTECTED] wrote:
At 10:57 AM +0200 8/29/03, Leopold Toetsch wrote:
Dou you have anything about references? I'm thinking about putting in a
default CRef PMC class, which delegates almost all its methods to
CSELF-cache.pmc_val, autogenerated inside pmc2c.pl.
Yeah, that was
On Fri, 29 Aug 2003, Nicholas Clark wrote:
Andy Dougherty [EMAIL PROTECTED] wrote:
closure.pmc, line 21: warning: a cast does not yield an lvalue
I think that the appended patch will work around the problem, by doing
the case on the pointer (which is an RVALUE) and then deferencing.
On Sat, 30 Aug 2003, Juergen Boemmels wrote:
the make shipped with Borland C++ builder doesn't like the makefiles
in the current way. I had to tweak the buildfiles a little in order to
get it Configure and compile. (It still does not link but thats
another story). I removed the appearences of
Andy Dougherty [EMAIL PROTECTED] writes:
On Sat, 30 Aug 2003, Juergen Boemmels wrote:
the make shipped with Borland C++ builder doesn't like the makefiles
in the current way. I had to tweak the buildfiles a little in order to
get it Configure and compile. (It still does not link but
I should read the list and respond to the outstanding stuff, but I
should also get this done, and since the former probably precludes
the latter...
Why, exactly, have I spec'd (nay, demanded!) that every darned
operation in a PMC's vtable have a keyed variant?
Simple. A combination of speed
Hi there!
I´m a java programmer and I´m not really experienced with perl.
But I´ve searched a long time for a system like .NET that can´t be
controlled by Microsoft through Patents.
Imagine 10.000 apps need the .NET api ruuning on mono, and microsoft
permits cloning the .NET api.
Maybe 5000
On Sat, Aug 30, 2003 at 10:13:02PM -0400, Benjamin Goldberg wrote:
Nicholas Clark wrote:
The attacker can craft a bogus CGITempFile object that refers to any
file on the system, and when this object is destroyed it will attempt to
delete that file at whatever privilege level the CGI runs
Clemens Eisserer writes:
(B Hi there!
(B
(B I$BB4(Bm a java programmer
(B
(BUh oh :-)
(B
(B and I$BB4(Bm not really experienced with perl.
(B
(B [...]
(B
(B I think that parrot could be the Gnu-version of .NET and could be a
(B realy benefit for the whole opensource-world. No
Nicholas Clark wrote:
On Sat, Aug 30, 2003 at 10:13:02PM -0400, Benjamin Goldberg wrote:
Nicholas Clark wrote:
The attacker can craft a bogus CGITempFile object that refers to any
file on the system, and when this object is destroyed it will attempt to
delete that file at
On Thu, Aug 28, 2003 at 06:17:07AM -0700, Amir Karger wrote:
Hi. Hugely newbie at Parroting, but think it's the coolest.
Good stuff. I hope it stays that with the inevitable setbacks and
annoyances that will come while gaining experience.
- Is it not being ported because of a lack of tuits, or
Leopold Toetsch wrote:
Benjamin Goldberg [EMAIL PROTECTED] wrote:
class freezer {
class thawer {
class cloner {
[ big snip ]
Do you expect that these are overridden by some languages using parrot?
I.e. that ponie tries to implement a freezer that writes output for
Hi again!
Wow, thanks for thinking about my ideas. I expected that you call me a
troll, but it seems that there are cool people here ;-)
O.K. lets simply call it class-library.
It doesn't seem to be the Perl way to limit yourself to one option
only (There's more than one way to do it). Of
Nicholas Clark [EMAIL PROTECTED] wrote:
2: dynamic bytecode conversion
(This is the point where someone tells me that dynamic opcode loading now
works)
No it doesn't. Albeit I have posted a proof of concept standalone
program months ago.
Nicholas Clark
leo
Dan Sugalski [EMAIL PROTECTED] wrote:
[ heavily snipped ]
Now, for aggregates that hold PMCs ...
... and on JITted cores there's no
win at all.
For aggregates that *don't* hold PMCs, though, that's where the win
is.
If we don't have direct operations on aggregate elements but instead
The Perl 6 Summary for the week ending 20030831
Welcome to this week's Perl 6 summary. This week, for one week only I'm
going to break with a long established summary tradition. No, that
doesn't mean I won't be mentioning Leon Brocard this week. Nope, this
week we're going to start
23 matches
Mail list logo