RE: we need more ops.

2002-07-29 Thread gregor
How about (with a tip o' th' hat to DEK): SWYM (Sympathize With Your Machinery) -- Gregor

Patch for ops2pm.pl

2002-10-26 Thread gregor
ogram goes about its business. Also, it adds an "XXX" comment about how usage of this program and its supporting libraries has drifted from the initial intent, and calls attention to two ways of bringing things back into line. Rega

Need for fingerprinting? [was: Re: What to do if Digest::MD5 is unavailable?]

2002-11-03 Thread gregor
at, I'll post here. Regards, -- Gregor Josh Wilmes <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 11/01/2002 11:34 PM Please respond to Josh Wilmes To: "Brent Dax" <[EMAIL PROTECTED]> cc: "'Andy Dougherty'" <[EMAIL PROTECTED

Re: Need for fingerprinting? [was: Re: What to do if Digest::MD5 is unavailable?]

2002-11-03 Thread gregor
inal interesting (at least to me) note: A chunk of code could overwrite the optable entry zero with some noo?p-equivalent op to prevent any further changes to its optable once it has things the way it wants them. Regards, -- Gregor Leopold Toetsch <[EMAIL PROTECTED]> 11/03/2002 02:49 PM

Re: Need for fingerprinting? [was: Re: What to do if Digest::MD5 is unavailable?]

2002-11-04 Thread gregor
okup speed with the original switch() implementation of find_op(). It looks up a single op numerous times. Of course, a better one would randomly pick a known op name N times and look that up. http://archive.develooper.com/perl6-internals@;perl.org/msg08676.html Regards, -- Gregor Le

Re: Need for fingerprinting? [was: Re: What to do if Digest::MD5 is unavailable?]

2002-11-04 Thread gregor
attached a tarball with a tiny example. I was trying to insert asm comments for later parsing. I didn't get far, but that doesn't mean its not possible. Regards, -- Gregor Nicholas Clark <[EMAIL PROTECTED]> 11/04/2002 04:21 PM To: [EMAIL PROTECTED]

Re: Need for fingerprinting? [was: Re: What to do if Digest::MD5 is unavailable?]

2002-11-04 Thread gregor
that any generic disassembler will have to be useop aware, which is what I think you are trying to avoid. Regards, -- Gregor Jason Gloudon <[EMAIL PROTECTED]> 11/04/2002 11:41 AM To: [EMAIL PROTECTED] cc: Leopold Toetsch <[EMAIL PROTECTED]>, Brent

Re: Need for fingerprinting? [was: Re: What to do if Digest::MD5 is unavailable?]

2002-11-04 Thread gregor
would fit on the performance spectrum compared to JIT, for mops.pasm and for other examples with broader op usage... Regards, -- Gregor Leopold Toetsch <[EMAIL PROTECTED]> 11/04/2002 08:45 AM To: [EMAIL PROTECTED] cc: Brent Dax <[EMAIL PROTECTED]>, "&#x

Tiny imcc example doesn't work

2002-12-04 Thread gregor
to learn enough IMCC that I can make the jakoc compiler work with it. I've read the imcc README and scanned a few examples of output from the Perl6 compiler, but I think I'm still missing something... Regards, -- Gregor

Re: Tiny imcc example doesn't work

2002-12-04 Thread gregor
nerates to "properly" terminate each of the "subroutines" (if imcc ever does dead code removal, it could actually remove these instructions before they make it to the ..pasm file). Regards, -- Gregor "Mr. Nobody" <[EMAIL PROTECTED]> 12/04/2002 10:15 AM

Factorial Jako example with IMCC

2002-12-04 Thread gregor
ininitions. # # fact.jako # # Some simple code to print some factorials # # Based on fact.pasm originally be Leon Brocard <[EMAIL PROTECTED]> 2001-09-14. # # Copyright (C) 2001 Gregor N. Purdy. All rights reserved. # This program is free software. It is subject to the same # license as Perl itself. # #

Subroutine IMC example with problem

2002-12-05 Thread gregor
ile. I'm not sure why that line of code makes imcc want to have a set_ic_ic op (although I do wonder if has something to do with the fact that we have a global ".local x" and a ".param x" for the sub we are calling)... Regards, -- Gregor # # sub.jako # # A program to d

Re: Subroutine IMC example with problem

2002-12-05 Thread gregor
that imcc should allow code outside .sub ... .end brackets, which should be good for Jako, Perl and other languages. I don't know how popular that will be, but it seems reasonable to me... Regards, -- Gregor Leopold Toetsch <[EMAIL PROTECTED]> 12/05/2002 11:34 AM To:

Re: Subroutine IMC example with problem

2002-12-06 Thread gregor
difference between .sym and .local? And, .endclass and .endnamespace are not mentioned in imcc/README. Regards, -- Gregor Leopold Toetsch <[EMAIL PROTECTED]> 12/05/2002 12:43 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: Subrou

IMCC puzzle

2002-12-06 Thread gregor
he assigns are from the same constant table location? Is imcc smart enough to realize that the above transformation doesn't change the semantics of my program, or is it perhaps a bug? Regards, -- Gregor

Re: Subroutine IMC example with problem

2002-12-06 Thread gregor
turns into a single .pasm file, which assemble.pl turns into a single .pbc file (its files all the way down :). Regards, -- Gregor

IMCC and locals/lexicals

2002-12-06 Thread gregor
atever scoping mechanism is appropriate. I'd like to preserve my use of named .locals rather than move entirely to temporaries, since having the names around makes the .imc file easier to follow. Regards, -- Gregor

IMCC and constants?

2002-12-07 Thread gregor
n other areas... :). And, thanks also for fielding my numerous questions as promptly as you have! Regards, -- Gregor I am that which is not everything else.

Naiive .const directive for imcc

2002-12-10 Thread gregor
s (that is, ways that are more correct, rather than just workarounds -- I could work around it by going back to my old "outer .sub only" approach) of doing what I'm trying, I'm eager to learn... Regards, -- Gregor Index: imcc.l

Jako and Native Calls

2002-12-11 Thread gregor
calls for the same thing. Anyway, more thinking and talking is probably in order. I'd love to see an imcc implementation of PDD 3 like or better than the above sketch, so I can rely on IMCC to keep all the register stuff straight. After that, I don't think the incremental effort in jakoc creates a high barrier. Regards, -- Gregor

MASSIVE rewrite of Jako compiler is in

2002-12-13 Thread gregor
eful when the Jako compiler has an include mechanism. In anticipation of this, there are a few .jako files in the languages/jako directory that have declarations of op-subs for various corners of the core op set. Regards, -- Gregor

Happy Holidays to Dan -- Jako Native Calls (first cut)

2002-12-14 Thread gregor
y, I added some argument count checking, and now calls to subs have the args converted to the appropriate types if they aren't already. Regards, -- Gregor

Re: Objects, finally (try 1)

2003-01-10 Thread gregor
practice. The point is, Eiffel does have these mechanisms defined and they are expected to be available, and possibly required just to build mundane applications that use the standard library. Regards, -- Gregor "attriel" <[EMAIL PROTECTED]> 01/10/2003 10:37 AM Please resp

Re: Parrot compilers

2003-01-18 Thread gregor
The Jako compiler uses imcc as well... "Tanton Gibbs" <[EMAIL PROTECTED]> 01/18/2003 01:10 AM To: "Cory Spencer" <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> cc: Subject:Re: Parrot compilers Yes, languages should now use IMCC as their target. Basically,

Re: Parrot Developer Day(s)?

2003-01-22 Thread gregor
Dan -- Cincinnati, Ohio. And, I'll make my office available for the meeting, if there aren't so many people that it would be impractical (unlikely, I expect, but CMA anyway). -- Gregor Dan Sugalski <[EMAIL PROTECTED]> 01/22/2003 03:22 PM To: [EMAIL PROTE

Re: arrays, hashes unified indexing syntax impact on future varia tion s on other collection types

2003-01-30 Thread gregor
but related) notations: one for unordered access, one for ordered access. Any given object may support none, one or both. Regards, -- Gregor Aaron Sherman <[EMAIL PROTECTED]> 01/30/2003 03:15 PM To: Damian Conway <[EMAIL PROTECTED]> cc: Perl6 Languag

Fun with unified collections [was: Re: arrays, hashes unified indexing syntax impact on future varia tion s on other collection types]

2003-01-30 Thread gregor
($level) = $h =~ /^h(\d)$/; # Stringizes to element name my $title = join " ", tgrep { not ref $_ } $h; # Flatten to list of strings print(" " x $level, $title, "\n"); } would print a heading summary with indentation. Perl can already do some pretty LISPy things, so why not some TREPpy things, too? Regards, -- Gregor

Re: Arrays: is computed

2003-01-30 Thread gregor
.)... Regards, -- Gregor Michael Lazzaro <[EMAIL PROTECTED]> 01/30/2003 02:25 PM To: [EMAIL PROTECTED] cc: Subject:Arrays: is computed For C arrays, things get more complicated. Since there are no true 'holes' in a primitive-typed array, th

Re: Parrot developer world map

2003-01-31 Thread gregor
An interactive SVG version is (temporarily) available at: http://www.focusresearch.com/gregor/map.html Regards, -- Gregor Leon Brocard <[EMAIL PROTECTED]> 01/28/2003 05:24 PM To: [EMAIL PROTECTED] cc: Subject:Parrot developer wor

Re: Parrot developer world map

2003-01-31 Thread gregor
Greg -- Thats the centroid. You can see its dual South of Australia. Regards, -- Gregor Greg Woodhouse <[EMAIL PROTECTED]> 01/31/2003 03:52 PM To: [EMAIL PROTECTED] cc: Subject:Re: Parrot developer world map So, what's the yellow dot in

XML output of parse tree for Jako

2003-02-03 Thread gregor
eturn" (with special annotations about the statement modifier), but the XML conversion turns it into a "return" inside a conditional. Regards, -- Gregor

Re: XML output of parse tree for Jako

2003-02-03 Thread gregor
> result in the same parse structure as C<'Howdy ' . $what . ' world!'> -- the former is just syntactic sugar). Regards, -- Gregor James Michael DuPont <[EMAIL PROTECTED]> 02/03/2003 08:37 AM To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc:

Re: Bytecode metadata

2003-02-04 Thread gregor
file, line, etc.) that debuggers and other tools could be generic. Regards, -- Gregor James Michael DuPont <[EMAIL PROTECTED]> 02/04/2003 04:06 AM To: James Mastros <[EMAIL PROTECTED]>, [EMAIL PROTECTED], Leopold Toetsch <[EMAIL PROTECTED]> cc:

Re: Bytecode metadata

2003-02-04 Thread gregor
ut the chunks of IMC, generate bytecode, and further annotate the tree with the offset and size of the generated PBC chunk. The tree can be retained as the metadata segment in the PBC file. Regards, -- Gregor Juergen Boemmels <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/04/2003 08:15 AM

Re: Language Discussion Summaries

2003-02-04 Thread gregor
Sounds like a job for a bot! (couldn't resist) -- Gregor Jonathan Scott Duff <[EMAIL PROTECTED]> 02/04/2003 11:38 AM Please respond to duff To: Buddha Buck <[EMAIL PROTECTED]> cc: "Miko O'Sullivan" <[EMAIL PROTECTED]>, [EMAIL

Re: [RfC] a scheme for core.ops extending

2003-02-05 Thread gregor
non-JIT architectures is (going to have them? does the cgoto core have to work on them?). Regards, -- Gregor Leopold Toetsch <[EMAIL PROTECTED]> 02/05/2003 06:28 AM To: P6I <[EMAIL PROTECTED]> cc: Subject:[RfC] a scheme for core.ops exten

Re: [RfC] a scheme for core.ops extending

2003-02-05 Thread gregor
ect files. I disagree that it is too expensive, but I expect it will require hard data to settle the matter. Since this is my pet issue, I expect you won't be surprised when I say invalidating PBC files isn't necessary, and therefore we shouldn't feel obligated to follow past practice in that regard. [...] Regards, -- Gregor

Re: [RfC] a scheme for core.ops extending

2003-02-05 Thread gregor
practical... I haven't been able to come up with a way to determine that without trying it (and, :(, I have not had the time to actually try it out on a private copy -- in large part because the supporting infrastructure for dynamic oplibs isn't there yet, and its a big task to build that *and* do the fully dynamic experiment). Regards, -- Gregor

Re: [RfC] a scheme for core.ops extending

2003-02-05 Thread gregor
efine new classes at run time is a bonus, too. I'm interested in seeing similar capabilities in the underlying virtual machine (I guess I want to turn it into a malleable machine). Not only would I like to see dynamic optables, but I'd like a program to be able to find out about its op table, too. Oh, and I'd like to have indirect addressing modes where the register numbers come from other registers. Regards, -- Gregor

Re: Random questions...

2003-02-07 Thread gregor
Dan -- > Who's for, C's or perl's? C's for doesn't need an opcode. Perl's > arguably might, but I think we'll be better off putting the count of > things into an I register and iterating through the list as an array. Four words: Lazy Lists. Regards, -- Gregor

Re: [CVS ci] CGP - CGoto Prederefed runloop

2003-02-06 Thread gregor
leo++ Leopold Toetsch <[EMAIL PROTECTED]> 02/06/2003 07:37 AM To: P6I <[EMAIL PROTECTED]> cc: Subject:[CVS ci] CGP - CGoto Prederefed runloop This is one thing I allways wanted to try ;-) fast_core MOps: 11 Prederef: 17.5 CGoto MOps: 19.4 CG

Re: Change to the calling convention, and other fallout from last week's perl 6 meeting

2003-02-14 Thread gregor
ng, and imcc and the interpreter should conspire to make things as fast as possible and complain when things aren't compatible. If we have metadata with names, Parrot types and canonical order of the args, then any of the caller styles can be mapped to any of the callee styles. Regards, -- Gregor

Segfault in substr_s_ic_ic_sc op

2003-02-15 Thread gregor
h means its not testing what the code fragments would do in a fresh interpreter... Regards, -- Gregor

Re: This week's Perl 6 Summary

2003-02-17 Thread gregor
> ...but Leo seem to think that... I agree with the policy of referring to Leo in the plural. Regards, -- Gregor

Re: non-inline text in parrot assembly?

2003-02-22 Thread gregor
name your constants, but the net result is equivalent. Regards, -- Gregor Tupshin Harper <[EMAIL PROTECTED]> 02/22/2003 02:31 PM To: Leopold Toetsch <[EMAIL PROTECTED]> cc: [EMAIL PROTECTED] Subject:Re: non-inline text in par

Re: Status of PXS and some IMHO obsolete ops

2003-02-23 Thread gregor
Leo / Dan -- Have we allocated PASM or IMC directives to replace the setline, setfile, and setpackage ops? * .file * .line [] * .package Should we have an indicator of the name of a sub, too? Regards, -- Gregor Leopold Toetsch <[EMAIL PROTECTED]> 02/23/2003 04

Re: Object spec

2003-03-05 Thread gregor
us { [self error:"Bogon flux exceeds limit %d\n", BOGON_LIMIT]; } Also, there was a doesNotRecognize: method that was called by the runtime system when method lookup failed. I presume you could override it to do nasty things, but I never did that myself. Regards, -- Gregor

Re: Associations between classes [was: Re: Object spec]

2003-03-05 Thread gregor
Seems like you are thinking along the lines of making Parrot support Prevayler-style http://www-106.ibm.com/developerworks/web/library/wa-objprev/index.html stuff naturally and with less coding at the top layer. Is that where you are headed with this? Regards, -- Gregor Purdy Sam

Re: A6: Complex Parameter Types

2003-03-16 Thread gregor
#x27;get' methods in one place and teh Ellipse-like 'set' methods elsewhere. Circle could inherit from the EllipseGettable but not EllipseSettable (since you can ask for, but not set the semi axes). Regards, -- Gregor Purdy Nicholas Clark <[EMAIL PROTECTED]> 03/

Re: Perl and *ML

2003-03-26 Thread gregor
ontain the list of SAX events (or equivalent) required to reproduce it (allowing some lazy possibilities BTW). Regards, -- Gregor Purdy Dan Sugalski <[EMAIL PROTECTED]> 03/26/2003 10:25 AM To: [EMAIL PROTECTED] cc: Subject:Perl and *ML I think tha

[PATCH] .ops files use in/out/inout arg use qualifiers

2002-01-08 Thread gregor
fo in the OpLib/*.pm and oplib info struct where tools can access in/out/inout. Enjoy, and please let me know what you thyink. -- Gregor  Index: core.ops === RCS file: /home/perlcvs/parrot/core.ops,v retrieving revision 1.

Re: [perl #38914] perl Configure.pl fails on Mac OS X 10.4.6 on Intel iMac

2006-04-15 Thread Gregor Purdy
Will -- I closed the ticket right after filing it. False alarm on my new iMac -- I forgot to install the dev tools, and was too quick on the trigger for the ticket. Regards, -- Gregor On Apr 14, 2006, at 12:42 PM, Will Coleda via RT wrote: What does % gcc -v say? On Apr 13, 2006, at

Problem linking _read on this platform. Suggestions?

2001-09-17 Thread Gregor Purdy
Summary of my perl5 (5.0 patchlevel 5 subversion 2) configuration: Platform: osname=linux, osvers=2.0.35, archname=i386-linux-thread uname='linux caliban.xs4all.nl 2.0.35 #2 sat jul 18 01:37:18 cest 1998 i686 unknown ' hint=recommended, useposix=true, d_sigaction=define usethrea

Re: assembler doesn't grok comparators

2001-09-17 Thread Gregor Purdy
d me to put them back. le_i_ic doesn't do what you think it does. le_ic_ic does that. Regards, -- Gregor

Re: A task independent of the freeze

2001-09-21 Thread Gregor N. Purdy
o get it all the stuff it needs to link to. If someones gets it running, I'd like to see how many Mops they get vs. regular. This is generated from t/test.pbc (not t/test.pasm). The code is a total hack job, but you are welcome to look at it (compile.pl and

Re: Jako patch

2001-09-18 Thread Gregor N. Purdy
Thanks. Applied. On Tue, 18 Sep 2001, Simon Cozens wrote: > This enables typecasting between I and N registers, fixes up the > error messages, and makes "var num" not require an assignment. > > I note that some pseudo-ops don't work, and "mod" doesn't work > as a pseudo op with a constant; nor

[COMMIT] Reworked disassemble.pl

2001-09-18 Thread Gregor N. Purdy
a 'scripts' subdirectory? Regards, -- Gregor _ / perl -e 'srand(-2091643526); print chr rand 90 for (0..4)' \ Gregor N. Purdy [EMAIL PROTECTED] Focus Researc

[PATCH AGAIN] Revised op tracing patch

2001-09-17 Thread Gregor N. Purdy
* test_main.c now checks for '-t' arg and sets the tracing flag on its interpreter instance as appropriate. I'd like to commit this soon to clear out my sandbox so I can go back and re-commit the constant comparison ops. So, if there are

Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
7; collect2: ld returned 1 exit status make: *** [parrot] Error 1 -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/ 6216 Eddington Drive, Suite B Liberty Township, OH 45044

Re: Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
of implementation is causing the compile failure. And, the existence of the prototype in two places seems like a bad idea... Which file do you think has the implementation of this function? Regards, -- Gregor On Wed, 2003-07-02 at 11:48, Leopold Toetsch wrote: > Gregor N. Purdy <[EMAIL PRO

Re: Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
H ((PREV_OP == dec_i) || (PREV_OP == inc_i) || (PREV_OP == sub_i_i_i)) Parrot_end { jit_emit_end(NATIVECODE); } $ But its definitely not ending up in jit_cpu.c here... Regards, -- Gregor On Wed, 2003-07-02 at 12:51, Leopold Toetsch wrote: > Gregor N. Purdy <[EMAIL PROTECTED]> wrote: >

Re: Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
Leo -- Daniel and I are on the trail... On Wed, 2003-07-02 at 17:47, Leopold Toetsch wrote: > Gregor N. Purdy wrote: > > > Leo -- > > > > My jit_cpu.c doesn't have a Parrot_jit_end() in it: > > > > $ grep end_jit jit_cpu.c > > Wasn't her

Re: Parrot doesn't compile: Parrot_end_jit() missing...

2003-07-02 Thread Gregor N. Purdy
OK. Daniel and I drilled into it and we discovered that a small change to two regexps in jit2h.pl solved the problem. I have checked in the change. Regards, -- Gregor On Wed, 2003-07-02 at 18:02, Gregor N. Purdy wrote: > Leo -- > > Daniel and I are on the trail... > > On Wed

Jako gets modules (sort of)

2003-07-02 Thread Gregor N. Purdy
me for external libraries (such as Curses.jako). In any case, if you've been watching Jako (like watching corn grow, I know) or toying with it, this new update should add some fun to your day... Regards, -- Gregor -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/

Jako has modules! (for real this time)

2003-07-03 Thread Gregor N. Purdy
ding sys, string and Curses) is now used by the examples as a proof of concept. Regards, -- Gregor -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/

Jako groks basic PMCs

2003-07-08 Thread Gregor N. Purdy
All -- I just checked in a small patch that allows Jako to start grokking PMCs. For example: use sys; var pmc foo; foo = new PerlUndef; foo = "Hello, world!\n"; sys::print(foo); Regards, -- Gregor -- Gregor Purdy

Re: Jako groks basic PMCs

2003-07-08 Thread Gregor N. Purdy
Melvin -- Thanks! Its of only limited utility until I get the key stuff working, but I was tired of having a null PMC story for Jako. Regards, -- Gregor On Tue, 2003-07-08 at 18:01, Melvin Smith wrote: > At 05:44 PM 7/8/2003 -0400, Gregor N. Purdy wrote: > >I just checked in a sm

Re: Jako groks basic PMCs

2003-07-08 Thread Gregor N. Purdy
IIRC, that has been the policy during previous freezes. However, I can stop tinkering if its getting in anyone's way or on anyone's nerves... Regards, -- Gregor On Tue, 2003-07-08 at 18:01, Melvin Smith wrote: > At 11:50 PM 7/8/2003 +0200, Leopold Toetsch wrote: > >Gr

Re: Jako groks basic PMCs

2003-07-09 Thread Gregor N. Purdy
Leo -- No problem. I saw the smiley, but SCNR was new to me. "we cool" :) Regards, -- Gregor On Wed, 2003-07-09 at 02:08, Leopold Toetsch wrote: > Gregor N. Purdy wrote: > > > IIRC, that has been the policy during previous freezes. > > > > However, I ca

[PATCH] "fix" boolean.pmc and closure.pmc?

2003-07-09 Thread Gregor N. Purdy
ugh recent posts seem to imply that). Regards, -- Gregor -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/ Index: classes/boolean.pmc === RCS file: /

Copyrights

2003-07-09 Thread Gregor N. Purdy
All -- I noticed that there are many files with copyrights of "when this is determined...", while some files have a copyright of Yet Another Society. Seems like they should all be Yet Another, or none should be... Regards, -- Gregor -- Gregor Purdy[EMAIL

Re: [PATCH] "fix" boolean.pmc and closure.pmc?

2003-07-10 Thread Gregor N. Purdy
Leo -- Its looking like a Heisenbug. I deleted and got fresh copies of boolean.pmc and closure.pmc and tried to build again so I could copy the error messsages for you. But, now things compile without complaint. Go figure. Regards, -- Gregor On Thu, 2003-07-10 at 02:51, Leopold Toetsch wrote

imcc and integer constants

2003-07-10 Thread Gregor N. Purdy
; r->name[1] == 'b') r->color = strtoul(r->name+2, 0, 2); else r->color = atoi(r->name); break; Shouldn't atoi() be atol()? Regards, -- Gregor -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/

Using imcc instead of assemble.pl?

2003-07-10 Thread Gregor N. Purdy
dissassemble.pl on the one assembled with imcc and the one assembled with assemble.pl. However, disassemble.pl dies while looking at the immc assembled version (the assemble.pl assembled version disassembles fine): Unrecognized constant type code '0'! at /home/gregor/src/parrot-cvs/lib/Parro

Re: Copyrights

2003-07-10 Thread Gregor N. Purdy
Robert -- I just ran a little script (pasted at the end), and here is what we have, today: Total regular files:2793 When this is determined is in: 108 Yet Another Society is in: 32 The Perl Foundation is in: 0 Regards, -- Gregor On Thu, 2003-07-10 at 14:56, Robert Spier

Re: cmod op

2003-07-10 Thread Gregor N. Purdy
think should be remedied by adding vtable methods. Note that the Knuth-style mod can be useful for things like calendrical calculations. Regards, -- Gregor On Thu, 2003-07-10 at 19:54, Simon Glover wrote: > The PMC version of this op (ie cmod_p_p_p) is identical in > implementation to the p

Re: Event handling (was Re: [CVS ci] exceptions-6: signals, catch a SIGFPE (generic platform)

2003-07-11 Thread Gregor N. Purdy
bit more logic to make sure that "thread" is not starved (if that is important). Regards, -- Gregor On Fri, 2003-07-11 at 16:07, Benjamin Goldberg wrote: > Leopold Toetsch wrote: > [snip] > > - When will we check, it there are events in the event queue? > > If we check

Re: [RfC] Clean up of the ParrotIOLayerAPI

2003-07-27 Thread Gregor N. Purdy
Parrot string in some encoding, and we are going to Write/Put it to STDOUT, which is headed for someone's terminal, we might need to do more than just blast the buffer if we expect the user to do anything other than curse us and our mothers. Regards, -- Gregor

Re: Subversion?

2005-02-04 Thread Gregor N. Purdy
I think Parrot is already about subversion. All your interpreter are belong to us. Ron Blaschke wrote: Just curious. Are there any plans moving parrot to subversion? Ron

Re: More registers

2005-04-19 Thread Gregor N. Purdy
Leo -- I had posted a program a while ago that generates large fake programs for testing such things. Did that not help? I think I still have it in my working directory if you'd like to have a peek at it... Regards, -- Gregor Dan Sugalski wrote: At 12:05 PM +0200 4/13/05, Leopold Toetsch wrot

Re: new libraries

2004-04-09 Thread Gregor N. Purdy
Sounds like a deep version of map... Regards, -- Gregor On Fri, 2004-04-09 at 06:02, Jens Rieks wrote: > Hi, > > On Thursday 08 April 2004 23:49, Tim Bunce wrote: > > On Thu, Apr 08, 2004 at 08:28:49PM +0200, Jens Rieks wrote: > > > Data::Replace replaces every oc

Re: Compatibility with perl 5

2004-04-14 Thread Gregor N. Purdy
, -- Gregor On Tue, 2004-04-13 at 08:12, Luke Palmer wrote: > David Cantrell writes: > > A few days ago I briefly discussed with Nicholas Clark (current perl 5.8 > > pumpking) about making perl5 code forward-compatible with perl6. A > > quick look through the mailing list ar

Re: Compatibility with perl 5

2004-04-14 Thread Gregor N. Purdy
ture of Perl 6. #!/usr/bin/perl6 ... # Perl 6 stuff here use 5; # or, whatever # Perl 5 stuff here no 5; # or, whatever # More Perl 6 stuff here use python; # you get the idea ... Regards, -- Gregor On Wed, 2004-04-14 at 12:59, Aaron Sherman wrote: > On Wed, 200

Re: Compatibility with perl 5

2004-04-14 Thread Gregor N. Purdy
Brent -- Clever points are relatively high here, but I find the idea of doing the notionally simultaneous parse uncomfortable. I really don't want my programs subject to a hidden double parse cost. Regards, -- Gregor On Wed, 2004-04-14 at 15:30, Brent 'Dax' Royal-Gordon wrote:

Re: Compatibility with perl 5

2004-04-14 Thread Gregor N. Purdy
achy keen. If you pass it to a Python interpreter, you get what you deserve :) You have used "use syntax" which falls under the category of "# or whatever" in my message. Regards, -- Gregor On Wed, 2004-04-14 at 18:51, Brent 'Dax' Royal-Gordon wrote: > Gregor N

Re: The Pie-thon benchmark

2004-06-21 Thread Gregor N. Purdy
So, where and when is the pie-throwing going to happen, precisely? IIRC, its at OSCON, but last time i googled for it, I didn't see mention of which OSCON session or BOF it would be at Regards, -- Gregor Dan Sugalski wrote: Since this is getting worked on now, I figured I'd post the

Re: Python::Bytecode

2004-07-12 Thread Gregor N. Purdy
P::B. If so, maybe someone could take part of P::B::S and use it. http://www.gregorpurdy.com/gregor/sw/Python-Bytecode-SAX/ Regards, -- Gregor Leopold Toetsch wrote: ... is on CPAN (said Dan) and is broken. I'd be glad if people could fix it and send me a running version ;) * constants are

Re: Starting to make things final

2004-08-03 Thread Gregor N. Purdy
g convention stuff *again*? Regards, -- Gregor Dan Sugalski wrote: In what's seems a rather bizarre twist, Parrot's getting production ready. Yes, I find this really strange, and no, I'm not even talking about my work project, though I probably should. Python and PHP are both nea

Re: Compile op with return values

2004-08-23 Thread Gregor N. Purdy
Hmmm... Wouldn't a C compiler want to return a sub that invoked the main() (if there was one)? And, if there wasn't one, wouldn't the C compiler want to return a sub that raised an exception? Regards, -- Gregor Dan Sugalski wrote: At 11:03 PM -0700 8/21/04, Steve Fink wrote: I a

Pathological Register Allocation Scenarios

2004-08-27 Thread Gregor N. Purdy
ilers in these cases? Regards, -- Gregor

Re: Pathological Register Allocation Scenarios

2004-08-30 Thread Gregor N. Purdy
Dan -- Something like this for the .imc generation? Regards, -- Gregor --- snip: gen-imc.pl -- #!/usr/bin/perl -w use strict; die "Usage: $0 \n" unless @ARGV == 2; my ($total_labels, $total_locals) = @ARGV; my $labels_so_far = 0; my $locals_

Pathological Register Allocation Test Generator

2004-10-02 Thread Gregor N. Purdy
++ -c gen.cpp and imcc -o x.x gen.imc on my system, the g++ compiler does eventually finish, but the imcc compiler is eventually killed. Maybe this could be used to drive out the underlying problems that are keeping parrot from compiling Dan's really large subs? Regards, -- Gregor Gregor N.

examples/sub.pasm (and others) broken?

2003-09-18 Thread Gregor N. Purdy
) Regards, -- Gregor -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/

Re: Problem building jako (perl version dependency?)

2003-09-18 Thread Gregor N. Purdy
Andy -- I didn't see anything wrong in the code, but I added some parens. Let me know if you still have trouble... Regards, -- Gregor On Mon, 2003-09-15 at 08:51, Andy Dougherty wrote: > On Solaris 8, with Sun's supplied perl5.00503 and with Sun's cc, I get the > follow

Re: examples/sub.pasm (and others) broken?

2003-09-18 Thread Gregor N. Purdy
I threw to the list in case someone has the tuits to fix the examples. I really don't think we should ship with broken examples. They should be fixed or removed if it isn't worth it... Regards, -- Gregor On Thu, 2003-09-18 at 21:04, Steve Fink wrote: > On Sep-18, Gregor N. Purdy wr

IMCC .globalconst?

2003-09-20 Thread Gregor N. Purdy
ight way to do this stuff??? Regards, -- Gregor -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/

Re: IMCC .globalconst?

2003-09-20 Thread Gregor N. Purdy
; and the collection approach you suggest would make it not choke in IMCC. I want the visibility of my symbols in IMCC to match their visibility in the source language. Of course, if I didn't care about the extra visibility, then collection would be A Fine Idea (TM). Regards, -- Gregor On Sat, 2

Re: Pondering argument passing

2003-09-20 Thread Gregor N. Purdy
accessed, on the other hand... IIRC the conventions are set up in such a way that the PMC would have to know the args prototype to know which registers to use for each element of the array, whether copying values from them or just providing an interface to them. Regards, -- Gregor On Sat, 2003-09

string_to_cstring()

2003-09-21 Thread Gregor N. Purdy
ght need to output a buffer of stuff that contains an interior zero byte, which would throw off the old way of doing things. Regards, --Gregor -- Gregor Purdy[EMAIL PROTECTED] Focus Research, Inc. http://www.focusresearch.com/

Re: jako causing MANIFEST failures

2003-09-21 Thread Gregor N. Purdy
omplaint right then and there instead of having to remember to go back and build/test Parrot again (which hasn't been changed after all). Regards, -- Gregor On Sun, 2003-09-21 at 10:43, Nicholas Clark wrote: > On Sun, Sep 21, 2003 at 05:49:41PM +0100, Nicholas Clark wrote: > > I

  1   2   3   >