🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #4268

IVY version 2

#4268
From: 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]]);}
Technical Details
Message-ID: <CE6G4p.IE2@world.std.com>
Path: arc1-ca.pugleaf.net!wupost!howland.reston.ans.net!pipex!uunet!world!jhallen

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.misc,alt.sources
Path: arc1-ca.pugleaf.net!wupost!howland.reston.ans.net!pipex!uunet!world!jhallen
From: jhallen@world.std.com (Joseph H Allen)
Subject: IVY version 2
Message-ID: <CE6G4p.IE2@world.std.com>
Organization: The World Public Access UNIX, Brookline, MA
Date: Thu, 30 Sep 1993 17:19:36 GMT
Lines: 29