# New Ticket Created by "Debbie Harry"
# Please include the string: [perl #45023]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=45023 >
Maybe it would be useful to support inlining of subs (at PIR level?
::b" This is offset 1
I tried it the other way but could not add attributes to objects but I
can do.
newclass $P0, "Foo"
addattribute $P0, "a"
If this is the case there is a patch for pdd15 attached.
Harry
--- pdd15_objects.pod 2004-03-26 21:57:16.0 +
+++ pd
get this running for
ages and got absolutely nowhere with it, it was like walking in a minefield.
Harry
--
Regards,
Harry Jackson.
Leon Brocard wrote:
Dan Sugalski sent the following bits through the ether:
>
Objects please!
I would second that. I would prefer a cool release to a cool date ;-)
Harry Jackson
end
Can someone clarify what on earth just happened here. Is "ret" not seen
as a branch by IMCC so it has no idea it is in a block. I have had a
look at cfg.c but it is a bit beyond me what is happening in there.
Harry
with a minimum of patch whining.
*) I'll try and patch up the docs, and I'll concentrate on the PDDs, but
any help on them is greatly appreciated. *Especially* IMCC docs.
Do we need an NCI section in the IMCC.faq. If the vote is yes I do not
mind knocking something up.
Harry
gin_return
18 .pcc_end_return
19 .end
This prints
12
as expected.
Harry
Taken from the IMCC.faq
What are IMC variables?
IMC has 2 classes of variables, symbolic registers and named variables.
Both are mapped to real registers, but there are a few minor
differences. Named variabl
Simon Cozens wrote:
I think the mail servers for cpan.org/perl.org are having to shift
rather a lot of mail at the moment, for some reason.
For those that are unaware there is currently a rather serious virus in
the wild at the moment and a lot of mailing lists are being afffected. I
think its ca
Leopold Toetsch wrote:
Harry Jackson <[EMAIL PROTECTED]> wrote:
RHAS 2.1 dev edition
Harry, do you still see these hanging parrot programs?
chromatic, do you run a DeadRat (sorry) linux too?
RedHat is well known to provide b0rken patches to otherwise running
software. Could you try to u
Melvin Smith wrote:
At 08:44 PM 1/9/2004 +, Harry Jackson wrote:
So, are they staying, staying for now or not sure yet? I have a few
hundred lines of imcc that uses macros and if they are being removed
then I would rather change now and save myself some pain later.
I think we are going to
plying ]
Do you mean we should be using:
cvs -Q diff -c > patchfile.txt
when creating our patches rather than just diff'ing two files and then
sending them with
[PATCH]
in the subject.
Harry
Dan Sugalski wrote:
At 2:59 PM +0100 1/16/04, LF wrote:
hello
i noticed that harry jackson is writing a postgres interface to wrap
the nci functions. i'd like him to show what he's written so far and
give his comments
guess i'm not the only one hoping to test it
Just somet
be adding tasks to the RT system in the future then
it will also be a good place to get involved with stuff as it comes up.
Harry
struct which is something I
found confusing. I noticed them being used interchangeably in places and
was wondering if the we should just be using just "STRING" as per
instructions in the documentation and change all references of "String"
to reflect this.
Harry
/todo
Harry
and I am sure there are a few who be able to muster
up something for you.
Harry
duce you to how parrot works with strings. I relied on it quite
heavily just recently and a finished document would be very hand
particularly with example of usage etc.
Harry
t know where some of them get the time.
Harry
Dan Sugalski wrote:
At 5:01 PM + 1/12/04, Harry Jackson wrote:
Tim Bunce wrote:
and am always worried about making an ass of myself when posting.
Dammit, and here I was trying to lead by example. It's OK! :)
Smoothing the path for newcommers, of both types, is very important.
I
Harry Jackson wrote:
The following shows roughly what I had to do to display it. I am using a
global HASH called MetaData that stores various bits about the current
statement being executed.
Sorry: missed a bit
The MetData is where I get the TupleData Array and the associated
FieldData Array
Dan Sugalski wrote:
At 4:50 PM + 1/12/04, Harry Jackson wrote:
done similar to
80 getnext:
81
82 .pcc_begin prototyped
83 .pcc_call fetchrow_hash
84 nextrow:
85 .result rowhash
86 .result answer
87
Dan Sugalski wrote:
Which brings up a question. What's the difference between .local and .sym?
I was hoping someone would ask this.
Harry
e to add a few nice features to it if anyone can think of any.
I doubt if any of the functionality that currently exists will be
changed but this is not up to me, all that stuff is at a much higher
layer of abstraction than where I am currently digging.
Harry Jackson
y email me off list. I can think of at
least one simple task that needs doing and all it requires is some
rudimentary C and a generous helping of elbow grease.
Harry
Jeff Clites wrote:
On Jan 12, 2004, at 8:07 AM, Harry Jackson wrote:
Dan Sugalski wrote:
Having a fetchrow_hash that returned a Hash where the keys are the
column names and the values are the column values would be most of
the rest.
I read somewhere that accessing a hash was slightly slower
e tasks etc and was dismayed to find none.
There are no lists of things anywhere although I believe Leo compiled
one which got warnocked.
I know its a pain but a list of easy to complete tasks would be rather
helpful for any shy lurkers with some pointers on where to start maybe
not now but later.
h
86 .result answer
87 .pcc_end
where each call to the function will return the hash containg the next
rows data.
Do you have any requests for anything else on, around or near this
before I start. I should be able to ruffle something up pretty quickly.
Harry Jackson
Disclaimer: Th
;d love to be.
It is entirely up to you lot. If you want it on a stamp I will see what
I can come up with ;-)
Harry Jackson.
Dan Sugalski wrote:
At 9:05 PM +0100 1/11/04, Leopold Toetsch wrote:
Harry Jackson <[EMAIL PROTECTED]> wrote:
I am at the point now where I need to know what type of format you want
the data to come out in.
The first question is: how are these data returned in C.
For posgres, that&
Harry Jackson wrote:
Dan Sugalski wrote:
> getting back a full row as an array, getting back a full
row as a hash, and stuff like that. Nothing fancy, and nothing that
high-level, but enough to work the basics without quite as manual work
as the current libpg requires.
OK.
I am at
80s
Any requests, pointers, advice, abuse or general chit chat welcome.
Harry Jackson
Leopold Toetsch wrote:
Harry Jackson <[EMAIL PROTECTED]> wrote:
251 .local pmc CONN
252 .local int int_answer
253 print "About to Connect\n"
254 P0 = C[0]
255 S5 = s
256 invoke
257 CONN = P5
Calling the sub is something lik
s that I am trying to set an Array to a string which is
obviously wrong.
I am pretty sure that I am butchering imc syntax throughout this but it
has got me a bit stumped. I have managed to get as far as getting data
out of the database when I don't use the array so I am not 100% if I am
butchering the syntax that much. Unfortunately I have been trying to
RTFM but most of the FM's are out of date ;-)
Harry
Harry Jackson wrote:
I have tested the patches below now. Could someone have a look at them
and see if they can get commited especially the patch to the
call_list.txt file.
# New in libpq.so.3.1
t pt
p ptit33i
i ptit33i
i ptiit33i
c pi
I have jsut added the
I have tested the patches below now. Could someone have a look at them
and see if they can get commited especially the patch to the
call_list.txt file.
Harry
Harry Jackson wrote:
Some questions
Please note:
I have been unable to test these patches with "make test" due to the
Harry Jackson wrote:
I am now trying to get Parrot running on debian and have noticed the
following error while running "perl Configure.pl"
Determining some sizes...Linker failed (see test.ldo) at
lib/Parrot/Configure/Step.pm line 233
Parrot::Configure::Step::cc_build()
Melvin Smith wrote:
But, if you want macros to stay, let them stay.
So, are they staying, staying for now or not sure yet? I have a few
hundred lines of imcc that uses macros and if they are being removed
then I would rather change now and save myself some pain later.
H
y minimal system at the moment so I might not have
everything installed. I am hoping that someone may have seen his before.
Harry
The Perl 6 Summarizer wrote:
Problems with "make test"
Harry Jackson couldn't get his build of parrot to finish running "make
test". After a certain amount of thrashing about by the team, Dan
narrowed it down to issues with the mutant '2.96' versi
Leopold Toetsch wrote:
Harry Jackson <[EMAIL PROTECTED]> wrote:
Can someone tell me if there is an error in the code below.
The code is fine.
it repeatedly from the command line it sometimes freezes ie it prints
the contents of the array and then just stops and I need to do a CTRL-C
e. For
instance I have noticed that
set a[0], "one"
or
a[0] = "one"
appear to do the same thing. I cannot confirm that they do due to the
bug above.
I have got to the point where I am trying to put rows from Postgres into
arrays and this is slowing me down a bit.
Harry
Matt Fowles wrote:
I understand if this suggestion is dismissed for violating the rules,
but I would like an answer to the question simply because I do not know
the answer.
The most admiral reason for asking a question and I doubt it will be
dismissed.
H
problem. If so, we'll
need to update configure to do that automatically, since I think we're
going to end up running into this for years. :(
No Joy. I will upgrade gcc and see what happens.
Harry Jackson
/2.96/specs
gcc version 2.96 2731 (Red Hat Linux 7.2 2.96-108.1)
RHAS 2.1 dev edition
Harry Jackson
1 ( I wish ). I am on a redhat box on a bog
standard single Athlon XP1700. I am stumped.
Harry
I might be going mad here and maybe I have been up too long but, does:
http://dev.x.perl.org/perl6/pdd/pdd16_native_call.html
have two identical Parrot_callback_C and Parrot_callback_D function
signatures.
Harry Jackson
Jeff Clites wrote:
On Dec 30, 2003, at 3:11 PM, Harry Jackson wrote:
2) Try running one of the tests which blocks, individually. If you
can get it to happen this way, then run it in gdb and see what it's
doing. (Or, attach to an already blocked one from 'make test'--this
i
0:00 ./parrot --gc-debug -b t/op/arithmetics_4.pasm
From all of this I am guessing that something has corrupted a module in
Perl at least that is all I can think of.
Harry Jackson
nfo ***
Total memory allocated = 139264
DOD runs = 0
Collect runs = 0
Collect memory = 0
Active PMCs = 1024
Active buffers = 6144
Total PMCs = 1024
Total buffers = 6144
Header allocations since last collect = 7
Memory allocations since last collect = 1
Program exited normally.
(gdb)
Harry Jackson
ring_from_num, string_index,
string_replace, string_set, string_str_index, string_to_cstring,
string_to_int, string_to_num, string_transcode."
Yes they should, it is things like this that would be good to
put on the TWEAKS along with where or how to start[1]. The
strings doc has been one of the handiest
Dan Sugalski wrote:
At 1:02 PM + 12/27/03, Harry Jackson wrote:
Being fairly new to parrot and probably naive I can see a few different
ways of doing this.
A C wrapper ie: parrot/classes/parrotdbi.pmc etc
A C wrapper ie: parrot/dynclasses/parrotdbi.pmc etc
A loadable pasm function library
During
[EMAIL PROTECTED] parrot]$ make test
echo imcc/imcc.y -d -o imcc/imcparser.c
imcc/imcc.y -d -o imcc/imcparser.c
perl -e 'open(A,qq{>>$_}) or die foreach @ARGV' imcc/imcc.y.flag
imcc/imcparser.c imcc/imcparser.h
perl t/harness --gc-debug --running-make-test -b t/op/*.t t/pmc/*.t
t/native_
I was searching on google for
core.html parrot
and the first link took me to
http://www.gurney.co.uk/parrots/dandan.html
Do we have a facilty for number 5.
H
r Parrot's
> DBI library, so this is your chance to make a mark. :)
Cheers for the opportunity.
Harry
Dan Sugalski wrote:
We're starting to check in library code, which brings up the annoying
issue of licensing. Since we haven't been able to go the easy (i.e. all
public domain) route for parrot we need to deal with this.
The license on Parrot itself is straightforward enough, albeit a bit odd
w
Dan Sugalski wrote:
It's util/ncidef2pasm.pl, actually. build_nativecall builds the stub
routines for the interpreter if a JIT isn't available. The definitions
of the characters are the same, but ncidef2pasm's a bit better
documented. (There's embedded POD) Invocation is:
perl util/ncidef2pas
already any material, docs, examples or a wrapper already
written for another library please point me at it.
Harry
[package]
PostgreSQL
[lib]
libpq
[defs]
# From libpq-fe.h Revision 1.100
p PQconnectStart t
i PQconnectPoll p
p PQconnectdb t
p PQsetdbLogin t t
hough I imagine there is more to it than this ;-)
As for the OO wrapper. Are you after a pasm library that takes advantage
of objects and hides the details of libpq-fe.h? I think I could start
something if no one else has already started anything.
Harry Jackson (no longer surnameless ;-)
4 Jobs now. I think this may open up a few
more problems though.
Harry
--- MakefileSat Dec 6 19:42:33 2003
+++ Makefile.new Sat Dec 6 18:29:07 2003
@@ -831,9 +831,9 @@
$(SRC)/core_ops_cg$(O): $(GENERAL_H_FILES) $(SRC)/core_ops_cg.c
$(SRC)/core_ops_cgp$(O): $(GENERAL_H_FI
t back to its normal position and ran "make -j 4" and it worked
a treat so I am now trying to see at which point in the process the
file gets created because it appears to be created a bit too late for
"make" to work. (Maybe this is what you where getting at above).
Harry
_
Forgive me if I am looking in the wrong place for some of this stuff. I
am quite new to this.
--- Michael Scott <[EMAIL PROTECTED]> wrote:
>
> I'm fine with that, I understand why - this is not a rant - but I do
> think that Parrot has a steep learning curve and that good
> documentation is ess
Forgive me if I am looking in the wrong place for some of this stuff. I
only started looking at this today.
--- Michael Scott <[EMAIL PROTECTED]> wrote:
>
> I'm fine with that, I understand why - this is not a rant - but I do
> think that Parrot has a steep learning curve and that good
> docum
62 matches
Mail list logo