Nigel Tao
|
89c136ebe4
|
Add token.ID.IsCannotAssignTo
|
2019-01-13 11:15:17 +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
|
489fec4437
|
Remove parse's Options.AllowBuiltIns
|
2018-12-28 15:50:18 +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
|
cbe19f50e0
|
Restrict var statements to the top of functions
|
2018-12-27 11:19:22 +11:00 |
|
Nigel Tao
|
84f9d3a915
|
Prohibit "this.etc = etc" inside pure functions
|
2018-12-27 11:01:55 +11:00 |
|
Nigel Tao
|
d552f88738
|
Make Iterate contain Assign's not Var's
|
2018-12-27 10:35:27 +11:00 |
|
Nigel Tao
|
bac74a830d
|
Place some vars at the top of functions
|
2018-12-26 18:34:52 +11:00 |
|
Nigel Tao
|
ef51d032ba
|
Prohibit weak-effect funcs calling strong-effects
|
2018-12-26 11:43:15 +11:00 |
|
Nigel Tao
|
7a0a345d41
|
Ensure that assert's and args are effect-free
|
2018-12-26 11:20:19 +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
|
622a76d4c0
|
Avoid buffer copies from LZW to GIF
name old speed new speed delta
wuffs_lzw_decode_20k/clang 213MB/s ± 0% 224MB/s ± 1% +4.89% (p=0.008 n=5+5)
wuffs_lzw_decode_100k/clang 359MB/s ± 1% 393MB/s ± 2% +9.36% (p=0.008 n=5+5)
wuffs_lzw_decode_20k/gcc 188MB/s ± 0% 187MB/s ± 0% -0.70% (p=0.008 n=5+5)
wuffs_lzw_decode_100k/gcc 223MB/s ± 2% 224MB/s ± 0% ~ (p=0.690 n=5+5)
wuffs_gif_decode_1k_bw/clang 227MB/s ± 1% 240MB/s ± 0% +5.89% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color/clang 117MB/s ± 0% 125MB/s ± 0% +6.16% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/clang 567MB/s ± 1% 599MB/s ± 0% +5.56% (p=0.008 n=5+5)
wuffs_gif_decode_10k_indexed/clang 152MB/s ± 0% 159MB/s ± 1% +4.76% (p=0.008 n=5+5)
wuffs_gif_decode_100k_artificial/clang 455MB/s ± 1% 504MB/s ± 0% +10.93% (p=0.008 n=5+5)
wuffs_gif_decode_100k_realistic/clang 178MB/s ± 2% 194MB/s ± 0% +9.00% (p=0.008 n=5+5)
wuffs_gif_decode_1000k/clang 179MB/s ± 1% 197MB/s ± 0% +9.81% (p=0.016 n=5+4)
wuffs_gif_decode_anim_screencap/clang 952MB/s ± 0% 1050MB/s ± 1% +10.29% (p=0.008 n=5+5)
wuffs_gif_decode_1k_bw/gcc 243MB/s ± 1% 252MB/s ± 0% +3.71% (p=0.008 n=5+5)
wuffs_gif_decode_1k_color/gcc 130MB/s ± 0% 133MB/s ± 1% +2.69% (p=0.008 n=5+5)
wuffs_gif_decode_10k_bgra/gcc 537MB/s ± 0% 547MB/s ± 1% +1.93% (p=0.008 n=5+5)
wuffs_gif_decode_10k_indexed/gcc 163MB/s ± 0% 167MB/s ± 1% +2.40% (p=0.008 n=5+5)
wuffs_gif_decode_100k_artificial/gcc 458MB/s ± 0% 471MB/s ± 0% +2.90% (p=0.016 n=5+4)
wuffs_gif_decode_100k_realistic/gcc 186MB/s ± 0% 191MB/s ± 0% +3.08% (p=0.008 n=5+5)
wuffs_gif_decode_1000k/gcc 189MB/s ± 0% 194MB/s ± 0% +2.70% (p=0.008 n=5+5)
wuffs_gif_decode_anim_screencap/gcc 976MB/s ± 0% 1010MB/s ± 0% +3.49% (p=0.008 n=5+5)
|
2018-12-16 09:57:15 +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
|
762b320b5e
|
Make the return value mandatory; add ok
|
2018-11-24 15:09:28 +11:00 |
|
Nigel Tao
|
9e5aec5d25
|
Change "$foo" to base."$foo"
|
2018-11-24 13:36:09 +11:00 |
|
Nigel Tao
|
875362ea07
|
Change status "?foo" to just "?foo"
|
2018-11-24 12:36:42 +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
|
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
|
0a47966e72
|
Introduce finer-grained effects
|
2018-07-29 13:40:49 +10:00 |
|
Nigel Tao
|
ca06083f8a
|
Rename the implicit in variable to args
|
2018-07-29 10:26:22 +10:00 |
|
Nigel Tao
|
9919d78245
|
Change func out-type from struct to bare type
|
2018-07-29 10:02:06 +10:00 |
|
Nigel Tao
|
29eb64a0a4
|
Add a nptr T type
|
2018-07-15 17:10:03 +10:00 |
|
Nigel Tao
|
ccb78f5db7
|
Rename ast.Node methods from Foo to AsFoo
|
2018-07-01 20:41:21 +10:00 |
|
Nigel Tao
|
634789722d
|
Assign values, not just messages, to status codes
|
2018-06-10 15:48:29 +10:00 |
|
Nigel Tao
|
7d3662ee40
|
Remove struct field initial values
|
2018-05-29 10:56:47 +10:00 |
|
Nigel Tao
|
eda326726a
|
Allow table base.u8 as a type
|
2018-05-18 10:31:24 +10:00 |
|
Nigel Tao
|
2d3b3b1dae
|
Add an io_writer var to gif's decoder.decode_id
|
2018-05-13 10:40:44 +10:00 |
|
Nigel Tao
|
3ea85e770b
|
Reorder ast.NewIf arguments
|
2018-05-11 10:25:39 +10:00 |
|
Nigel Tao
|
b65fdee306
|
Make the else-length-1 iterate tail explicit
|
2018-05-11 10:22:24 +10:00 |
|
Nigel Tao
|
282b9c4b20
|
Place iterate params after vars, not before
|
2018-05-10 09:38:14 +10:00 |
|
Nigel Tao
|
79aded4797
|
Introduce a =: operator
|
2018-05-10 09:31:58 +10:00 |
|
Nigel Tao
|
1702c1e303
|
Rename iterate's step to length
|
2018-05-05 08:25:23 +10:00 |
|
Nigel Tao
|
c511c53b1f
|
Clarify iterate step and unroll syntax
|
2018-05-04 09:14:10 +10:00 |
|
Nigel Tao
|
a511e927a1
|
Factor out a parser.parseIterateNode method
|
2018-05-04 09:05:33 +10:00 |
|