Commit Graph

44 Commits

Author SHA1 Message Date
Tony Garnock-Jones cff1a3d318 Exploration of TypeScript typed Records 2021-02-22 12:51:17 +01:00
Tony Garnock-Jones a69297c3ba Folds 2021-02-17 20:55:22 +01:00
Tony Garnock-Jones 407e8778a1 Split out values.ts; this makes circular dependencies worse, so I will likely pull it all back together again soon 2021-02-17 16:52:01 +01:00
Tony Garnock-Jones 83b09d9406 Improve ergonomics of Double/Single and floatValue 2021-02-17 15:34:31 +01:00
Tony Garnock-Jones 95c04bd5d5 Float.unwrap 2021-01-29 16:06:00 +01:00
Tony Garnock-Jones 1743756097 Fix parameter ordering and defaults 2021-01-29 15:35:07 +01:00
Tony Garnock-Jones 532e811894 Introduce pointers 2021-01-29 12:03:28 +01:00
Tony Garnock-Jones abca13e260 Idempotent Map/Set extensions 2021-01-23 22:54:28 +01:00
Tony Garnock-Jones a5d4098e29 Strict tsconfig 2021-01-23 22:54:28 +01:00
Tony Garnock-Jones d8a041a647 Reuse buffers during encoding, where safe to do so; in particular, during simple canonicalization 2021-01-23 22:54:28 +01:00
Tony Garnock-Jones 320215dca0 Add missing toString on Preserves Set 2021-01-23 22:54:28 +01:00
Tony Garnock-Jones b4d5334a1a Repair silly mistake 2021-01-23 22:54:28 +01:00
Tony Garnock-Jones 329cee7bd6 Much better duck typing 2021-01-23 22:54:28 +01:00
Tony Garnock-Jones 3f62d68bab union, intersect, subtract 2021-01-23 22:54:28 +01:00
Tony Garnock-Jones b0ed7e914b Better collections; package types 2021-01-23 22:54:28 +01:00
Tony Garnock-Jones 98e981dccf Custom util inspectors for Set and Dictionary too 2021-01-23 22:54:27 +01:00
Tony Garnock-Jones 44f142d86b Update JavaScript implementation and port to TypeScript 2021-01-23 22:54:27 +01:00
Tony Garnock-Jones 3c059a573c Browser doesn't have util 2020-08-05 12:47:49 +02:00
Tony Garnock-Jones 0b0709b615 Remove placeholders from spec and implementations 3/5
Update JS implementation: remove placeholders; reject zero-length
streamed binary chunks.
2020-05-28 23:23:19 +02:00
Tony Garnock-Jones 8e0ab95d82 Autodetectability of binary vs text; documented test case schema a little 2020-05-13 12:56:13 +02:00
Tony Garnock-Jones 02e0eae396 New test 2019-09-09 21:08:31 +01:00
Tony Garnock-Jones 7efce309f6 Add peel(); tweak strip; adjust tests to use accessors and peel 2019-08-31 08:27:07 +01:00
Tony Garnock-Jones 942fa30d9d Remove almost-duplicate code 2019-08-30 21:55:45 +01:00
Tony Garnock-Jones 04ecbe03e3 js: Update tests, Immutable.js; implement more tests; all tests pass 2019-08-29 21:07:17 +01:00
Tony Garnock-Jones 738a47ce90 WIP 2019-08-26 21:03:32 +01:00
Tony Garnock-Jones 4d4cd6f417 toString for Single/Double 2019-06-24 10:44:58 +01:00
Tony Garnock-Jones 48f8024056 More webpack problems. Everything is called index.js apparently in webpack land 2019-06-14 15:52:54 +01:00
Tony Garnock-Jones 2bf10030c1 Use __filename instead of module.filename because webpack doesn't offer the latter 2019-06-14 15:46:31 +01:00
Tony Garnock-Jones 0e835bc6f9 Make boilerplate less gratuitous 2019-06-14 15:28:16 +01:00
Tony Garnock-Jones a2755a6c9b singletonmodule.js 2019-06-14 12:47:38 +01:00
Tony Garnock-Jones 48b800a7ce Fix RecordConstructorInfo.equals 2019-06-13 23:04:09 +01:00
Tony Garnock-Jones 5ab78e8281 Global symbols 2019-06-13 21:30:15 +01:00
Tony Garnock-Jones 5d9b03171d Bytes.toString now offers something reprish; fromUtf8 does what toString used to do 2019-06-07 13:14:07 +01:00
Tony Garnock-Jones 320cb894f1 Friendlier accessors 2019-05-30 14:06:40 +01:00
Tony Garnock-Jones d826aa9116 Repair errors that made Bytes (and Bytes.from) non-idempotent 2018-12-08 14:04:13 +00:00
Tony Garnock-Jones 594b379a77 Ability to feed JS Decoder 2018-11-19 16:55:14 +00:00
Tony Garnock-Jones 639241c5a6 Fix error in format C decoding 2018-11-18 16:28:21 +00:00
Tony Garnock-Jones c9484ac9ac Float.unwrap 2018-11-16 00:10:45 +00:00
Tony Garnock-Jones 80c55e4f30 Repair error in Decoder.nextbytes 2018-11-15 23:40:48 +00:00
Tony Garnock-Jones f0a63fbb4c Many features and fixes discovered while switching Syndicate/js to Record 2018-11-15 23:18:16 +00:00
Tony Garnock-Jones a8519f6ae3 Refactor to use immutable Bytes wrapper around a Uint8Array 2018-11-15 13:53:24 +00:00
Tony Garnock-Jones 41ab0cf4ac Tests and many associated repairs to the JavaScript implementation 2018-11-13 12:15:56 +00:00
Tony Garnock-Jones 9762ad4bfb Bring Record toward the needs of Syndicate/js Struct 2018-11-12 22:19:37 +00:00
Tony Garnock-Jones f30b2ae175 Initial JavaScript (node) implementation 2018-11-12 22:05:47 +00:00