Nigel Tao
|
e5c86ec191
|
Let an unbroken "while true" terminate a block
|
2020-04-03 10:46:05 +11:00 |
|
Nigel Tao
|
4a89913a9b
|
Ban duplicate loop labels
|
2020-04-03 10:33:05 +11:00 |
|
Nigel Tao
|
ee23f8b3d9
|
Move loop/jump matching from check to parse
|
2020-04-03 10:26:35 +11:00 |
|
Nigel Tao
|
4cfc367a9b
|
Factor out an ast.Terminates function
|
2020-04-02 17:32:37 +11:00 |
|
Nigel Tao
|
40d200cdab
|
Drop cached expr MBounds when re-checking asserts
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21371
|
2020-03-26 08:14:43 +11:00 |
|
Nigel Tao
|
58351d44da
|
Make endwhile mandatory for nameless loops
|
2020-03-25 21:40:00 +11:00 |
|
Nigel Tao
|
9e50918718
|
Add single-quoted strings
|
2020-03-25 19:41:02 +11:00 |
|
Nigel Tao
|
2d2a880c18
|
Ban unlabeled break/continue for labeled loop
|
2020-02-24 14:20:05 +11:00 |
|
Nigel Tao
|
21c87ce6b3
|
Skip writeSaveDerivedVar if func ends with return
|
2020-02-19 21:10:19 +11:00 |
|
Nigel Tao
|
737e31ff3a
|
Add tokens
|
2020-02-11 12:02:58 +11:00 |
|
Nigel Tao
|
ea54c2ea11
|
Add syntax support for implementing interfaces
|
2020-01-09 15:45:29 +11:00 |
|
Nigel Tao
|
8f5983f151
|
Tweak ast.Struct field numbering
|
2020-01-08 22:20:17 +11:00 |
|
Nigel Tao
|
4323a16707
|
Add interface method implementations
|
2020-01-06 23:24:08 +11:00 |
|
Nigel Tao
|
cb7e9e0ce9
|
Add a ~mod* operator
|
2019-11-12 21:30:45 +11:00 |
|
Nigel Tao
|
1520a1f345
|
Rename x T to x: T for fields and func args
|
2019-10-12 21:49:04 +11:00 |
|
Nigel Tao
|
5b4e3647c0
|
Reformat x:y as x: y
|
2019-10-12 21:21:39 +11:00 |
|
Nigel Tao
|
a9ea63ff06
|
Rename [i:j] to [i .. j], the same as Rust
|
2019-10-12 21:14:18 +11:00 |
|
Nigel Tao
|
7872a8893b
|
Rename while:label to while.label
|
2019-10-12 19:04:32 +11:00 |
|
Nigel Tao
|
d501daddc3
|
Rename [i..j] to [i ..= j], the same as Rust
|
2019-10-12 18:40:53 +11:00 |
|
Nigel Tao
|
1c1ce9b19f
|
Drop the unused ref and deref operators
|
2019-10-05 12:41:09 +10:00 |
|
Nigel Tao
|
ef7aa0d980
|
Rename "!=" to "<>"; "!" now only shows impurity
|
2019-03-02 14:51:32 +11:00 |
|
Nigel Tao
|
045f180a6c
|
Rename errors from "?msg" to "#msg"
|
2019-02-23 17:06:24 +11:00 |
|
Nigel Tao
|
0ab52c6204
|
Move cgen's sub-structs to private_data
name old speed new speed delta
wuffs_gif_decode_1k_bw/clang5 243MB/s ± 1% 243MB/s ± 1% ~ (p=0.101 n=47+48)
wuffs_gif_decode_1k_color/clang5 142MB/s ± 1% 142MB/s ± 1% +0.36% (p=0.000 n=48+47)
wuffs_gif_decode_10k_bgra/clang5 734MB/s ± 1% 728MB/s ± 1% -0.78% (p=0.000 n=46+50)
wuffs_gif_decode_10k_indexed/clang5 197MB/s ± 0% 196MB/s ± 1% -0.52% (p=0.000 n=47+46)
wuffs_gif_decode_20k/clang5 250MB/s ± 1% 249MB/s ± 1% ~ (p=0.189 n=49+46)
wuffs_gif_decode_100k_artificial/clang5 556MB/s ± 1% 555MB/s ± 1% -0.23% (p=0.000 n=46+44)
wuffs_gif_decode_100k_realistic/clang5 229MB/s ± 1% 229MB/s ± 0% ~ (p=0.055 n=48+48)
wuffs_gif_decode_1000k/clang5 233MB/s ± 1% 234MB/s ± 0% +0.30% (p=0.000 n=48+45)
wuffs_gif_decode_anim_screencap/clang5 1.11GB/s ± 1% 1.10GB/s ± 0% -0.28% (p=0.000 n=46+47)
wuffs_gif_decode_1k_bw/gcc7 257MB/s ± 2% 263MB/s ± 1% +2.67% (p=0.000 n=49+47)
wuffs_gif_decode_1k_color/gcc7 142MB/s ± 1% 146MB/s ± 1% +3.25% (p=0.000 n=50+49)
wuffs_gif_decode_10k_bgra/gcc7 627MB/s ± 1% 625MB/s ± 1% -0.35% (p=0.000 n=48+49)
wuffs_gif_decode_10k_indexed/gcc7 197MB/s ± 1% 196MB/s ± 1% -0.21% (p=0.000 n=48+43)
wuffs_gif_decode_20k/gcc7 239MB/s ± 0% 239MB/s ± 1% +0.21% (p=0.000 n=50+47)
wuffs_gif_decode_100k_artificial/gcc7 511MB/s ± 0% 512MB/s ± 1% +0.21% (p=0.000 n=49+44)
wuffs_gif_decode_100k_realistic/gcc7 211MB/s ± 0% 212MB/s ± 1% +0.39% (p=0.000 n=45+44)
wuffs_gif_decode_1000k/gcc7 215MB/s ± 0% 216MB/s ± 1% +0.13% (p=0.002 n=46+48)
wuffs_gif_decode_anim_screencap/gcc7 1.06GB/s ± 1% 1.06GB/s ± 1% +0.12% (p=0.007 n=45+48)
wuffs_lzw_decode_20k/clang5 271MB/s ± 1% 270MB/s ± 1% -0.34% (p=0.000 n=49+49)
wuffs_lzw_decode_100k/clang5 480MB/s ± 1% 478MB/s ± 1% -0.31% (p=0.001 n=48+50)
wuffs_lzw_decode_20k/gcc7 263MB/s ± 1% 264MB/s ± 1% +0.38% (p=0.000 n=45+47)
wuffs_lzw_decode_100k/gcc7 476MB/s ± 1% 482MB/s ± 2% +1.30% (p=0.000 n=47+50)
|
2019-02-10 11:22:04 +11:00 |
|
Nigel Tao
|
093268e179
|
Rename the !?? effect to ?
|
2018-12-29 13:57:57 +11:00 |
|
Nigel Tao
|
1ea32b3745
|
Remove the !? effect, leaving only ! and !??
|
2018-12-29 13:36:38 +11:00 |
|
Nigel Tao
|
3ba450ba55
|
Make gif's decoder.copy_to_image_buffer ! not !?
|
2018-12-28 17:32:48 +11:00 |
|
Nigel Tao
|
c9e6ee6fb3
|
Fold Expr statements into Assign statements
|
2018-12-27 17:36:08 +11:00 |
|
Nigel Tao
|
6dc68950c0
|
Drop the "= RHS" out of "var x T = RHS"
|
2018-12-27 11:29:47 +11:00 |
|
Nigel Tao
|
d552f88738
|
Make Iterate contain Assign's not Var's
|
2018-12-27 10:35:27 +11:00 |
|
Nigel Tao
|
20e82ba97b
|
Use interval.IntRange instead of ast.Bounds
|
2018-12-26 14:02:34 +11:00 |
|
Nigel Tao
|
ef51d032ba
|
Prohibit weak-effect funcs calling strong-effects
|
2018-12-26 11:43:15 +11:00 |
|
Nigel Tao
|
eb0cbd802a
|
Make SubExprHasEffect an ast.Flags not ast.Effect
|
2018-12-16 11:09:23 +11:00 |
|
Nigel Tao
|
dd28f3c0f9
|
Remove the "? but not !?" effect
|
2018-12-16 11:03:31 +11:00 |
|
Nigel Tao
|
6d2bb77bb7
|
Add a data:etc argument to io_bind
|
2018-12-09 09:53:46 +11:00 |
|
Nigel Tao
|
badbdfc487
|
Tweak io_bind syntax
|
2018-12-09 09:13:29 +11:00 |
|
Nigel Tao
|
e992921dce
|
Add an io_limit keyword
|
2018-12-09 09:03:21 +11:00 |
|
Nigel Tao
|
5cae1f8c82
|
Remove the obsolete Effect.RootCause concept
|
2018-12-01 13:37:33 +11:00 |
|
Nigel Tao
|
9741eada02
|
Replace "= try foo" with "=? foo"
|
2018-12-01 13:11:47 +11:00 |
|
Nigel Tao
|
ad9851ea75
|
Prohibit effect-ful subexpressions
|
2018-12-01 11:33:26 +11:00 |
|
Nigel Tao
|
0482fadf41
|
Generate implicit wuffs_base__status for !? funcs
|
2018-11-24 15:41:56 +11:00 |
|
Nigel Tao
|
762b320b5e
|
Make the return value mandatory; add ok
|
2018-11-24 15:09:28 +11:00 |
|
Nigel Tao
|
875362ea07
|
Change status "?foo" to just "?foo"
|
2018-11-24 12:36:42 +11:00 |
|
Nigel Tao
|
c3ef038c79
|
Fix missing operator for ast.Expr.Str
|
2018-10-21 18:12:26 +11:00 |
|
Nigel Tao
|
630a96ede6
|
Add token.IDXBinaryTildeModShiftL string form
|
2018-10-14 12:52:11 +11:00 |
|
Nigel Tao
|
c1af1e2c82
|
Rename $(etc) to [etc]
|
2018-08-18 10:11:43 +10:00 |
|
Nigel Tao
|
6236e7205f
|
Remove packageid
|
2018-08-12 21:44:49 +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
|
2a32a86a6c
|
Make the status type a struct, not an int32_t
|
2018-08-11 13:27:29 +10:00 |
|
Nigel Tao
|
db04cf346f
|
Rename Struct.Optional to Struct.Classy
|
2018-08-04 08:57:27 +10:00 |
|