Problem: The Golden Ratio
Code: The+Golden+Ratio/darrenks_1640229524
Nibbles version: 0.2 | 0.21 | 0.22 | 0.23 | 0.24 | 0.25 | 1.00
Format: Compact | Simple | +Type | Table | JSON | .nbl (DeBruijn) | .nbl (names)
Depth | Lit | Desc | Type | Arg | Let |
---|---|---|---|---|---|
0 |
| implicit string concatenation | [chr] | ||
* 1 | "1." | string | [chr] | ||
* 1 | / | divide | int | ||
** 2 | - | subtract | int | ||
*** 3 | ^ | pow | int | ||
**** 4 | * | multiply | int | ||
***** 5 | * | multiply | int | ||
****** 6 | ; | let | int | A:int | |
******* 7 | ^ | pow | int | ||
******** 8 | ~ | auto = 10 | auto | ||
******** 8 | 499 | integer | int | ||
****** 6 | $ | = A | int | ||
***** 5 | 5 | integer | int | ||
**** 4 | -2 | integer | int | ||
*** 3 | $ | = A | int | ||
** 2 | ~ | auto = 2 | auto |