The language that tamed the ErprE

Posted by s on May 27, 2008, 8:30 p.m.

g=[1,1,0]+[0,1]*1000710

y=3

while y<1415:

. x=y

. while x<1999999:

. . x+=y

. . g[x]=1

. y+=2

. while y<1415 and g[y]==1:y+=2

x=3

y=2

while x<1999999:

. if g[x]==0:y+=x

. x+=2

print y

(Ya, Python even has a smooth swap like ASM (Okay, so you have to write the variables twice) with x,y=y,x. x=y=0 makes it unugly, so my style of x=0;y=0 is allowed to live free among the grasses. FREE YOU HEAR ME? Ya, that's enough for today. We'll keep Jimmy down and just bloat in this little paranote that I always seem to bloat for some reason)

Really could use a tab finder or [tab] or something

Something I like is how out in the open defining a function is. With GM I avoid creating scripts. I could probably use lambda more

So ya, fun day at the volunteering. You know, kids bleeding and yelling with no proper playing of pool. All that fun stuff. I even stayed an extra hour just because there were only 3 people until about half an hour before I left

Anyways, got to go cloud snorkling

Comments

Polystyrene Man 16 years, 7 months ago

Ah, you had me excited that GM was now supporting 3D arrays. Alas, it's not even GML.

s 16 years, 7 months ago

When you stop and look at other languages, you really see how basic GML is