Commit Graph
56 Commits
Author SHA1 Message Date
Nigel Tao f3caf09d77 lang: add read-only type decorators 2023-04-10 15:29:12 +10:00
Nigel Tao 43630d14f0 Make lang/ast Str methods return non-empty for nil 2020-11-09 21:39:50 +11:00
Nigel Tao cb7e9e0ce9 Add a ~mod* operator 2019-11-12 21:30:45 +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 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 3ba450ba55 Make gif's decoder.copy_to_image_buffer ! not !? 2018-12-28 17:32:48 +11:00
Nigel Tao 9741eada02 Replace "= try foo" with "=? foo" 2018-12-01 13:11:47 +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 eec0fce647 Change error "?foo" to status "?foo" 2018-08-12 21:31:56 +10:00
Nigel Tao 0a47966e72 Introduce finer-grained effects 2018-07-29 13:40:49 +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 eda326726a Allow table base.u8 as a type 2018-05-18 10:31:24 +10:00
Nigel Tao e8eeee371a Raise built-in ident capacity from 96 to 768 2018-05-05 09:23:10 +10:00
Nigel Tao 7f0923a9cf Remove the unused &^ AmpHat operator 2018-04-26 11:24:27 +10:00
Nigel Tao 6d167b7424 Add ~sat+ and ~sat- 2018-04-26 11:13:19 +10:00
Nigel Tao a698b47cb6 Rename ~+ to ~mod+; add ~mod-. 2018-04-26 10:05:19 +10:00
Nigel Tao 4ddc2f0055 Make an ast.TypeExpr's ID0 field more consistent 2018-04-20 16:21:16 +10:00
Nigel Tao bbe3eef04b Clarify a method TypeExpr's string form 2018-04-20 14:19:09 +10:00
Nigel Tao eeebd58d7b Remove token ID/Key distinction, part 11 of N 2018-04-15 17:57:10 +10:00
Nigel Tao 81e02e7db6 Remove token ID/Key distinction, part 7 of N 2018-04-15 15:15:56 +10:00
Nigel Tao 7007682182 Remove token ID/Key distinction, part 2 of N 2018-04-15 10:58:53 +10:00
Nigel Tao d33db6dae0 Introduce "array[N] T" and "slice T" type syntax 2018-04-05 22:21:08 +10:00
Nigel Tao 2b91e7861c Prepare array and slice tokens 2018-04-05 21:51:38 +10:00
Nigel Tao 139bcfa7f1 Add pkg to ast Expr nodes 2017-12-29 13:28:31 +11:00
Nigel Tao 8b4ba30a36 Rename some ast.Expr methods 2017-12-29 12:58:01 +11:00
Nigel Tao ed03c5943a Add pkg to ast Func, Struct and TypeExpr nodes 2017-12-29 12:08:17 +11:00
Nigel Tao c403f06b25 Fix ast.Expr.Str for impure calls 2017-12-28 14:27:02 +11:00
Nigel Tao bf00d114e4 Let ast.TypeExpr represent method types 2017-12-09 13:55:59 +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 cbc8c39375 Delete old limit- and mark-related code. 2017-10-27 10:57:32 +11:00
Nigel Tao 2cd6ebed8e Add a "deref" unary operator. 2017-10-20 15:44:30 +11:00
Nigel Tao 6492c52156 Add a ~+ operator. 2017-10-19 16:50:05 +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 519ec373f2 First cut at a "[] u8" slice type. 2017-09-08 16:53:59 +10:00
Nigel Tao 935cd73686 Add a "status" type and "try" keyword. 2017-09-01 16:41:42 +10:00
Nigel Tao b78807d60a Add the "const" keyword. 2017-07-16 12:02:12 +10:00
Nigel Tao ebf3713555 Rename PackageOrDecorator to Decorator. 2017-06-10 10:55:51 +10:00
Nigel Tao 6e7e566232 Rename token.IDMap to token.Map. 2017-06-08 13:10:01 +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 90c5f4758e Add Token.KeyFoo constants. 2017-05-18 16:04:26 +10:00
Nigel Tao 15485dadc1 Add ast.FlagsTypeChecked. 2017-05-18 11:03:56 +10:00