Asking for problems with the gerd/JSON_nqp branch

2011-03-10 Thread Gerd Pokorra
There was reported a problem, when using

  load_language 'JSON'

in the file tools/dev/nci_thunk_gen.pir.

I can not reproduce the error. According to the suggestion of cotto I
created a branch. I called the branch gerd/JSON_nqp.

nci_thunk_gen.pir is the first program I want to switch to use the JSON
API generated with NQP.

I dumped the generated tables from JSON in nci_thunk_gen.pir with the
old and new API, but see no differences.

Are there problems to build and test Parrot from the branch
gerd/JSON_nqp? Could you give me information about the problem.
If there were no problems I would like to merge the branch.


-- Gerd


___
http://lists.parrot.org/mailman/listinfo/parrot-dev


Re: Asking for problems with the gerd/JSON_nqp branch

2011-03-10 Thread James E Keenan

Gerd Pokorra wrote:

There was reported a problem, when using

   load_language 'JSON'

in the file tools/dev/nci_thunk_gen.pir.

I can not reproduce the error. According to the suggestion of cotto I
created a branch. I called the branch gerd/JSON_nqp.


Unfortunately, it's not ready.  I got this build failure on Darwin/PPC:

Compiled: parrot_nci_thunk_gen.o
/usr/bin/g++ -o parrot_nci_thunk_gen parrot_nci_thunk_gen.o 
/Users/jimk/gitwork/parrot/src/parrot_config.o 
-L/Users/jimk/gitwork/parrot/blib/lib 
-L/Users/jimk/gitwork/parrot/blib/lib -lparrot   -undefined 
dynamic_lookup -L/sw/lib -L/opt/local/lib -lm -lgmp -lreadline -lintl

Linked: parrot_nci_thunk_gen
./parrot_nci_thunk_gen \
--loader-name=Parrot_glut_nci_loader \
--loader-storage-class=PARROT_DYNEXT_EXPORT \
--output=src/glut_nci_thunks.c \
src/glut_nci_thunks.nci
load_bytecode couldn't find file 'P6Regex.pbc'
current instr.: '' pc -1 ((unknown file):-1)
called from Sub 'gen_sigtable' pc 1920 (tools/dev/nci_thunk_gen.pir:931)
... call repeated 1 times
make: *** [src/glut_nci_thunks.c] Error 1

If desired, I can supply a complete build log this evening.

Thank you very much.
kid51

___
http://lists.parrot.org/mailman/listinfo/parrot-dev


Re: Asking for problems with the gerd/JSON_nqp branch

2011-03-10 Thread Will Coleda
On Thu, Mar 10, 2011 at 9:46 AM, Jonathan Duke Leto jonat...@leto.net wrote:
 Howdy,

 Here is the passing Smolder result:

 http://smolder.parrot.org/app/projects/report_details/11948

 Coke++ for restarting smolder.

 Why is the Revision = 1 ?

Duke -

Pretty sure that was you:

$ git blame lib/Parrot/Revision.pm

aff3e22d (Jonathan Duke Leto 2010-11-10 08:49:00 -0800 41) my
$revision = 1;

 Duke

 On Thu, Mar 10, 2011 at 5:35 AM, Jonathan Duke Leto jonat...@leto.net 
 wrote:
 Howdy,

 make test PASSes on d92f11cd7bb65db8bf0147b08fd748e2003de3c1

 Ubuntu 10.04 x86_64

 Duke

 On Thu, Mar 10, 2011 at 4:45 AM, Gerd Pokorra g...@zimt.uni-siegen.de 
 wrote:
 There was reported a problem, when using

  load_language 'JSON'

 in the file tools/dev/nci_thunk_gen.pir.

 I can not reproduce the error. According to the suggestion of cotto I
 created a branch. I called the branch gerd/JSON_nqp.

 nci_thunk_gen.pir is the first program I want to switch to use the JSON
 API generated with NQP.

 I dumped the generated tables from JSON in nci_thunk_gen.pir with the
 old and new API, but see no differences.

 Are there problems to build and test Parrot from the branch
 gerd/JSON_nqp? Could you give me information about the problem.
 If there were no problems I would like to merge the branch.


 -- Gerd


 ___
 http://lists.parrot.org/mailman/listinfo/parrot-dev




 --
 Jonathan Duke Leto
 jonat...@leto.net
 http://leto.net




 --
 Jonathan Duke Leto
 jonat...@leto.net
 http://leto.net
 ___
 http://lists.parrot.org/mailman/listinfo/parrot-dev




-- 
Will Coke Coleda
___
http://lists.parrot.org/mailman/listinfo/parrot-dev


Re: Asking for problems with the gerd/JSON_nqp branch

2011-03-10 Thread Jonathan Duke Leto
Howdy,

 Duke -

 Pretty sure that was you:

 $ git blame lib/Parrot/Revision.pm

 aff3e22d (Jonathan Duke Leto 2010-11-10 08:49:00 -0800 41)     my
 $revision = 1;


Yes, but that codepath is only taken when run from outside a git
checkout, which was not the case.

Duke


-- 
Jonathan Duke Leto
jonat...@leto.net
http://leto.net
___
http://lists.parrot.org/mailman/listinfo/parrot-dev


Re: Asking for problems with the gerd/JSON_nqp branch

2011-03-10 Thread Will Coleda
On Thu, Mar 10, 2011 at 2:59 PM, Jonathan Duke Leto jonat...@leto.net wrote:
 Howdy,

 Duke -

 Pretty sure that was you:

 $ git blame lib/Parrot/Revision.pm

 aff3e22d (Jonathan Duke Leto 2010-11-10 08:49:00 -0800 41)     my
 $revision = 1;


 Yes, but that codepath is only taken when run from outside a git
 checkout, which was not the case.

 Duke


 --
 Jonathan Duke Leto
 jonat...@leto.net
 http://leto.net


Doesn't look like that's the case.

$ make realclean; perl Configure; ack 'revision' config_lib.pir
set $P0[revision], 1
$ ls -d .git
.git

Regards.

-- 
Will Coke Coleda
___
http://lists.parrot.org/mailman/listinfo/parrot-dev


Re: GSOC Project Ideas

2011-03-10 Thread Brian Gernhardt
I wasn't sure where to post this but I thought I'd suggest a GSoC project (in 
self-interest because I'd like to do it).  I've been hanging around #parrot, 
but $reallife has been keeping me from chatting.

BigProjectIdeas lists LALR Parser Generator as a project.  Although it's 
listed as large, I think at least a basic parser generator could be done in a 
summer.

~~ Brian Gernhardt
___
http://lists.parrot.org/mailman/listinfo/parrot-dev


Re: Asking for problems with the gerd/JSON_nqp branch

2011-03-10 Thread James E Keenan

Gerd Pokorra wrote:

There was reported a problem, when using

   load_language 'JSON'

in the file tools/dev/nci_thunk_gen.pir.

I can not reproduce the error. According to the suggestion of cotto I
created a branch. I called the branch gerd/JSON_nqp.


I got this build failure on linux/i386:

Linked: parrot_nci_thunk_gen
./parrot_nci_thunk_gen \
--loader-name=Parrot_glut_nci_loader \
--loader-storage-class=PARROT_DYNEXT_EXPORT \
--output=src/glut_nci_thunks.c \
src/glut_nci_thunks.nci
load_bytecode couldn't find file 'P6Regex.pbc'
current instr.: '' pc -1 ((unknown file):-1)
called from Sub 'gen_sigtable' pc 1920 (tools/dev/nci_thunk_gen.pir:931)
... call repeated 1 times
make: *** [src/glut_nci_thunks.c] Error 1
./parrot_nci_thunk_gen \
--loader-name=Parrot_glut_nci_loader \
--loader-storage-class=PARROT_DYNEXT_EXPORT \
--output=src/glut_nci_thunks.c \
src/glut_nci_thunks.nci
load_bytecode couldn't find file 'P6Regex.pbc'
current instr.: '' pc -1 ((unknown file):-1)
called from Sub 'gen_sigtable' pc 1920 (tools/dev/nci_thunk_gen.pir:931)
... call repeated 1 times
make: *** [src/glut_nci_thunks.c] Error 1
Finished
[li11-226:parrot] 512 $ git show | head -1
commit d92f11cd7bb65db8bf0147b08fd748e2003de3c1

___
http://lists.parrot.org/mailman/listinfo/parrot-dev