Commit Graph

25 Commits

Author SHA1 Message Date
f868d02b08 Add NULL as a syntax for null values. 2024-11-21 13:00:53 -05:00
2c904ff173 Go back to stringifying integers/num32s/bytes without the type
constructor.
2024-11-19 13:41:52 -05:00
b8d7eabc02 Deprecate bit-width integer/num literals in favor of using type
constructors
2024-11-05 15:18:32 -05:00
074cf22ad4 Change function syntax from func(args)->ret to func(args -> ret) 2024-10-09 13:26:28 -04:00
5103fde1c5 Add a test for optionals to ensure they size correctly 2024-10-08 13:39:45 -04:00
e5f432d4c9 Fix not x for optional values 2024-09-16 16:10:05 -04:00
de49bc5bb3 Deprecate :or_else()/:or_fail()/:or_exit() in favor of the or operator 2024-09-16 16:06:19 -04:00
835eb7e896 Add optional:or_exit(...) 2024-09-15 16:42:42 -04:00
fb37b0ee42 Fix up if var := ...: in ternary expressions and optional checking
logic
2024-09-15 16:29:45 -04:00
e422079fcc Add a Byte datatype 2024-09-15 15:33:47 -04:00
da9cc93c46 Make functions print with func name(...)->... [file:line] info 2024-09-12 23:41:32 -04:00
10795782c6 Implement optional hashing/equality/comparisons 2024-09-12 13:17:53 -04:00
43f4f3610e For single-member structs/enums, don't print the member name 2024-09-12 04:09:52 -04:00
fa7e52787f Add postfix ! operator for optionals 2024-09-12 00:13:53 -04:00
c034175ae1 Add optional:or_else(fallback) and optional:or_fail(message) 2024-09-11 23:17:03 -04:00
cfef667a89 Fix optional integer promotion 2024-09-11 23:13:41 -04:00
3dd8228a3b More tests 2024-09-11 13:46:38 -04:00
02930b84f8 Optionals for threads 2024-09-11 12:56:16 -04:00
908673c9d9 Optional channels (plus fixed some channel bugs) 2024-09-11 12:50:46 -04:00
30d39378c7 Optional C Strings 2024-09-11 12:39:56 -04:00
210179ee67 Optional enums (deprecated custom tag values) 2024-09-11 12:29:48 -04:00
dee3742b48 Optional structs 2024-09-11 12:01:17 -04:00
989dc3f442 Support if x := blah: ... 2024-09-11 01:48:15 -04:00
7126755275 Add optional types 2024-09-11 01:31:31 -04:00
7dc8189266 Add test for optionals 2024-07-01 12:30:22 -04:00