Commit Graph
410 Commits
Author SHA1 Message Date
Nigel Tao bc9e91b9e9 Remove a dummy parameter hack 2018-05-02 20:45:36 +10:00
Nigel Tao c71a13e20e Remove the obsolete limit method 2018-05-02 20:33:25 +10:00
Nigel Tao 04776e9dcf Add a set_limit method 2018-04-28 13:56:37 +10:00
Nigel Tao 395890c287 Add an io_bind keyword 2018-04-28 11:45:33 +10:00
Nigel Tao 124a329e73 Remove the obsolete is_marked method 2018-04-28 10:13:32 +10:00
Nigel Tao d3342e7b4a Remove wuffs_base__io_{reader,writer} mark field 2018-04-28 09:58:45 +10:00
Nigel Tao 977f1fe64d Remove an &^ AmpHat test 2018-04-26 13:44:18 +10:00
Nigel Tao 7f0923a9cf Remove the unused &^ AmpHat operator 2018-04-26 11:24:27 +10:00
Nigel Tao 95815036ba Remove an obsolete TODO 2018-04-26 11:14:31 +10:00
Nigel Tao 6d167b7424 Add ~sat+ and ~sat- 2018-04-26 11:13:19 +10:00
Nigel Tao 6fb1abc739 Fix missing check.builtInTypeMap entry 2018-04-26 10:06:36 +10:00
Nigel Tao a698b47cb6 Rename ~+ to ~mod+; add ~mod-. 2018-04-26 10:05:19 +10:00
Nigel Tao fd2d6e5b8a Tighten up low_bits / high_bits bounds checking 2018-04-21 15:44:12 +10:00
Nigel Tao 8d05db48a4 Remove some hard coded bcheckExprOther checks 2018-04-21 08:45:59 +10:00
Nigel Tao c479907bff Remove typeExprPlaceholder 2018-04-20 17:16:23 +10:00
Nigel Tao ba0db5b4d1 Remove some hard coded bcheckExprOther checks 2018-04-20 17:03:29 +10:00
Nigel Tao 4ddc2f0055 Make an ast.TypeExpr's ID0 field more consistent 2018-04-20 16:21:16 +10:00
Nigel Tao 90a794c0b8 Remove some hard coded bcheckExprOther checks 2018-04-20 14:19:41 +10:00
Nigel Tao bbe3eef04b Clarify a method TypeExpr's string form 2018-04-20 14:19:09 +10:00
Nigel Tao 6656b6e5e9 Tighten some more ast.TypeExpr methods 2018-04-16 08:19:54 +10:00
Nigel Tao 6c6a647cab Tighten the ast.TypeExpr IsNumType methods 2018-04-15 18:33:25 +10:00
Nigel Tao c7ee2c1be8 Tighten the token.ID's XxxForm methods 2018-04-15 18:26:02 +10:00
Nigel Tao c9161bafaf Simplify token.builtInsByID 2018-04-15 18:15:56 +10:00
Nigel Tao e2716e4365 Re-organize the token ID space 2018-04-15 18:12:00 +10:00
Nigel Tao 0395f8de45 Make IDDoubleZ an ident 2018-04-15 17:58:58 +10:00
Nigel Tao eeebd58d7b Remove token ID/Key distinction, part 11 of N 2018-04-15 17:57:10 +10:00
Nigel Tao b24a929ec7 Remove token ID/Key distinction, part 10 of N 2018-04-15 15:44:31 +10:00
Nigel Tao 10b6eaebb6 Remove token ID/Key distinction, part 9 of N 2018-04-15 15:41:48 +10:00
Nigel Tao 1717d5befd Remove token ID/Key distinction, part 8 of N 2018-04-15 15:22:09 +10:00
Nigel Tao 81e02e7db6 Remove token ID/Key distinction, part 7 of N 2018-04-15 15:15:56 +10:00
Nigel Tao 5c48c84cae Remove token ID/Key distinction, part 6 of N 2018-04-15 11:41:40 +10:00
Nigel Tao 8b51d09aa9 Remove token ID/Key distinction, part 5 of N 2018-04-15 11:27:18 +10:00
Nigel Tao af263fa26e Remove token ID/Key distinction, part 4 of N 2018-04-15 11:05:43 +10:00
Nigel Tao 19d76bc61d Remove token ID/Key distinction, part 3 of N 2018-04-15 11:01:41 +10:00
Nigel Tao 7007682182 Remove token ID/Key distinction, part 2 of N 2018-04-15 10:58:53 +10:00
Nigel Tao afd7429e9a Remove token ID/Key distinction, part 1 of N 2018-04-15 10:41:18 +10:00
Nigel Tao 06ff3d3369 Add a cformatter flag
Fixes #10
2018-04-13 13:13:07 +10:00
Nigel Tao 9254d6746b Remove an obsolete TODO re a "~as" operator 2018-04-12 22:26:34 +10:00
Nigel Tao f95239f6e0 Rename u32, io_reader, etc to base.u32, etc 2018-04-12 21:49:17 +10:00
Nigel Tao e4c4f5ce62 Rename iterate.N to iterate[N] 2018-04-05 22:32:15 +10:00
Nigel Tao d33db6dae0 Introduce "array[N] T" and "slice T" type syntax 2018-04-05 22:21:08 +10:00
Nigel Tao 2b91e7861c Prepare array and slice tokens 2018-04-05 21:51:38 +10:00
Nigel Tao 97aab37462 Rename buf1, reader1, etc to io_buffer, io_reader
Also remove the unused Buf1, Buf2 and Usize tokens.
2018-04-05 20:49:48 +10:00
Nigel Tao 82a48796c8 Add pixel_format, image_buffer, etc. definitions 2018-04-05 17:09:33 +10:00
Nigel Tao e700bcd4f8 Bounds check consts by value, not type
This lets us prove "c == 123" given "pri const c u32 = 123".

Fixes #5
2018-03-31 16:43:53 +11:00
Nigel Tao a875a06799 Remove an obsolete TODO 2018-03-31 14:17:04 +11:00
Nigel Tao a8e40fedc9 Implement the gzip checksum
Also fix a bug in ast.Raw.SetPackage, discovered because type checking
failed to show that "[] u8" and "[] u8" are equivalent types.
2018-03-28 12:30:00 +11:00
Nigel Tao 3a7ccfe9b4 Implement crc32's ieee.update 2018-03-25 18:09:51 +11:00
Nigel Tao 4675efdcc5 Fix deflate decode when the distance is 32768 2018-03-23 12:49:42 +11:00
Nigel Tao 7de631fb96 Tighten copy_from_history32__bco preconditions 2018-03-23 11:42:41 +11:00