Re: The new Perl 6 compiler pumpking

2004-08-04 Thread Leon Brocard
Dan Sugalski sent the following bits through the ether: > I'd like everyone to give a welcome to Patrick Michaud, who's > volunteered to officially take charge of getting the Perl 6 compiler > module written. Welcome Patrick! What's your plan of attack

Re: ICU Outdated - Ideas

2004-08-03 Thread Leon Brocard
Apart from license issues, this might be an interesting thing to look at. Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... Better to understand a little than to misunderstand a lot

Re: [PATCH] signals under x86_64

2004-04-02 Thread Leon Brocard
Adam Thomason sent the following bits through the ether: > No troubles here (see the palaeodictyoptera tinderbox). Is procps > up-to-date? Is NPTL causing different PIDs to show up? OK, chalk it up to dodgy Fedora in that case. Please do not apply patch. Leon -- Leon B

Re: [PATCH] remove unused parameter from pbc.c

2004-04-01 Thread Leon Brocard
Leopold Toetsch sent the following bits through the ether: > Both interpreter and unit aren't unused, if JIT is enabled. Changed a > bit. Ooh. Oops. Anyway, warnings bad. Leon -- Leon Brocard.http://www.astray.com/ scribot..

Re: [PATCH] signals under x86_64

2004-04-01 Thread Leon Brocard
Leopold Toetsch sent the following bits through the ether: > Is this available on e.g. Windows? Possibly, it's just POSIX. I have no way to test this however. Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scr

[PATCH] signals under x86_64

2004-04-01 Thread Leon Brocard
Signals no worky under x86_64. I don't really understand why. Seeing as we're skipping on lots of platforms anyway, I've added it to the list of skipped platforms. Leon -- Leon Brocard.http://www.astray.com/ scribot..

[PATCH] longness in pf_items.c

2004-04-01 Thread Leon Brocard
On our shiny 64-bit Opteron box I get a warning here. This silences the warning. Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... Borg? Where? I don't se*(#$#..NO CARRIER Index: pf/pf_it

[PATCH] remove unused parameter from pbc.c

2004-04-01 Thread Leon Brocard
Removes a warning. Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... We're not worthy! We're not worthy! Index: imcc/pbc.c === RCS

Re: Fwd: TALK:4-5-04 "A (Grand?) Unified Theory of Storage Reclamation"

2004-03-31 Thread Leon Brocard
Dan Sugalski sent the following bits through the ether: > "A (Grand?) Unified Theory of Storage Reclamation" Slides here: http://www.research.ibm.com/people/d/dfb/talks/Bacon04Grand.ppt Leon -- Leon Brocard.http://www.astray

Re: Objects and time

2004-02-23 Thread Leon Brocard
Dan Sugalski sent the following bits through the ether: > So, the question--shall we do objects and maybe miss the Feb 29th > release, or do the Feb 29th release and do objects for the next > release? Objects please! Leon -- Leon Brocard.http://www.a

Re: The Great Renaming

2003-09-21 Thread Leon Brocard
Brent Dax sent the following bits through the ether: > Are there any objections to this? Sounds good. For embedding (eg Ponie), we're going to have to make sure that all symbols start with parrot_ / Parrot_... Leon -- Leon Brocard.http://www.astray.com/

Re: Missing Ops

2003-09-08 Thread Leon Brocard
e a good idea. We can always move the logic into the assembler later if we decide to prune ops. ObLeonBrocard: he just be restin', arrr -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... I was young, I needed the money

Re: Approaching m4

2003-08-14 Thread Leon Brocard
Parrot projects ;-) We've used the Perl testing framework (Test::Harness, eg: 1..1\nok 1) in the main parrot test suite. It's working well for Perl and a Parrot version of it might be nice idea... Leon -- Leon Brocard.http://www.astray.com/ scribot...

Re: subroutines and python status

2003-08-01 Thread Leon Brocard
more parrot jokes... I don't like things becoming dead-ends. How much work do you think it'd be to extend it some more and update it to latest Lua? Would it be worth checking this into parrot CVS? Leon -- Leon Brocard.http://www.astray.com/ scrib

Re: [perl #23085] [PATCH] Off by one error in exceptions.c

2003-07-22 Thread Leon Brocard
J?rgen B?mmels sent the following bits through the ether: > The offending line is exceptions.c:123 > if (m[strlen(m-1)] != '\n') Thanks, applied. Leon -- Leon Brocard.http://www.astray.com/ scribot.http:/

Re: [perl #23005] [PATCH] Parrot_sprintf not recognizing 7 in precision

2003-07-16 Thread Leon Brocard
mrnobo1024 sent the following bits through the ether: > Parrot_sprintf isn't recognizing 7 as a number in the precision field, so > trying to use that results in a "'7' is not a valid sprintf format" error. Thanks, patch applied. Leon -- Leon Brocard..

ponie

2003-07-10 Thread Leon Brocard
I just noticed that nobody had emailed perl6-internals about ponie, which was announced yesterday as OSCON. Ponie is perl 5 on parrot. For more info: http://use.perl.org/article.pl?sid=03/07/09/0237202 Leon -- Leon Brocard.http://www.astray.com/ scribot

Re: [perl #22873] gentoo ebuild ... problem..

2003-07-04 Thread Leon Brocard
ologies, Leon ps and I was so proud of my first CVS commit too :-( -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... 668 - Neighbor of the Beast

Re: [perl #22873] gentoo ebuild ... problem..

2003-07-03 Thread Leon Brocard
correct this thanx alot in advance. Thanks for the bug report. I've patched parrot in CVS to use perldoc -U. To be honest, I'm not entirely sure that any of us actually install parrot at the moment, but it is a great area to investigate. Leon -- Leon Brocard...

Re: About RT/Perl

2003-03-31 Thread Leon Brocard
Alberto Sim?es/EPL sent the following bits through the ether: > Anybody can tell me the address for RT/perl software? http://rt.perl.org/ is what you should be using to submit bugs (and patches!) HTH, Leon ps it runs http://www.bestpractical.com/rt/ -- Leon Broc

Re: 0.1.0

2003-02-25 Thread Leon Brocard
re interested in. Parrot is for dynamic languages, and that gives away the fact that objects would help in their implementation. > Objects are coming, though I've been too pressed for time recently. > String rework first, then objects. Excellent. Leon -- Leon Brocard.

0.1.0

2003-02-25 Thread Leon Brocard
ve so many version numbers? It'd be nice to have objects, otherwise we're restricted to toy languages. Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... Komputors nefer maik erers

Re: A couple easy questions...

2003-02-25 Thread Leon Brocard
P0[2], 123 set P0[3], 456.789 set P1, P0[1] typeof S0, P1 print S0 print "\n" end Leon ps i fixed your code -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... Useless invention no. 404: Inflatable anchor

Parrot developer world map

2003-01-28 Thread Leon Brocard
such a thing? A room, at least one computer, an internet connection and a Plan? Are you looking to learn more about Parrot or do you have something more specific in mind? Leon ps feel free to send in your location if you've forgotten to: -- Leon Brocard

Re: Parrot Developer Day(s)?

2003-01-23 Thread Leon Brocard
w.ckdhr.com/dns-loc/finding.html Thanks! Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... Famous last words - You and what army?

Re: Compiling to Parrot

2003-01-21 Thread Leon Brocard
://www.gnu.org/software/classpath/classpath.html HTH, Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... Hmm... How *did* they finally kill Frosty?

Re: [perl #20400] [PATCH] ook.pasm eval

2003-01-19 Thread Leon Brocard
x27;make test' runs with parrot, so it doesn't work. I've attached a patch to config/gen/makefiles/ook.in to make it work with imcc, although I assume we'd want $(IMCC) to work at some point. Leon -- Leon Brocard.http://www.astray.com/ scrib

Re: A work list! (Coming soon)

2002-12-31 Thread Leon Brocard
" which does something sensible Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ ... You're in a maze of twisty little Java VMs, all different

Curses Life

2002-12-05 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > Now to get the hand of the signatures... Ah, well, I gave up on SDL as it was a little complicated. Instead, I played with curses. Please find attached a cute little curses life program loading and calling curses at runtime with dlf

Re: Adding new function signatures to parrot's NCI call list

2002-12-03 Thread Leon Brocard
Dan Sugalski sent the following bits through the ether: > pthreads tends to want to be part of the initial program load. FYI adding -lpthreads to C_LIBS and rebuilding parrot makes it work for me. Now to get the hand of the signatures... Leon -- Leon Brocard.h

Re: Adding new function signatures to parrot's NCI call list

2002-11-28 Thread Leon Brocard
unless I5, OK print "SDL_Init failed!\n" end OK: print "SDL_Init worked just fine\n" end I get: Loaded... dlfunced... ../parrot: relocation error: /usr/lib/libSDL-1.2.so.0: undefined symbol: pthread_mutexattr_init Well, the C code on the page works fine, but of

Re: C# and Parrot

2002-10-21 Thread Leon Brocard
n.com/docs/books/vmspec/2nd-edition/html/Concepts.doc.html#33377 HTH, Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ Cryptonomicon: The girl's guide to geek guys

Re: C# and Parrot

2002-10-20 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > It looks like the DotGNU weekly IRC meeting will be discussing > Parrot. Could be interesting: It was quite interesting. I managed to make it to the early one and Dan to the later one. An "annotated and abridged chatlog&qu

Re: C# and Parrot

2002-10-18 Thread Leon Brocard
teresting: http://www.dotgnu.org/pipermail/developers/2002-October/008345.html Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ Drive A: format failure, formatting C: instead...

Re: C# and Parrot

2002-10-18 Thread Leon Brocard
g both then it should be fairly easy to target Parrot too (still-to-be-developed-features not withstanding. This is quite interesting indeed, especially if you have a good test suite ;-) I'll try and have a look at it over the weekend. Leon -- Leon Brocard.http://www.

Perl 6 summary for week beginning 2002-10-07

2002-10-15 Thread Leon Brocard
ek. As Piers says: One more, if you think this summary has value send money to the Perl Foundation <http://donate.perl-foundation.org> and feed back and/or T?iBooks to me, <mailto:[EMAIL PROTECTED]>. As usual, the fee paid for publication of this summary on perl.com has been donated directly to the Perl Foundation. Enjoy, Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ f u cn rd ths, u cn gt a gd jb n cmptr prgrmmng

Re: [perl #17811] [PATCH] create pmcs with pmc initializer

2002-10-14 Thread Leon Brocard
) Oh, I see nobody has replied to this yet. Well, in the past this feature existed in Parrot, but then was taken out again, presumably because there was a better way to do it. However, I'm not sure what that way may be. Can anyone shed some light upon this? Leon

Re: Hi - Regarding JVM - parrot compatibility

2002-10-14 Thread Leon Brocard
ttp://search.cpan.org/dist/Java-JVM-Classfile/ In the past couple of weeks I've been wondering whether a hybrid scheme a la Inline::Java where we dispatch stuff to a real JVM may be a faster approach to get running. Why, what exactly did you have in mind? Leon -- Leon Brocard..

Re: [INFO] New array base: list.c

2002-10-08 Thread Leon Brocard
st? Or multiarray? Perhaps replacing one of these would be better? Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ Useless invention no. 404: Breathable space suit

Perl 6 summary for week beginning 2002-09-30

2002-10-06 Thread Leon Brocard
for proofreading. As Piers says: One more, if you think this summary has value send money to the Perl Foundation <http://donate.perl-foundation.org> and feed back and/or T?iBooks to me, <mailto:[EMAIL PROTECTED]>. As usual, the fee paid for publication of this summary on perl.com has been donated directly to the Perl Foundation. Enjoy, Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ Bioengineers wear designer genes

Re: [perl #17159] imcc / Mac OS X problem

2002-09-12 Thread Leon Brocard
Andy Dougherty sent the following bits through the ether: > Yup, That's a long-standing bug. Here, again, is the correct fix for it. Cool, finally imcc works. Now, what's the best way to roll in all the patches? Are they the correct fixes? Leon --

Re: [perl #17159] imcc / Mac OS X problem

2002-09-12 Thread Leon Brocard
icode.o chartypes/usascii.o -lm cc: unrecognized option `-shared' ld: Undefined symbols: _main make[1]: *** [blib/lib/libparrot.so] Error 1 make: *** [all] Error 2 Thanks, Leon -- Leon Brocard.http://www.astray.com/ scribot.http:/

Re: [perl #17159] imcc / Mac OS X problem

2002-09-12 Thread Leon Brocard
p.o ../../platform.o -lm ld: multiple definitions of symbol _n_spilled imcparser.o definition of _n_spilled in section (__DATA,__common) imc.o definition of _n_spilled in section (__DATA,__common) make: *** [imcc] Error 1 If only I knew more C / linker foo... Cheers, Leon -- Leon Broc

Re: [perl #16874] [BUG] Concatenation failing

2002-09-03 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > I have a weird bug where concatenation is sometimes failing Well, this bug is still here. I saw some patches fly by but which of them is the right patch and can it be applied please? ;-) Leon -- Leon Broc

Targeting Parrot slides

2002-07-30 Thread Leon Brocard
slides up soon. BTW anyone want to work on getting Parrot to use less memory so it can run on palmtops? ;-) Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ Try? Try not. Do, or do not. There is no try

Re: [miguel@ximian.com: parrot/mops/mops.cs]

2002-07-25 Thread Leon Brocard
Simon Cozens sent the following bits through the ether: > The mops test for C# in the parrot distribution uses long-integers, > which are 64-bit values, instead of the 32-bit integers used by the > other tests in the directory. Cool. How do we fix it? Change long to int? Leon -- Leo

Perl 6 summary for week ending 2002-07-21

2002-07-22 Thread Leon Brocard
=head1 TITLE Perl 6 summary for week ending 2002-07-21 =head1 AUTHOR Leon Brocard <[EMAIL PROTECTED]> =head1 DETAILS Another week, another Perl 6 summary. Cunningly this week I have taken over the summary from Piers in order to make it easier for me to namecheck myself. It's been

Re: minitutorial on submitting patches

2002-07-22 Thread Leon Brocard
y I've noticed that there were a couple of patches which appear to have slipped though the gapes. Patch authors - if you follow the Parrot patch procedure we won't forget your patches! Leon -- Leon Brocard.http://www.astray.com/ scribot.

Re: pmc RECALL command for preprocessor

2002-07-22 Thread Leon Brocard
it in a little more detail? Cheers, Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ This sentence no verb

Re: RFC - Hashing PMC's

2002-07-22 Thread Leon Brocard
Alberto Manuel Brandão Simões sent the following bits through the ether: > This means one more function to the vtable! FWIW every object in Java must implement a hashCode method: http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html#hashCode() Leon -- Leon Broc

Re: PARROT QUESTIONS: Keyed access

2002-07-22 Thread Leon Brocard
ded it would make an ideal PMC to learn from in future. Any takers? ;-) Leon -- Leon Brocard.http://www.astray.com/ scribot.http://www.scribot.com/ If this were an actual tagline, it would be funny

Re: Parrot contribution - #parrot stream parser.

2002-07-13 Thread Leon Brocard
on it as everything happens onlist. OK, apart for general "more docs" what in particular does anyone not understand about Parrot? We'll try and help and then add docs or whatever. HTH, Leon ps as it so happens, blogan's question could go into a faq... -- Leon Brocard..

Re: [PATCH] perlarray strange behaviour

2002-07-02 Thread Leon Brocard
leave references? I really need proper nested datastructures... ;-) Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ I have seen the evidence. I want DIFFERENT evidence!

parrotcode.org examples updated

2002-06-06 Thread Leon Brocard
utine that are never called externally you're welcome to optimise away and ignore the calling conventions] Next update will be PMC examples... Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ Abando

Re: BF interpreter

2002-05-30 Thread Leon Brocard
meantime? ;-) Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ He who reads many fortunes gets confused

BF interpreter

2002-05-30 Thread Leon Brocard
rator (see the patch). A BF compiler would be neat too, of course. Any chance of this going in the languages directory if I provide more docs and examples? Leon ps yes, interpreters for "real" languages on the way -- Leon Brocard.http://www.

Re: Parrot and Mono / .Net

2002-05-24 Thread Leon Brocard
rds dynamic languages. The main problem is that Perl is so dynamic. You can redefine almost anything in Perl at runtime. This means we need a very dynamic virtual machine behind it in order to run Perl (and possibly Ruby, Python) efficiently. Hope this helps, Leon -- Leon Brocard

Re: [COMMIT] Configure.pl 2.0

2002-05-24 Thread Leon Brocard
Sebastian Bergmann sent the following bits through the ether: > NMAKE : fatal error U1073: 'config_h.in' konnte nicht erstellt werden > Stop. And likewise here on my linux box: make: *** No rule to make target `config_h.in', needed by `Makefile'. St

[PATCH] fix genclass.pl

2002-05-14 Thread Leon Brocard
print " }\n\n"; } Cheers, Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ All generalizations are false, including this one - End forwarded message - -- Leon Brocard...

jvm.ops

2002-05-01 Thread Leon Brocard
my C code look ok? Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ (c) The Intergalactic Thought Association /* ** jvm.ops */ VERSION = PARROT_VERSION; =head1 NAME jvm.ops =cut =head1 DESCRIPTION

Re: Various PASM routines

2002-03-19 Thread Leon Brocard
.. Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ It is now pitch dark. If you proceed, you will likely fall into a pit

Re: [OT] Parrot Logo

2002-03-19 Thread Leon Brocard
Andy Wardley sent the following bits through the ether: > http://andywardley.com/parrot/ That's a wonderful colour! ;-) Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ High message:

Re: setline

2001-12-20 Thread Leon Brocard
Dan Sugalski sent the following bits through the ether: > We should come up with an alternative for the bytecode files that > has the line number info out of band. This is what Java bytecode does. It has an oob offset => line number mapping. Are .pyc the same? Leon -- Leo

Re: Java to Parrot

2001-12-18 Thread Leon Brocard
#x27;ve been waiting until Parrot can do objects and classes. Converting the bytecode isn't the problem, it's converting the Java APIs that is... HTH, Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ #include

Re: Parrot FAQ

2001-12-06 Thread Leon Brocard
k hack, and that wasn't it ;-) Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ Do not clone your neighbors in their sleep

Re: Parrot vs JVM

2001-11-12 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > o JVM is stack-based, Parrot is register-based (major difference!) I forgot to point out that details of the JVM are available at: http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html Leon -- Leon Broc

Re: Parrot vs JVM

2001-11-12 Thread Leon Brocard
erto, you'll want to check out the following details too: http://cvs.perl.org/cvsweb/parrot/docs/overview.pod?rev=1.2&content-type=text/x-cvsweb-markup http://www.parrotcode.org/examples/ http://www.astray.com/java/ Hope this helps, Leon -- Leon Brocard.http:

Re: [PATCH] mops.pasm

2001-11-11 Thread Leon Brocard
er op, you see) Hope that makes it clear, Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ Error 404: There is no spoon

[PATCH] mops.pasm

2001-11-10 Thread Leon Brocard
mops.pasm: 11.713909 ./mops: 108.442655 with -O3: mops.pasm: 17.030964 ./mops: 240.719673 NEW LOOP mops.pasm: 10.647256 ./mops: 73.574232 with -O3: mops.pasm: 15.141514 ./mops: 150.416772 Of course, the benchmark could be improved, but I suggest we should at least change it to be good,

Re: Rounding?

2001-11-05 Thread Leon Brocard
I0, N3 print I0 # prints 4 print "\n" set I0, 2 set I1, 2 add I2, I0, I1 print I2 # prints 4 print "\n" end Hope this helps, Leon -- Leon Brocard.http://www.astray.com/

Re: java vs. parrot mops

2001-11-01 Thread Leon Brocard
Dan Sugalski sent the following bits through the ether: > For the Java-impaired (i.e. me :) what's the -Xint option do? It turns off the JIT (which is enabled by default). Leon -- Leon Brocard.http://www.astray.com/ Nanoware...

Re: java vs. parrot mops

2001-10-30 Thread Leon Brocard
will be the fun part for you I imagine ;-) Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ Okay - right after this one we're BACK to the TOPIC

Re: [PATCH] Fixes logical ops in Parrot Scheme compiler

2001-10-21 Thread Leon Brocard
t so I can play with translation ideas and not have to worry about static type inference... Errr, so not yet. But I'll be updating the parrotcode.org examples rsn, honest... Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www

Re: [BUG] Mandlebrot core

2001-10-03 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > It's all greek to me, Leon The following bytecode: 0075 [01d4]: 0032 0008 000a 0008 gt_nc_ic N8, [nc:10], L2 is wrong. It shouldn't be [nc:10]. 10 is the numeric c

[BUG] Mandlebrot core

2001-10-03 Thread Leon Brocard
/sysdeps/generic/libc-start.c:129 It's all greek to me, Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ ... "1001 Things To Do With Whipped Cream", LGLB (1995)

Re: Wow.

2001-09-25 Thread Leon Brocard
Bart Lateur sent the following bits through the ether: > What underlying graphics engine would you use? I see a great need for OpenGL opcodes (let's forget about arrays and hashes, right?) ;-) Leon -- Leon Brocard.http://www.astray.com/

Re: [PATCH] dec_n_nc fix

2001-09-24 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > Attached is a patch to actually make dec_n_nc do what it should. > (Also included is a minor doc patch which I've previously sent but > which hasn't yet been applied ;-) Can someone apply this please? Le

Re: Floating Points and 0.0.2 release

2001-09-24 Thread Leon Brocard
Gibbs Tanton - tgibbs sent the following bits through the ether: > For the 0.0.2 release While we're at it: Simon, what do we need to have ready before we release the next version? Leon -- Leon Brocard.http://www.astray.com/

Re: Suggestion: register liveness information

2001-09-24 Thread Leon Brocard
n from the bytecode. I'd prefer to have code which does real liveliness calculations and can do real optimisations before we start talking about adding more opcodes ;-) Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nan

[PATCH] assemble.pl registers go from 0-31

2001-09-22 Thread Leon Brocard
s snuck in 'cos it's so darn useful. Leon -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ ... You seem a decent fellow, I hate to kill you Index: assemble.pl =

Flow graph

2001-09-22 Thread Leon Brocard
you should only do peephole optimisations within them. Ignore if this is over your head. Enjoy the pretty picture above and bear in mind that this will eventually turn into a real bytecode optimiser for Parrot. Maybe. Leon [1] Inevitable, really -- Leon Brocard...

[PATCH] Remove warning when compiling test.c

2001-09-22 Thread Leon Brocard
I get a warning during the Configure process: ... Alright, now I'm gonna check some stuff by compiling and running a small C program. This could take a bit... test.c:13:1: warning: no newline at end of file ... Attached is a trivial patch which adds a newline. Leon -- Leon Br

[PATCH] dec_n_nc fix

2001-09-21 Thread Leon Brocard
Attached is a patch to actually make dec_n_nc do what it should. (Also included is a minor doc patch which I've previously sent but which hasn't yet been applied ;-) Leon -- Leon Brocard.http://www.astray.com/ Nanoware.

Re: [PATCH] Comment fixes

2001-09-21 Thread Leon Brocard
Leon Brocard sent the following bits through the ether: > Attached are trivial comment fixes for two files. Oh go on, I know we're in a feature freeze but this is a doc patch. Can someone apply these please? Leon -- Leon Brocard.http://www.astray.com/

[PATCH] Comment fixes

2001-09-20 Thread Leon Brocard
on ps should i start filing bug reports in rt if my assembler bugs aren't being fixed? ;-) -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ ... Have you seen Quasimoto? I have a hunch he's back!

Example assembler code (primes.pasm)

2001-09-19 Thread Leon Brocard
te of some sort, although Simon's recent article on perl.com was damn good. Leon ps the assembler doesn't grok "if I5, NEXT4, NEXT3" or comments on lines which just have labels -- Leon Brocard.http://www.astray.com/ Nanoware...

Number bug

2001-09-18 Thread Leon Brocard
once this is fixed -- Leon Brocard.http://www.astray.com/ Nanoware...http://www.nanoware.org/ ... And he disappeared in a puff of logic

Re: [PATCH] Bytecode bounds checking and TRACE_OPS

2001-09-18 Thread Leon Brocard
ng its bytecode verification stage (before it runs the bytecode). It does some simple checks to see if the bytecode is doing reasonable things (no halting problem here, move along). Something for later, perhaps. Leon -- Leon Brocard.http://www.astray.com/ Iterative So

Re: Op documentation versus implementation

2001-09-16 Thread Leon Brocard
ut again ;-)? Leon -- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.iterative-software.com/ ... With a rubber duck, one's never alone

Re: Microbenchmark JVM<->PVM

2001-09-15 Thread Leon Brocard
n-Time compiler? Oh, I hadn't realised blackdown had that. Now a smaller difference: [acme@piglet parrot]$ time java -Xint Bench 16.430u 0.080s 0:18.17 90.8%0+0k 0+0io 5783pf+0w Didn't want to panic you all, Leon -- Leon Brocard.http://www.astra

Microbenchmark JVM<->PVM

2001-09-15 Thread Leon Brocard
oh, and are we calling it pvm? parrotvm? -- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.iterative-software.com/ ... I am serious. And don't call me Shirley class Bench { public static void main (String args[]) { int q =

Re: RFC: Bytecode file format

2001-09-15 Thread Leon Brocard
a look, although we may want to generalise a bit more: http://java.sun.com/docs/books/vmspec/html/ClassFile.doc.html Leon [1] No, attributes aren't limited to four characters. Let's be modern about this... -- Leon Brocard.http://www.astray.com/ Iterativ

[PATCH] Prettier tests

2001-09-14 Thread Leon Brocard
out why. HTH, Leon -- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.iterative-software.com/ ... Mr. Worf, blow the Windows-powered Borg ship out of this Universe! Index: t/euclid.pasm

Re: Fibonaci

2001-09-14 Thread Leon Brocard
-- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.iterative-software.com/ ... # Some simple code to print some Fibonacci numbers # Leon Brocard <[EMAIL PROTECTED]> print "The first 20 fibonacci numbers are:\n&quo

Re: [patch] First cut at TODO "allow add I4, I4, 3 instead of add_i_ic ..."

2001-09-14 Thread Leon Brocard
tuff for far too long. I'm interested in converting between languages. At the moment I expect to do that using pasm, but the second we have a bytecode-writing module... Look at all these programming languages for the JVM. s/JVM/ParrotVM/ perhaps? http://grunge.cs.tu-berlin.de/~tolk/vmlanguage

JavaVM -> ParrotVM

2001-09-11 Thread Leon Brocard
4 I reg 1 is 10 I reg 1 is 5 I reg 1 is 15 I reg 1 is 6 I reg 1 is 21 I reg 1 is 7 I reg 1 is 28 I reg 1 is 8 I reg 1 is 36 I reg 1 is 9 I reg 1 is 45 Cool, huh. Much more on this soon! Leon -- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.i

Re: Something to hash out

2001-08-29 Thread Leon Brocard
er suggests .pex files - for executables, perhaps? Lucy McWilliam: .rip? HTH, Leon -- Leon Brocard.http://www.astray.com/ Iterative Software...http://www.iterative-software.com/ ... Fascinating, Captain

Re: Perl's parser and lexer will likely be in Perl (was Re: RFC 334 (v1) I'm {STILL} trying to understand this...)

2000-10-16 Thread Leon Brocard
der what kind of subset would be necessary - surely the most useful constructs are also the most complicated... Leon -- Leon Brocard.http://www.astray.com/ yapc::Europehttp://yapc.org/Europe/ ... Where has all that spare time just come from? ;-)

Re: RFC 210 (v1) Data/Binary Dumping and Freezing

2000-09-12 Thread Leon Brocard
ble version might also be interesting: or do we expect bytecode -> source translators to do that for us? I'd strongly suggest that we drop local encodings and go for network encodings at all times, but this point may be mute. HTH, Leon -- Leon Brocard.http://www