RE: [Funge] hello?
Brought to you by:
vsync
|
From: Steve B. <me...@st...> - 2003-12-01 13:03:40
|
Hi,
Well, now that I know I have an audience of at least _1_ ...:)
Actually I have to say the existence of funge is pretty depressing for me.
I'd had this 'great idea' to write an interpreter for a 2D language, worked
out all the details of syntax etc, only to do a search and discover that
funge is identical to within about 10-20%. About the only differences are
that mine uses / and \ rather than l(eft) and r(ight), you can define
functions, and it's not (yet) as powerful in stuff like string manipulation
etc.
Oh, and you can input integer literals directly (12345), and strings
forwards. It also has an operator stack, so the following three bits of
code are identical:
123 456+
123+456
+123 456
All operators behave that way, so you can get some pretty odd behaviour if
you push some ifs (?, same behaviour as befunge 'w') on the stack before you
meet any numbers.
Lastly, functions are defined by using a capital letter, and called by using
a lower case letter. If the PC hits a capital letter it behaves like '.'
which 'returns' from the function (retaining its delta) So if you want to
use l and r as they behave in funge, you can use this code:
@@@@@@
@.\. @
@/L/.@
@.\R\@
@ ./.@
@@@@@@
The @ is just the equivalent of ; but I'll probably change it.
Anyway, I just felt like telling someone. :) I'm not really sure what to do
with it. I set out with a slightly different aim from *funge, that is, to
produce a somewhat viable 2d language (whereas *funge, from what I can tell
from the archives here, aims to remain 'esoteric' and hence eschews
functions, multi-character literals etc).
Steve
Steve
> -----Original Message-----
> From: fun...@li...
> [mailto:fun...@li...]On Behalf Of Daniel Davis
> Sent: Monday, 1th December 2003 11:32 PM
> To: fun...@li...
> Subject: Re: [Funge] hello?
>
>
> Steve Bennett wrote:
> > Hi,
> > Just wondering if there is anyone reading this list. The source forge
> > project page didn't look too promising.
>
> Looks like I'm reading this list although there hasn't been that much
> to read for the past year or two. Nothing actually. Had forgotten the
> existence of a list like this...
>
> Anybody else? Anybody with anything to say about *funge? Anything new
> concerning temporal funge?
>
> --
> rm:$m=chr(ord($--$?)-$^F**($^F+$^F));#!u/-*/,~20;%*&~q%"/*&-~gt"/&
> g~%"v*s\/q;!r\
> `$^X$m-pi$m-e\'y|["-/2]\n!rq~g|[a-n\\\$]+\n#"$m-|;\'$m${$-}`;X:$\=
> `$^X$m${-$%}`;
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> funge-list mailing list
> fun...@li...
> https://lists.sourceforge.net/lists/listinfo/funge-list
|