Nigel Tao
|
ed8a91ef51
|
Add an array.copy_from method.
|
2017-09-22 16:32:11 +10:00 |
|
Nigel Tao
|
569e800bac
|
Refactor internal funcs like isDecode, isLength.
|
2017-09-22 15:20:46 +10:00 |
|
Nigel Tao
|
2fb9972bb9
|
Add a slice.suffix method.
|
2017-09-22 14:12:54 +10:00 |
|
Nigel Tao
|
51f2b183a2
|
Add a slice.length method.
|
2017-09-22 12:37:07 +10:00 |
|
Nigel Tao
|
18e32d61e5
|
Add a writer1.slice method.
|
2017-09-22 11:54:24 +10:00 |
|
Nigel Tao
|
519ec373f2
|
First cut at a "[] u8" slice type.
|
2017-09-08 16:53:59 +10:00 |
|
Nigel Tao
|
0f86add17e
|
Add a status.is_suspension method.
|
2017-09-02 09:40:39 +10:00 |
|
Nigel Tao
|
935cd73686
|
Add a "status" type and "try" keyword.
|
2017-09-01 16:41:42 +10:00 |
|
Nigel Tao
|
209178a2c6
|
Add a std/flate decode_blocks method.
|
2017-08-31 11:16:23 +10:00 |
|
Nigel Tao
|
b3710e583f
|
Add a zlib decoder to std/flate.
|
2017-08-05 16:34:03 +10:00 |
|
Nigel Tao
|
bfbcae4365
|
Decode std/flate fixed Huffman tables.
|
2017-07-28 13:28:31 +10:00 |
|
Nigel Tao
|
d2aca16f3c
|
Add a copy_history32 method.
|
2017-07-28 11:25:03 +10:00 |
|
Nigel Tao
|
9e03aeabe0
|
Refactor std/flate's decoder.decode.
|
2017-07-28 09:04:34 +10:00 |
|
Nigel Tao
|
89d4f68036
|
Fill array-of-u32 Huffman table for base+extra.
|
2017-07-27 17:20:31 +10:00 |
|
Nigel Tao
|
bf51551eda
|
Have init_huff take a slice of the code_lengths.
|
2017-07-27 14:42:26 +10:00 |
|
Nigel Tao
|
e1be6d9582
|
Type and bounds check "x | y | z".
|
2017-07-27 13:07:10 +10:00 |
|
Nigel Tao
|
9933c971a2
|
Factor out a evalConstValueBinaryOp function.
|
2017-07-22 13:55:39 +10:00 |
|
Nigel Tao
|
74400247f2
|
Refactor std/flate's decoder.decode_dynamic.
|
2017-07-21 16:16:09 +10:00 |
|
Nigel Tao
|
02cd837d9d
|
Add a huffman_decoder.consts field.
|
2017-07-21 11:48:15 +10:00 |
|
Nigel Tao
|
34198f3de5
|
Start the init_huffman implementation.
|
2017-07-21 11:00:56 +10:00 |
|
Nigel Tao
|
20f37a6dab
|
Decode flate code length code lengths.
|
2017-07-16 12:51:44 +10:00 |
|
Nigel Tao
|
b78807d60a
|
Add the "const" keyword.
|
2017-07-16 12:02:12 +10:00 |
|
Nigel Tao
|
7b7dca4767
|
Start a flate decoder.decode_dynamic method.
|
2017-07-14 16:36:51 +10:00 |
|
Nigel Tao
|
368bd5e4f7
|
Add a read_u32le method.
|
2017-07-13 16:20:59 +10:00 |
|
Nigel Tao
|
7e9b3aab67
|
Add a high_bits method.
|
2017-07-13 13:23:01 +10:00 |
|
Nigel Tao
|
6a34375cb3
|
Decode flate stored blocks.
|
2017-07-07 15:08:40 +10:00 |
|
Nigel Tao
|
7a3ddbc025
|
Add a "limit" keyword.
|
2017-06-22 17:32:56 +10:00 |
|
Nigel Tao
|
1d39b1e173
|
Add a dst argument to std/gif's decoder.decode_id.
|
2017-06-22 15:41:10 +10:00 |
|
Nigel Tao
|
f857d777ee
|
Type check "var x T0 = y as T1".
|
2017-06-22 15:31:55 +10:00 |
|
Nigel Tao
|
497a8776c2
|
Generate C code for "this.lzw.set_literal_width".
|
2017-06-22 14:56:29 +10:00 |
|
Nigel Tao
|
1a42706bf1
|
Add a reader1.skip32 method.
|
2017-06-22 13:09:53 +10:00 |
|
Nigel Tao
|
8134c89786
|
Decode the rest of a GIF.
Passing an Image Descriptor's block data payload to the LZW decoder is
still a TODO.
|
2017-06-22 11:25:07 +10:00 |
|
Nigel Tao
|
17e47fbc1e
|
Add reader1 and writer1 base types.
|
2017-06-18 11:50:34 +10:00 |
|
Nigel Tao
|
8d1bf15d70
|
Add a decoder.decode_lsd skeleton.
|
2017-06-18 09:45:09 +10:00 |
|
Nigel Tao
|
cd526ccafe
|
Generate C code for "self.foo?()".
|
2017-06-16 15:38:40 +10:00 |
|
Nigel Tao
|
ce2720fca1
|
Generate C code for "a or b or c".
|
2017-06-16 14:35:43 +10:00 |
|
Nigel Tao
|
86c6b79e1a
|
Handle structs that contain structs.
|
2017-06-15 15:19:41 +10:00 |
|
Nigel Tao
|
c27bec10d3
|
Rename typeExprU8 to typeExprPlaceholder.
|
2017-06-11 13:55:41 +10:00 |
|
Nigel Tao
|
f403d0faa8
|
Generate C code for "in.dst.write?(etc)".
|
2017-06-10 17:28:35 +10:00 |
|
Nigel Tao
|
8d6694a752
|
Fill out the lzw_decoder implementation.
|
2017-06-10 15:23:43 +10:00 |
|
Nigel Tao
|
9d0558df5a
|
Fix var statements inside an else-if.
|
2017-06-10 12:44:58 +10:00 |
|
Nigel Tao
|
321ebf8617
|
Unexport check.TypeExprFoo variables.
|
2017-06-10 12:16:29 +10:00 |
|
Nigel Tao
|
793eb043a4
|
Bounds check intermediate expressions.
When checking "(a + b) * 0", "a + b" might still overflow.
|
2017-06-10 11:41:20 +10:00 |
|
Nigel Tao
|
ebf3713555
|
Rename PackageOrDecorator to Decorator.
|
2017-06-10 10:55:51 +10:00 |
|
Nigel Tao
|
587bc2a55d
|
Generate C code for "a[i] = x".
|
2017-06-09 18:00:33 +10:00 |
|
Nigel Tao
|
f5af981f15
|
Generate C code for "in.dst.write_u8?(x:foo)".
|
2017-06-09 16:41:59 +10:00 |
|
Nigel Tao
|
c1dff0ca41
|
Refactor isInSrcReadU8 and isLowBits.
|
2017-06-09 15:44:43 +10:00 |
|
Nigel Tao
|
3863427127
|
Add user-defined error and status codes.
|
2017-06-09 12:26:00 +10:00 |
|
Nigel Tao
|
2d0f9d7669
|
Generate C code for if-else-if.
Also remove redundant parentheses in "if ((x bin_op y))", to avoid
triggering a clang -Wparentheses-equality warning.
|
2017-06-08 16:22:07 +10:00 |
|
Nigel Tao
|
a81752647c
|
Generate C code for "x.low_bits(n:y)".
|
2017-06-08 15:49:52 +10:00 |
|