YaK:: Gerund & Joy Language | [Changes] [Calendar] [Search] [Index] [PhotoTags] |
http://www.kevinalbrecht.com/code/joy-mirror/j03atm.html
http://www.kevinalbrecht.com/code/joy-mirror/j06prg.html
Glass App: https://yak-zero.appspot.com/
App Engine: https://appengine.google.com/dashboard?&app_id=s~yak-zero
Git Hub: https://github.com/strickyak/mirror-happiness
$ python happy.py 'define incr: 1 adding.' 'define double: duplicating adding.' '3 double 9 double adding incr'
<<<'define incr: 1 adding.' >>>None <<<'define double: duplicating adding.' >>>None <<<'3 double 9 double adding incr' <<< <<< <<<'3' >>> >>> >>>[3.0] <<< <<< <<<'double' <<< <<< <<<'duplicating' >>> >>> >>>[3.0, 3.0] <<< <<< <<<'adding' >>> >>> >>>[6.0] >>> >>> >>>[6.0] <<< <<< <<<'9' >>> >>> >>>[6.0, 9.0] <<< <<< <<<'double' <<< <<< <<<'duplicating' >>> >>> >>>[6.0, 9.0, 9.0] <<< <<< <<<'adding' >>> >>> >>>[6.0, 18.0] >>> >>> >>>[6.0, 18.0] <<< <<< <<<'adding' >>> >>> >>>[24.0] <<< <<< <<<'incr' <<< <<< <<<'1' >>> >>> >>>[24.0, 1.0] <<< <<< <<<'adding' >>> >>> >>>[25.0] >>> >>> >>>[25.0] >>>[25.0]
big : ['20'] did : [] doubling : ['duplicating', 'adding'] exodus : ['genesis', 'opening', 'duplicating', 'multiplying', 'closing', 'mapping'] fibonacci : ['big', 'fish', 'big', '2', 'subtracting', 'opening', 'fibonacci', 'third', 'closing', 'iterating'] fibonacci1 : ['one', 'negatory', 'shifting', 'big', 'fish', 'multiplying'] fibonacci2 : ['one', 'shifting'] fibonacci3 : ['duplicating', 'fibonacci', 'fourth', 'swapping', 'one', 'shifting', 'adding'] fibonacci4 : ['duplicating', 'fibonacci', 'first', 'adding', 'big', 'fish', 'multiplying'] fish : ['basis'] genesis : ['big', 'counting'] genesis : ['200', 'counting'] ham_cheese : ['opening', '8', '3', 'closing'] in : [] incrementing : ['1', 'adding'] levi : ['exodus', 'summing'] negatory : ['0', 'swapping', 'subtracting'] pink : ['pink', 'with', 'triangle'] pink_triangle : ['opening', 'opening', '300', '0', '0', '200', '400', '300', '222', '111', '222', 'closing', 'closing'] prime : ['big', 'counting', 'prime3', 'dropping'] prime2 : ['big', 'counting', 'modulo', '0', 'equals', 'summing', '2', 'equals'] prime3 : ['big', 'counting', 'opening', 'prime2', 'closing', 'mapping'] shift : ['shifting'] squaring : ['duplicating', 'multiplying'] |
{{ fibonacci }} ([218922995834555169026L, 135301852344706746049L, 83621143489848422977L, 51680708854858323072L, 31940434634990099905L, 19740274219868223167L, 12200160415121876738L, 7540113804746346429L, 4660046610375530309L, 2880067194370816120L, 1779979416004714189L, 1100087778366101931L, 679891637638612258L, 420196140727489673L, 259695496911122585L, 160500643816367088L, 99194853094755497L, 61305790721611591L, 37889062373143906L, 23416728348467685L, 14472334024676221L, 8944394323791464L, 5527939700884757L, 3416454622906707L, 2111485077978050L, 1304969544928657L, 806515533049393L, 498454011879264L, 308061521170129L, 190392490709135L, 117669030460994L, 72723460248141L, 44945570212853L, 27777890035288L, 17167680177565L, 10610209857723L, 6557470319842L, 4052739537881L, 2504730781961L, 1548008755920L, 956722026041L, 591286729879L, 365435296162L, 225851433717L, 139583862445L, 86267571272L, 53316291173L, 32951280099L, 20365011074L, 12586269025L, 7778742049L, 4807526976L, 2971215073L, 1836311903, 1134903170, 701408733, 433494437, 267914296, 165580141, 102334155, 63245986, 39088169, 24157817, 14930352, 9227465, 5702887, 3524578, 2178309, 1346269, 832040, 514229, 317811, 196418, 121393, 75025, 46368, 28657, 17711, 10946, 6765, 4181, 2584, 1597, 987, 610, 377, 233, 144, 89, 55, 34, 21, 13, 8, 5, 3, 2, 1, 1, 0], 'ticks=3446') |
{{ prime }} ([2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97], 'ticks=1316') |
alice1 : ['marking3', 'fetching3', 'fetching1', 'choosing1', 'multiplying', 'fetching2', 'fetching1', 'choosing2', 'multiplying', 'adding', 'fetching1', 'choosing5', 'adding', 'retaining1'] alice2 : ['marking3', 'fetching3', 'fetching1', 'choosing3', 'multiplying', 'fetching2', 'fetching1', 'choosing4', 'multiplying', 'adding', 'fetching1', 'choosing6', 'adding', 'retaining1'] alice3 : ['duplicating3', 'alice2', 'opening', 'alice1', 'closing', 'dipping'] alice4 : ['marking2', 'opening', 'fetching2', 'choosing1', 'fetching2', 'choosing2', 'fetching1', 'alice3', 'closing', 'listing', 'opening', 'fetching2', 'choosing3', 'fetching2', 'choosing4', 'fetching1', 'alice3', 'closing', 'listing', 'opening', 'fetching2', 'choosing5', 'fetching2', 'choosing6', 'fetching1', 'alice3', 'closing', 'listing', 'opening', '50', '250', '50', 'closing', 'concatenating', 'concatenating', 'concatenating', 'retaining1'] alice5 : ['marking2', 'fetching1', 'opening', 'fetching2', 'swapping', 'alice4', 'closing', 'mapping', 'retaining1'] alice6 : ['marking2', 'fetching2', 'opening', 'fetching1', 'alice5', 'closing', 'mapping', 'reducing', 'with', 'concatenating', 'retaining1'] alice7 : ['opening', 'opening', '10', '20', '30', '40', '15', '60', 'closing', 'opening', '11', '30', '31', '40', '99', '99', 'closing', 'opening', '12', '40', '32', '40', '25', '60', 'closing', 'closing', 'opening', 'opening', '1', '0', '0', '1', '7', '8', 'closing', 'opening', '2', '0', '0', '2', '88', '99', 'closing', 'opening', '1', '5', '1', '5', '1', '5', '1', '5', '200', '200', 'closing', 'closing', 'alice6'] alice8 : ['opening', 'opening', '10', '20', '30', '40', '50', '60', 'closing', 'opening', '11', '20', '31', '40', '50', '60', 'closing', 'opening', '12', '20', '32', '40', '50', '60', 'closing', 'closing', 'opening', 'opening', '3', '4', '5', '6', '7', '8', 'closing', 'opening', '4', '5', '6', '7', '8', '9', 'closing', 'opening', '5', '6', '7', '8', '9', '10', 'closing', 'closing', 'alice6'] alice9 : ['opening', '10', '20', '30', '40', '50', '60', 'closing', 'opening', 'opening', '3', '4', '5', '6', '7', '8', 'closing', 'opening', '4', '5', '6', '7', '8', '9', 'closing', 'opening', '5', '6', '7', '8', '9', '10', 'closing', 'closing', 'alice5']
{{ define alice ['opening', 'opening' 0 0 300 300 600 0 'closing', 'closing', 'opening', 'opening', half 0 0 half 0 0 'closing', listing 'opening', half 0 0 half 0 200 'closing', listing 'opening', half 0 0 half 200 0 'closing' listing, 'closing', listing 'alice6'] }} unhashable type: 'list'
(last modified 2014-04-18) [Login] |