This forum is closed to new posts due to low activity and a deluge of spam. It is kept online as a static historical record. If you want to read about or discuss esoteric programming languages, the Esolang wiki is the place to go. An archive of the forum is available.

Oivphael Esolang (3)

1 Name: kxspxr : 2007-02-03 19:55 ID:7fTvDPXG

I have made my third esoteric language available, Oivphael.
Oivphael doc, download and specs:
http://www.black-light.org/rpflech/oivphael.html

Compiled binary is for Mac OS X - source code for freepascal is included.
-kxspxr
http://www.black-light.org/rpflech

2 Name: Marinus Oosters : 2007-04-22 11:39 ID:zaFluQHH

I was looking through the source of your interpreter, and there I found this:

	'j' :
begin
push(i-1);
i:=m[p]-1;
end;
	'r' : i:=pop;

I'm not a Pascal programmer, but wouldn't this make "j"'s return address one less than where you jumped from?

Add to that that the instruction pointer is incremented after executing an instruction, which would make 'r' jump not to the instruction at the popped address but to the instruction after that. So not only are j and r both acting slightly different than your specification says, but if you use 'r' to jump back, you would end up at the 'j' you came from, repeating the jump. Which seems kind of weird, as no other language does that and this is not really desired behaviour.

Is this simply a bug or is it intentional?

3 Name: kxspxr : 2007-06-08 15:28 ID:7fTvDPXG

You're right - that is a bug. Thanks for noticing! I'll have that fixed.

-kxspxr

Name: Link:
Leave these fields empty (spam trap):
More options...
Verification: