Commit Graph
545 Commits
Author SHA1 Message Date
Nigel Tao 6236e7205f Remove packageid 2018-08-12 21:44:49 +10:00
Nigel Tao 82a19afd4a Sort built-in status messages 2018-08-12 21:32:41 +10:00
Nigel Tao eec0fce647 Change error "?foo" to status "?foo" 2018-08-12 21:31:56 +10:00
Nigel Tao 203b45e869 Remove status values 2018-08-12 19:36:29 +10:00
Nigel Tao c499f03bc7 Delete obsolete wuffs_foo__status__string funcs 2018-08-12 19:10:24 +10:00
Nigel Tao b385c30b4f Add a "?" prefix to non-built-in status messages 2018-08-12 14:07:40 +10:00
Nigel Tao 2a32a86a6c Make the status type a struct, not an int32_t 2018-08-11 13:27:29 +10:00
Nigel Tao fd43e777bc Have check_wuffs_version return a status code 2018-08-05 22:29:54 +10:00
Nigel Tao eca5565821 Removed closed-for-read/write status codes 2018-08-04 09:34:39 +10:00
Nigel Tao 98b2aa9837 Move some Go packages from lang/foo to lib/foo 2018-08-04 09:17:08 +10:00
Nigel Tao 0822842344 Require effectful func's args to be effect-free 2018-08-04 09:11:33 +10:00
Nigel Tao 81eecf2936 Require the assignment LHS to be effect-free 2018-08-04 09:01:28 +10:00
Nigel Tao db04cf346f Rename Struct.Optional to Struct.Classy 2018-08-04 08:57:27 +10:00
Nigel Tao 7fc98dee00 Tweak how we parse "try foo?(etc)" 2018-08-04 08:51:15 +10:00
Nigel Tao df19bcdb03 Require if and while conditions to be effect-free 2018-07-29 14:20:15 +10:00
Nigel Tao 2100a9f837 Use !?? to denote coroutines 2018-07-29 13:57:13 +10:00
Nigel Tao 0a47966e72 Introduce finer-grained effects 2018-07-29 13:40:49 +10:00
Nigel Tao 77e538aec8 Fix check_test.go for recent changes 2018-07-29 10:32:09 +10:00
Nigel Tao ca06083f8a Rename the implicit in variable to args 2018-07-29 10:26:22 +10:00
Nigel Tao 58ded30954 Remove the implicit out variable 2018-07-29 10:10:58 +10:00
Nigel Tao 9919d78245 Change func out-type from struct to bare type 2018-07-29 10:02:06 +10:00
Nigel Tao 1c75f7b748 Redo {frame,image,pixel}_config and pixel_buffer 2018-07-21 09:15:33 +10:00
Nigel Tao 3df168ed9d Have std/gif's decode_frame call decode_config 2018-07-15 17:40:28 +10:00
Nigel Tao 29eb64a0a4 Add a nptr T type 2018-07-15 17:10:03 +10:00
Nigel Tao 15f2f42b77 Add a nullptr literal 2018-07-15 16:41:23 +10:00
Nigel Tao fdf152f8b3 Reject "x == 0" for pointer-typed x 2018-07-15 16:08:02 +10:00
Nigel Tao a0bafff465 Ship as a "single file C library" 2018-07-14 08:59:36 +10:00
Nigel Tao 85c4de47b9 Remove ProvenNotToSuspend and BoundsCheckOptimized 2018-07-08 21:48:50 +10:00
Nigel Tao e49d464432 Make _fast explicit in copy_n_from_history_fast 2018-07-08 21:39:18 +10:00
Nigel Tao 8a449fa92e Rename __bco to _fast 2018-07-08 21:10:40 +10:00
Nigel Tao 13284015cb Remove unused error "invalid I/O operation" 2018-07-08 21:04:15 +10:00
Nigel Tao 9e300fc4f8 Rename unread_u8? to undo_byte!; add can_undo_byte 2018-07-08 21:02:29 +10:00
Nigel Tao ce3d99a6d5 Remove no longer used optimizeSuspendible code 2018-07-08 17:10:34 +10:00
Nigel Tao 5aa16ef671 Use the peek, skip_fast and write_fast methods
No change in the benchmark numbers.
2018-07-08 14:17:16 +10:00
Nigel Tao a32683e5ea Drop the 32 in the skip32 and skip32_fast names 2018-07-08 14:02:32 +10:00
Nigel Tao 26eba56f57 Rename some copy_from_xxx methods 2018-07-08 13:56:49 +10:00
Nigel Tao 732365b80d Add write_fast_uxx methods 2018-07-08 13:26:28 +10:00
Nigel Tao 57c4196934 Remove the unused token.IDUnderscore 2018-07-08 11:46:16 +10:00
Nigel Tao ee95b548ab Ensure that all AST nodes are bounds checked 2018-07-08 10:42:44 +10:00
Nigel Tao 731ca8841b Add a TypeExpr type expression 2018-07-07 21:57:15 +10:00
Nigel Tao 295cbbccae Check that expr's don't have placeholder type 2018-07-07 21:36:26 +10:00
Nigel Tao 6ede44e474 Set placeholder MBounds, not just MType 2018-07-07 19:28:51 +10:00
Nigel Tao d796fc75b2 Have Iterate bounds checking call bcheckBlock 2018-07-07 19:21:01 +10:00
Nigel Tao dc446b91de Call SetMBounds on non-expr statements 2018-07-07 19:20:02 +10:00
Nigel Tao b056c3e6a6 Rename bcheckAssignment2 2018-07-07 18:19:35 +10:00
Nigel Tao dcaa2bb085 Inline bcheckAssignment1 2018-07-07 18:18:15 +10:00
Nigel Tao e0cbd2a69e Remove obsolete assignment bcheck special case 2018-07-07 18:17:10 +10:00
Nigel Tao ba3b97ec69 Call SetMBounds when bounds-checking expressions 2018-07-07 18:15:28 +10:00
Nigel Tao a506657c53 Make every expression have non-nil bounds 2018-07-07 17:36:05 +10:00
Nigel Tao 971e173721 Remove redundant const-value bounds check 2018-07-07 16:44:41 +10:00