Commit Graph

27 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 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 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 329cee7bd6 Much better duck typing 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 44f142d86b Update JavaScript implementation and port to TypeScript 2021-01-23 22:54:27 +01: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 b2203b6f5b Remove unwanted code 2019-08-31 20:18:23 +01:00
Tony Garnock-Jones 85804a9e6d More specific check for DecodeError 2019-08-31 14:09:21 +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 64c7de832e SequenceStream not required in tests 2019-08-30 09:21:34 +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 672ee83be0 Begin factoring out test suite for cross-implementation use; begin updating Racket implementation to match (not finished) 2019-08-11 14:37:08 +01:00
Tony Garnock-Jones 4d4cd6f417 toString for Single/Double 2019-06-24 10:44:58 +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 639241c5a6 Fix error in format C decoding 2018-11-18 16:28:21 +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 23a52719b9 More tests 2018-11-13 12:37:24 +00:00
Tony Garnock-Jones 41ab0cf4ac Tests and many associated repairs to the JavaScript implementation 2018-11-13 12:15:56 +00:00