Zcode interpreter release

2005-08-24 Thread Amir Karger
*.pir files it depends on.) Any thoughts on why this is happening? -Amir Karger

Re: Zcode interpreter release

2005-08-24 Thread Amir Karger
On 8/23/05, I wrote: I adopted the Zcode interpreter that leo posted in February. The only bad news is there's something wrong with my make test. I managed to narrow this down to a very weird Perl behavior I don't understand at all: testportal:~mkdir z testportal:~cd z

parrot -I?

2005-08-10 Thread Amir Karger
If I say perl Zcode/t/harness I want it to run parrot Zcode/z3.imc testfile.z3. My current problem is that z3.imc includes a file z3main.imc. So the above command breaks because z3.imc can't find the include file. If this were Perl, I would just say Perl-IZcode Zcode/z3.imc testfile.z3. But I

Re: [perl #36842] interpreter.c breaks at line 277

2005-08-09 Thread Amir Karger
I ran with --without-icu but I never typed in --cgoto=0. Anyway, make realclean did fix the problem. When do I need to rerun configure and/or make clean/realclean? (I guess when it breaks is an OK answer.) Btw, if I want to rerun configure with the same -- options, is there a trivial way to do

In languages/, make test bc dies because I don't have antlr

2005-08-09 Thread Amir Karger
Running make test in languages dies because make bc.test tries to run antlr, and I don't have antlr. Should configure test for its existence or something? -Amir

Re: What's needed for a new languages/t/*?

2005-08-07 Thread Amir Karger
[Argh! Posted to google groups again!] Bernhard Schmalhofer wrote: Amir Karger schrieb: I have a test script that runs 85 tests (and will run many more once I write more opcodes. So if all I want to do is, essentially, perl -e 'chdir languages/Z and system(parrot z3.imc t/test.z3

What's needed for a new languages/t/*?

2005-08-04 Thread Amir Karger
done?) I didn't see a languages.pod with this info, but maybe I just wasn't looking in the right place. -Amir Karger

Reading a large data structure

2005-08-04 Thread Amir Karger
Is there a way to declare an array of, say, 300 strings in PIR other than arr = 300 arr[0] = hi arr[1] = there arr[2] = my ... arr[298] = very arr[299] = tired Same question with a hash of hashes or whatever. -Amir

Does it cost anything to use a big pmc everywhere?

2005-07-29 Thread Amir Karger
. This is what I get for trying to develop in PIR after ignoring the mailing list for 6 months and not reading the basic docs. Thanks, -Amir Karger It's better to write me at [EMAIL PROTECTED] Start your day with Yahoo! - make it your

RE: [perl #36620] Bug in editor/ops2vim.pl

2005-07-22 Thread Amir Karger
, it should be while() { applied, thanks. On 7/21/05, via RT Amir Karger [EMAIL PROTECTED] wrote: # New Ticket Created by Amir Karger # Please include the string: [perl #36620] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3

Language::Zcode - Translates Z-code to Perl (and, kinda maybe, to PIR)

2004-09-15 Thread Amir Karger
practices. So be nice. Comments, advice, help will be much appreciated. -Amir Karger ___ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com

[OT] Plotz status

2003-10-22 Thread Amir Karger
(There's a bit about Parrot at the end.) Recently seen on Amir's monitor (pardon the Windows-ness): = C:\Amir\Perl\Parrot\ParrotZperl plotz.pl story\minizork.z3 Unimplemented opcode read at 15520 Unimplemented opcode restart at 22205 Unimplemented

Re: parrot stack and Z-machine

2003-10-08 Thread Amir Karger
Luke Palmer writes: Amir Karger writes: I realized that I get in trouble when we get to the save/restore commands. Those are supposed to save and restore the call stack, which includes the subroutine addresses all the local variables in the various routines. Am I right in thinking I

parrot stack and Z-machine

2003-10-07 Thread Amir Karger
Still working on the prelude to the preface to the Z-machine running natively on Parrot project, namely translating Z-code into a Perl executable. (My brother, who's a CS professor so he should know, says I'm actually *compiling* it. Compiling bytecode to an interpreted language? Weird!) I'm

Argh!

2003-09-24 Thread Amir Karger
Apologies if I'm repeating myself, but I think I accidentally posted my parrotZ status a few days ago using Google groups instead of email. Did noone receive my mail, or was it just too long to read? One of the things I mentioned there is that I would love to have some very simple examples of PIR

Re: Parrot Z-machine

2003-09-09 Thread Amir Karger
--- Uri Guttman [EMAIL PROTECTED] wrote: AK == Amir Karger [EMAIL PROTECTED] writes: the designs range from a total code conversion, load and translate the zcode into equivilent imcc. this should be the easiest to do as you just need to write a code generator for each zcode op. you can

Re: Parrot Z-machine

2003-09-09 Thread Amir Karger
--- Nicholas Clark [EMAIL PROTECTED] wrote: On Mon, Sep 08, 2003 at 08:48:07PM -0700, Amir Karger wrote: Cheat first to help you get started. Actually, I believe True Laziness would say cheat always. Except maybe when Hubris says it'll look cooler if it's native :) We found at work

Re: Parrot Z-machine

2003-09-08 Thread Amir Karger
OK. I think I've learned enough about Parrot to respond to this email intelligently. --- Nicholas Clark [EMAIL PROTECTED] wrote: - Is it not being ported because of a lack of tuits, or because it's extremely hard? We'd need dynamic opcode loading because we don't want to have the

Re: Bugs in BASIC interpreter?

2003-09-05 Thread Amir Karger
--- Leopold Toetsch [EMAIL PROTECTED] wrote: Amir Karger [EMAIL PROTECTED] wrote: [fixes] I'll put in these fixes. Thanks! The bad news is that when I then try to parrot it, Windows throws me an error window saying parrot died. I don't know why. linux SIGSEGVs. The problem

parrotZ license issues (was Re: Parrot Z-machine)

2003-09-04 Thread Amir Karger
Sigh. My plan in starting this discussion was not to talk about licenses. But it sounds like it's safer not to use Winfrotz if we don't have to. I note that Games::Rezrov is same terms as Perl itself license. However, in his effort to make Rezrov run fast, the author (by his own admission)

Fwd: Re: Parrot Z-machine

2003-09-02 Thread Amir Karger
about with Z-code and PASM. [I'd better apologize up front for verbosity. Hard to believe I play Perl Golf, really.] --- Nicholas Clark [EMAIL PROTECTED] wrote: On Thu, Aug 28, 2003 at 06:17:07AM -0700, Amir Karger wrote: Hi. Hugely newbie at Parroting, but think it's the coolest. Good stuff. I

Re: Parrot Z-machine

2003-09-02 Thread Amir Karger
about with Z-code and PASM. [I'd better apologize up front for verbosity. Hard to believe I play Perl Golf, really.] [Also, apologies if this is a repost. I think I sent this only to Nicholas.] --- Nicholas Clark [EMAIL PROTECTED] wrote: On Thu, Aug 28, 2003 at 06:17:07AM -0700, Amir Karger wrote

Re: Parrot Z-machine

2003-09-02 Thread Amir Karger
A couple more questions on the coding front: (1) Even though it's supposed to be native Parrot support, I'm still allowed to write in PIR, right? Because that'll be translated to pasm and thereby be native. (2) WinFrotz, one of the popular C Z-machine runtimes, is GPL. If I steal code or ideas

Parrot Z-machine

2003-08-28 Thread Amir Karger
) to get them working together. With some helpful hints and lots of free time (ha!) I might actually be able to contribute some. -Amir Karger __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com