Commit Graph
48 Commits
Author SHA1 Message Date
Nigel Tao 8794a586ac Add wuffs_foo__bar__initialize methods 2019-02-09 12:54:02 +11:00
Nigel Tao 489fec4437 Remove parse's Options.AllowBuiltIns 2018-12-28 15:50:18 +11:00
Nigel Tao 20e82ba97b Use interval.IntRange instead of ast.Bounds 2018-12-26 14:02:34 +11:00
Nigel Tao 6c9dca47ee Add a base.pixel_swizzler type 2018-12-08 13:25:53 +11:00
Nigel Tao 555a72d7a9 Add a decode_frame_options type 2018-09-02 15:08:00 +10:00
Nigel Tao c1af1e2c82 Rename $(etc) to [etc] 2018-08-18 10:11:43 +10:00
Nigel Tao ca06083f8a Rename the implicit in variable to args 2018-07-29 10:26:22 +10:00
Nigel Tao 58ded30954 Remove the implicit out variable 2018-07-29 10:10:58 +10:00
Nigel Tao 9919d78245 Change func out-type from struct to bare type 2018-07-29 10:02:06 +10:00
Nigel Tao 1c75f7b748 Redo {frame,image,pixel}_config and pixel_buffer 2018-07-21 09:15:33 +10:00
Nigel Tao 29eb64a0a4 Add a nptr T type 2018-07-15 17:10:03 +10:00
Nigel Tao 15f2f42b77 Add a nullptr literal 2018-07-15 16:41:23 +10:00
Nigel Tao 731ca8841b Add a TypeExpr type expression 2018-07-07 21:57:15 +10:00
Nigel Tao 6ede44e474 Set placeholder MBounds, not just MType 2018-07-07 19:28:51 +10:00
Nigel Tao ccb78f5db7 Rename ast.Node methods from Foo to AsFoo 2018-07-01 20:41:21 +10:00
Nigel Tao 52feb10ad3 Add a utility.make_rect_ie_u32 method 2018-06-11 08:28:29 +10:00
Nigel Tao 92a8bc4641 Add a base.utility type 2018-06-11 08:05:12 +10:00
Nigel Tao 40c5328d94 Remove redundant builtInFuncs field 2018-06-03 11:03:07 +10:00
Nigel Tao 4a1b349cb8 Add a base.rect_ie_u32 type 2018-05-18 20:22:56 +10:00
Nigel Tao 6e06d1f9f1 Rename IDDiamond to IDDagger1 and IDDagger2 2018-05-18 13:15:39 +10:00
Nigel Tao e4320c3c6d Add built-in table T methods 2018-05-18 12:50:53 +10:00
Nigel Tao eda326726a Allow table base.u8 as a type 2018-05-18 10:31:24 +10:00
Nigel Tao 2301c763c3 Add a base.image_buffer arg to decode_frame 2018-05-18 09:42:24 +10:00
Nigel Tao e00e71da7b Remove ast.FlagsTypeChecked 2018-05-14 16:11:18 +10:00
Nigel Tao 325488d92d Add a typeExprPlaceholder for non-expr nodes 2018-05-14 16:03:12 +10:00
Nigel Tao 56d46540b1 Rename a concept from placeholder to generic 2018-05-14 15:04:16 +10:00
Nigel Tao 7a9554194c Allow built-in args' types to be refined 2018-05-11 14:49:15 +10:00
Nigel Tao 1435f1d43c Remove ptr base.u8 methods 2018-05-04 13:24:58 +10:00
Nigel Tao e72f957eca Add (ptr base.u8).read_u32le method 2018-05-04 10:42:05 +10:00
Nigel Tao a9d5adc3fc Prepare for more generic funcs, not just slices 2018-05-04 09:31:52 +10:00
Nigel Tao 6fb1abc739 Fix missing check.builtInTypeMap entry 2018-04-26 10:06:36 +10:00
Nigel Tao c479907bff Remove typeExprPlaceholder 2018-04-20 17:16:23 +10:00
Nigel Tao 4ddc2f0055 Make an ast.TypeExpr's ID0 field more consistent 2018-04-20 16:21:16 +10:00
Nigel Tao eeebd58d7b Remove token ID/Key distinction, part 11 of N 2018-04-15 17:57:10 +10:00
Nigel Tao f95239f6e0 Rename u32, io_reader, etc to base.u32, etc 2018-04-12 21:49:17 +10:00
Nigel Tao 2b91e7861c Prepare array and slice tokens 2018-04-05 21:51:38 +10:00
Nigel Tao 97aab37462 Rename buf1, reader1, etc to io_buffer, io_reader
Also remove the unused Buf1, Buf2 and Usize tokens.
2018-04-05 20:49:48 +10:00
Nigel Tao d750ea7653 Add an image_config concept 2018-02-09 14:46:37 +11:00
Nigel Tao 457235a382 Use qualified IDs instead of a usee map 2017-12-29 14:23:58 +11:00
Nigel Tao 117a6c829b Unexport some unused lang/check API 2017-12-29 14:02:56 +11:00
Nigel Tao 1004d898d5 Add statusPkg arg to ast.NewExpr 2017-12-29 13:33:46 +11:00
Nigel Tao ed03c5943a Add pkg to ast Func, Struct and TypeExpr nodes 2017-12-29 12:08:17 +11:00
Nigel Tao 8b0c63df09 Clean up tcheckDot 2017-12-28 11:39:24 +11:00
Nigel Tao 1255b162ea Resolve used packages during type checking 2017-12-28 11:24:59 +11:00
Nigel Tao 7fb19d7669 Fix lang/check tests 2017-12-28 11:04:31 +11:00
Nigel Tao c59f65674b Add some more built-in slice functions 2017-12-21 14:25:00 +11:00
Nigel Tao 339673ae82 Add built-in slice functions 2017-12-16 17:23:49 +11:00
Nigel Tao d14b56ea39 Type check built-in functions more thoroughly 2017-12-16 13:25:26 +11:00