Commit Graph
27 Commits
Author SHA1 Message Date
Nigel Tao eeebd58d7b Remove token ID/Key distinction, part 11 of N 2018-04-15 17:57:10 +10:00
Nigel Tao 1004d898d5 Add statusPkg arg to ast.NewExpr 2017-12-29 13:33:46 +11:00
Nigel Tao 8b4ba30a36 Rename some ast.Expr methods 2017-12-29 12:58:01 +11:00
Nigel Tao 7601fb45ce Rename String(*token.Map) to Str(*token.Map) 2017-12-01 11:22:08 +11:00
Nigel Tao 79a94558be Rename PUFFS to WUFFS, part 5 of N 2017-11-30 16:37:20 +11:00
Nigel Tao 0cea46531b Rename PUFFS to WUFFS, part 2 of N 2017-11-30 16:23:16 +11:00
Nigel Tao d4372cb5b8 Change license to Apache 2.
Also remove explicit PATENTS file. The new LICENSE file already
discusses patents.

Note that the Puffs project has not yet been publicly released.
2017-10-12 11:17:41 +11:00
Nigel Tao 3b57548b0d Generate C code for a non-trivial slice-of-slice. 2017-09-29 17:07:41 +10:00
Nigel Tao 9933c971a2 Factor out a evalConstValueBinaryOp function. 2017-07-22 13:55:39 +10:00
Nigel Tao dec234779e Generate lang/check/reason.go. 2017-07-22 12:49:00 +10:00
Nigel Tao 61b771a418 Refactor the bounds checker's list of reasons. 2017-07-22 10:24:48 +10:00
Nigel Tao 389d9bc8bf Remove the placeholder code limit count. 2017-07-22 10:14:50 +10:00
Nigel Tao fd07fa1f27 Decode flate's clcode symbols. 2017-07-21 17:47:58 +10:00
Nigel Tao f7fb991619 Implement init_huffman. 2017-07-21 15:55:49 +10:00
Nigel Tao 93ca2f7496 Fix otherHandSide copy/pasto.
The reverse of "x < y" is "y > x", not "y >= x".
2017-06-22 14:38:42 +10:00
Nigel Tao 98a07921b1 Let "x != lo" narrow x's bounds lo..hi. 2017-06-10 14:43:16 +10:00
Nigel Tao 70d62bc608 Propagate "x == constValue" in bounds checking. 2017-06-10 11:53:50 +10:00
Nigel Tao ddbbdecce6 Add use_save_code to std/gif/decode_lzw.puffs. 2017-06-09 14:51:39 +10:00
Nigel Tao 6e7e566232 Rename token.IDMap to token.Map. 2017-06-08 13:10:01 +10:00
Nigel Tao ee27dffa9e Update facts after "x -= y". 2017-06-02 12:21:28 +10:00
Nigel Tao 747247a557 Rename some vars for consistency. 2017-06-02 11:15:28 +10:00
Nigel Tao 51da37c661 Update facts after "x += y". 2017-06-02 10:28:46 +10:00
Nigel Tao 1bfd5804bf Accept via "a < (b + c): a < c; 0 <= b". 2017-06-01 21:24:39 +10:00
Nigel Tao 3f5bb7a02b Check a while loop's pre and inv conditions. 2017-06-01 17:11:01 +10:00
Nigel Tao 9d18ffb1d8 Rename some "l0, l1" variables for consistency. 2017-05-20 12:37:43 +10:00
Nigel Tao 5bc5e43335 Actually check assertions. 2017-05-20 12:34:02 +10:00
Nigel Tao 6da91a226c Add fact tracking. 2017-05-19 14:41:55 +10:00