tricu

A lazy functional language based on Tree Calculus
Log | Files | Refs | README | LICENSE

fixtures.json (1880B)


      1 {
      2   "numbers": [
      3     "0",
      4     "1",
      5     "42",
      6     "9007199254740993",
      7     "9223372036854775808",
      8     "18446744073709551615"
      9   ],
     10   "strings": [
     11     "",
     12     "hello\u0000world",
     13     "tree 🌳 café\r\n"
     14   ],
     15   "bytesHex": [
     16     "",
     17     "00ff8041",
     18     "00010203ff"
     19   ],
     20   "invalidUtf8Hex": [
     21     "ff",
     22     "c080",
     23     "eda080",
     24     "f4908080"
     25   ],
     26   "identity": "portable 🌳\u0000value",
     27   "append": [
     28     "Hello, ",
     29     "world!"
     30   ],
     31   "copyHex": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9fa0a1a2a3a4a5a6a7a8a9aaabacadaeafb0b1b2b3b4b5b6b7b8b9babbbcbdbebfc0c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9dadbdcdddedfe0e1e2e3e4e5e6e7e8e9eaebecedeeeff0f1f2f3f4f5f6f7f8f9fafbfcfdfeff",
     32   "copyRepeats": 256,
     33   "expected": {
     34     "numbers": [
     35       "0",
     36       "1",
     37       "42",
     38       "9007199254740993",
     39       "9223372036854775808",
     40       "18446744073709551615"
     41     ],
     42     "strings": [
     43       "",
     44       "hello\u0000world",
     45       "tree 🌳 café\r\n"
     46     ],
     47     "bytesHex": [
     48       "",
     49       "00ff8041",
     50       "00010203ff"
     51     ],
     52     "identity": "portable 🌳\u0000value",
     53     "append": "Hello, world!",
     54     "booleans": [
     55       true,
     56       false
     57     ],
     58     "outcomes": [
     59       {
     60         "outcome": 0,
     61         "payload": "opaque payload",
     62         "cleanupKind": 0
     63       },
     64       {
     65         "outcome": 1,
     66         "payload": "opaque payload",
     67         "cleanupKind": 0
     68       },
     69       {
     70         "outcome": 2,
     71         "payload": "opaque payload",
     72         "cleanupKind": 0
     73       }
     74     ],
     75     "negativeStatuses": [
     76       2,
     77       2,
     78       4,
     79       4,
     80       3,
     81       3,
     82       3
     83     ],
     84     "notQKind": 2
     85   }
     86 }