view interps/linguine/pi.lng @ 11633:a56795ce5d0a draft

<oerjan> le/rn hammurabi//If anyone creates a webpage that unexpectedly starts playing sounds, he shall be put to death. http://45338297.weebly.com/laws-on-property-and-theft.html
author HackEso <hackeso@esolangs.org>
date Tue, 23 Oct 2018 23:09:55 +0000
parents 859f9b4339e6
children
line wrap: on
line source

'pi calculator in Linguine
'Programmed by Jeffry Johnston, 2005
1[0=1,1=0,2=1,3=1,4=46]2 
2[5=*0,5+*0,5+*0,-2=*5,-2+*1,-3=*2,-1=3]16    
3[6=*-2,-2=*5,-2+*0,-2+*1,-1=4]16             
4[6~*-2:8,-3=*3,-3+*3,-3+1,-2=*2,-1=5]14       
5[2=*-2,1+*0,1+*0,-2=*1,-1=6]14               
6[1=*-2,-2=*0,-3=*3,-1=7]14         
7[0=*-2,3+1]2
8[6#,4~46:9]10
9[4$,4=0]10
10[-2=*0,-3=10,-1=11]14                         
11[0=*-2,-2=*2,-3=*6,-1=12]14
12[1-*-2,-2=*1,-3=10,-1=13]14
13[1=*-2]2                                      
14[-4=*-3,-5=*-2,-2=0]15
15[-4~0:*-1,-2+*-5,-4-1]15
16[-4=*-2,-2=0]17
17[-4<*-3:*-1,-4-*-3,-2+1]17