Nigel Tao
|
db41d789a5
|
Generate C code for "x as T".
|
2017-06-03 10:24:52 +10:00 |
|
Nigel Tao
|
4c0a659a18
|
Generate C function arguments.
Also rename "io.buf1" to just "buf1".
|
2017-06-02 16:14:59 +10:00 |
|
Nigel Tao
|
ee27dffa9e
|
Update facts after "x -= y".
|
2017-06-02 12:21:28 +10:00 |
|
Nigel Tao
|
80a39bfccb
|
Use "x < y" when bounds checking "x - y".
|
2017-06-02 11:39:51 +10:00 |
|
Nigel Tao
|
5a0aea66a3
|
Bounds check "x >> y".
|
2017-06-02 10:57:56 +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
|
bcf6a7ee1d
|
Generate C break's and continue's.
|
2017-06-01 15:25:01 +10:00 |
|
Nigel Tao
|
509e6b48a4
|
Bounds check "x | y".
|
2017-05-28 15:28:05 +10:00 |
|
Nigel Tao
|
99ff8e2487
|
Let fields have default values.
|
2017-05-28 13:47:29 +10:00 |
|
Nigel Tao
|
c437bf258e
|
Parse "pub" and "pri".
|
2017-05-27 11:02:01 +10:00 |
|
Nigel Tao
|
d5d6447ce5
|
Check assertions on while loop exit.
|
2017-05-20 17:05:38 +10:00 |
|
Nigel Tao
|
9184e2682e
|
Use "T[..inclMax]" instead of "T[:exclMax]".
|
2017-05-20 15:11:30 +10:00 |
|
Nigel Tao
|
06eaadb1d6
|
Add via keyword and named args.
|
2017-05-19 16:14:05 +10:00 |
|
Nigel Tao
|
6da91a226c
|
Add fact tracking.
|
2017-05-19 14:41:55 +10:00 |
|
Nigel Tao
|
f713bb9a21
|
Bounds check "x += y".
|
2017-05-19 11:34:44 +10:00 |
|
Nigel Tao
|
05a217e8a3
|
Bounds check "x + 1".
|
2017-05-18 15:15:58 +10:00 |
|
Nigel Tao
|
a8c304236d
|
First cut of a bounds checker.
|
2017-05-18 13:37:46 +10:00 |
|
Nigel Tao
|
56de3228e1
|
Introduce explicit "var x T" syntax.
This makes type checking easier and more explicit.
|
2017-05-07 09:00:36 +10:00 |
|
Nigel Tao
|
b640daccb6
|
First cut of some toy puffs code.
|
2017-05-05 18:07:09 +10:00 |
|