On Sat, 16 Feb 2002, Steve Fink wrote:
- key-keys = (KEY_PAIR*)realloc(key-keys,sizeof(KEY_PAIR)*size);
+ key-keys = (KEY_PAIR**)realloc(key-keys,sizeof(KEY_PAIR)*size);
That seems rather suspicious. I don't know anything about the KEY_PAIR
type, but allocating a chunk of memory
*sigh*. Gone are the days when this was a simple 500 line Perl script.
I'm trying to add two new output types, and I've got half way through
before tying myself in knots. If anyone can look at my diff and finish
the missing bits, please drop me a mail.
--
In this talk, I would like to speculate
Steve Fink wrote:
- key-keys = (KEY_PAIR*)realloc(key-keys,sizeof(KEY_PAIR)*size);
+ key-keys = (KEY_PAIR**)realloc(key-keys,sizeof(KEY_PAIR)*size);
That seems rather suspicious. I don't know anything about the KEY_PAIR
type, but allocating a chunk of memory big enough to
I was just starting to think about writing something on the history and
evolution of Parrot's design, and came across some PDDs in the mail archives.
Grief, I remember these things! These were meant to document the design,
what we'd decided, why those decisions were a bad idea, what we chose
At 06:59 PM 2/16/2002 -0800, Steve Fink wrote:
Anyone object to eliminating the need for the 'struct'?
-struct Parrot_Interp {
+typedef struct Parrot_Interp {
struct IReg int_reg;
struct NReg num_reg;
struct SReg string_reg;
@@ -87,7 +86,7 @@
void *current_package;
Melvin Smith:
# At 06:59 PM 2/16/2002 -0800, Steve Fink wrote:
# Anyone object to eliminating the need for the 'struct'?
# -struct Parrot_Interp {
# +typedef struct Parrot_Interp {
# struct IReg int_reg;
# struct NReg num_reg;
# struct SReg string_reg;
# @@ -87,7 +86,7 @@
#
On Sun, 17 Feb 2002, Brent Dax wrote:
Melvin Smith:
# At 06:59 PM 2/16/2002 -0800, Steve Fink wrote:
# Anyone object to eliminating the need for the 'struct'?
# -struct Parrot_Interp {
# +typedef struct Parrot_Interp {
# struct IReg int_reg;
# struct NReg num_reg;
#
(Ziggy, could you give this a number and commit it to CVS when you have
time? Thanks. I'll update the CVS copy with comments from this thread
when it is done.)
Here's a first approximation at half a PDD, but it should be enough to
chew over. Please note particularly the Todo sections. Thanks.
Dan Sugalski:
# On Sun, 17 Feb 2002, Brent Dax wrote:
#
# Melvin Smith:
# # At 06:59 PM 2/16/2002 -0800, Steve Fink wrote:
# # Anyone object to eliminating the need for the 'struct'?
# # -struct Parrot_Interp {
# # +typedef struct Parrot_Interp {
# # struct IReg int_reg;
# #
Brent Dax:
I was afraid you were gonna say that. :^) I'll put it back in my next
embedding patch.
And document this exchange in the Embedding PDD? :)
--
Ever wake up feeling like a null pointer? -Allan Pratt
This is the first draft of my proposed regex PDD. Review and advise.
--Brent Dax
[EMAIL PROTECTED]
Parrot Configure pumpking, regex hacker, embedding coder, and all-around
good guy
Check out the Parrot FAQ: http://www.panix.com/~ziggy/parrot.html (no,
it's not mine)
obra . hawt sysadmin
On Sun, 17 Feb 2002, Gerson Kurz wrote:
Hi Brent,
you wrote:
Did you follow the directions in the README file? That assemble.pl
warning especially makes me very suspicious.
I'm sorry, I got it wrong in the mail. I did the configure/make/make test
thing. This is what happened:
On Sun, Feb 17, 2002 at 08:54:52PM +0100, Gerson Kurz wrote:
Besides, wasn't parrot supposed to be a VM and interpret the code,
rather than just compile-to-c? (And, the code doesn't even look like
normal C code - it has a static char program_code[] = { which it
executes).
Yes. You're using a
-Melvin
-Melvin
Sorry, I got stuck in a for loop. :)
Brent Dax:
This is the first draft of my proposed regex PDD. Review and advise.
You rock, sir. Analysis in the morning.
--
FAILURE:
When Your Best Just Isn't Good Enough
http://www.despair.com
this is a quick fix for CPrederef.pm to make to generated code compile with the MS
compiler.
fixes:
- ms compiler allows inline only for c++, for c there's __inline
- ms header files knows nothing about ssize_t
may be this should go into parrot.h??
Index: CPrederef.pm
Bravo!
PDD 7 (coding standards) is also still MIA, although i understand that it's
basically complete.
--Josh
At 16:18 on 02/17/2002 GMT, Simon Cozens [EMAIL PROTECTED] wrote:
I was just starting to think about writing something on the history and
evolution of Parrot's design, and came
Sorry, I goofed on that last patch- corrected version (including rx.h this
time):
[josh-002.patch]
This patch rolls up all my current outstanding patches.
- add makefile target and script to test for external libc dependencies
- fix return values in hash and array PMCs (returning 0 in
[josh-003.patch]
This patch adds some missing const's to silence a number of gcc warnings.
--Josh
Index: include/parrot/warnings.h
===
RCS file: /home/perlcvs/parrot/include/parrot/warnings.h,v
retrieving revision 1.1
diff -u
19 matches
Mail list logo