🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Joseph H Allen Thu, 30 Sep 1993 17:19
IVY version 2
#4268
Author: Joseph H Allen
Date: Thu, 30 Sep 1993 17:19
29 lines
1467 bytes
I've posted to alt.sources an other version of my new interpreted command
language.

This version includes a number of fixes:

  - the atoi[] library function is fixed

  - 'else' associates properly on single line commands:
        if 1==2 print "One" else print "Two"

  - you can access immediate objects like you can immediate strings:
        for a=0,a!=3,++a print {"One","Two","Three"}[a]

  - calling a returned function or object now works: foo[][5]

  - lambda function syntax has been changed to look more like named-function
    syntax:  (:: x y z; x*y*z)  or  (::[x,y,z] x*y*z)

  - some additional error checking has been added.  More still needs to be
    done

Oh, I forgot to do it to this version, but, as many people have suggested,
next version will not be GNU licensed.
-- 
/*  jhallen@world.std.com (192.74.137.5) */               /* Joseph H. Allen */
int a[1817];main(z,p,q,r){for(p=80;q+p-80;p-=2*a[p])for(z=9;z--;)q=3&(r=time(0)
+r*57)/7,q=q?q-1?q-2?1-p%79?-1:0:p%79-77?1:0:p<1659?79:0:p>158?-79:0,q?!a[p+q*2
]?a[p+=a[p+=q]=q]=q:0:0;for(;q++-1817;)printf(q%79?"%c":"%c\n"," #"[!a[q-1]]);}
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads