Commit Graph
896 Commits
Author SHA1 Message Date
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
Nigel Tao b23c235067 Add fuzz tests 2018-02-17 14:14:38 +11:00
Nigel Tao d3770b9972 Add an end of data concept 2018-02-10 12:13:26 +11:00
Nigel Tao 7e90967717 Fill in a GIF image_config 2018-02-09 16:05:04 +11:00
Nigel Tao d750ea7653 Add an image_config concept 2018-02-09 14:46:37 +11:00
Nigel Tao de9000cc70 Add a call sequence concept 2018-02-08 09:06:19 +11:00
Nigel Tao 0f001bf35c Add IntRange And and Or comments
Thanks again to Daniel Wright <dwright@google.com>.
2018-01-25 15:37:13 +11:00
Nigel Tao 33e9dcd340 Simply some "x and not y" big.Int calculations 2018-01-25 15:17:09 +11:00
Nigel Tao 0b4d372684 Add IntRange And and Or methods.
Thanks to Daniel Wright <dwright@google.com> for the algorithms.
2018-01-19 18:21:02 +11:00
Nigel Tao 3aa95ba88f Rename interval.Int to interval.IntRange 2018-01-18 10:14:41 +11:00
Nigel Tao af1ea0b425 Delete an obsolete comment 2018-01-08 11:01:52 +11:00
Nigel Tao ad277871f5 Fix lang/check tests 2018-01-06 17:03:36 +11:00
Nigel Tao 087b3e8438 Fix a comment typo 2018-01-06 16:59:40 +11:00
Nigel Tao 70deff7f71 Add a lang/interval package 2018-01-06 16:42:09 +11:00
Nigel Tao 0b06dbcf02 Simplify big.Int comparisons to zero 2018-01-04 11:08:41 +11:00