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
> testpo
o:
run_command("$parrot z3.pir $test_file", CD=>"Zcode"
(I need to cd into Zcode so that I can run z3.pir and find the z*.pir
files it depends on.)
Any thoughts on why this is happening?
-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
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 t
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
[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
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
lso, how do I make sure it'll find parrot before make
install has been done?) I didn't see a languages.pod with this info,
but maybe I just wasn't looking in the right place.
-Amir Karger
es
are nesting while translating, which sounds like a disaster.
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]
___
36620] Bug in editor/ops2vim.pl
>
> actually, 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]
>
the latter, I'll probably be asking lots of questions about PIR
best 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
(There's a bit about Parrot at the end.)
Recently seen on Amir's monitor (pardon the Windows-ness):
=
C:\Amir\Perl\Parrot\ParrotZ>perl plotz.pl story\minizork.z3
Unimplemented opcode read at 15520
Unimplemented opcode restart at 22205
Unimplemented opco
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
>
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 maki
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 PI
--- 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
--- 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
--- Uri Guttman <[EMAIL PROTECTED]> wrote:
> >>>>> "AK" == Amir Karger <[EMAIL PROTECTED]> writes:
>
> AK> Er, I'll assume you have a magic (pun slightly intended) way to
> AK> decide which files are Zcode? How will you tell the Z
i <[EMAIL PROTECTED]> wrote:
> On Sat, 6 Sep 2003, Amir Karger wrote:
>
> > I'll need to write Zmachine.ops, or some such. It will include all
> > the Z-machine operations, which the bytecode will call.
>
> Yep.
OK. Although Luke Palmer seems to think differentl
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
>
> --- 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 win
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) obfusc
Hi.
I get the following error when I try to parrot -o basic.pbc
merged_basic.pasm (in parrot 0.0.10 on Win32):
(error) line 164: parse error, unexpected INTC, expecting '\n'
The error appears to be in line 164 of stackops.pasm, which seems to be
missing a comma. I looked at CVSweb and it seems t
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
of mucking 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
of mucking 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 thi
of Parrot, Perl,
and Z, so it would be a lot of fun (if mostly useless) 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
27 matches
Mail list logo