Commit Graph

1006 Commits

Author SHA1 Message Date
019e7793fe Update help/defaults 2024-09-13 02:05:47 -04:00
d094049f81 Fix bug in logic for detecting constant strings 2024-09-13 02:02:30 -04:00
94a3714686 Move learnxiny to examples 2024-09-13 00:27:46 -04:00
0f673458da Update learnxiny 2024-09-13 00:26:17 -04:00
da9cc93c46 Make functions print with func name(...)->... [file:line] info 2024-09-12 23:41:32 -04:00
46a2aa2ffc Fix up comprehensions so set comprehensions work and everything is a bit
more clean
2024-09-12 14:27:13 -04:00
10795782c6 Implement optional hashing/equality/comparisons 2024-09-12 13:17:53 -04:00
990846debb Add enum scoping to arrya/set/table literals 2024-09-12 13:11:03 -04:00
56a4d13975 Automatic promotion to single-argument enum tags with a unique type 2024-09-12 13:05:08 -04:00
43f4f3610e For single-member structs/enums, don't print the member name 2024-09-12 04:09:52 -04:00
fb6dc0a8b9 Fix up CString:as_text() 2024-09-12 03:41:44 -04:00
4d4e3b2a9d Add http example 2024-09-12 03:29:04 -04:00
fc98d05ef9 Add sleep() 2024-09-12 03:20:17 -04:00
790bbab303 Added logging utility 2024-09-12 02:25:17 -04:00
d4d803fa15 Make sure global types don't get library's prefix 2024-09-12 02:24:55 -04:00
1d05704fdd Use CString literals as constant values 2024-09-12 02:18:05 -04:00
05724a659f Change unicode escape to \{name} and add escape for ANSI CSI sequences:
\[...]
2024-09-12 01:43:00 -04:00
bd111dbe2e Automatically interpolate ints for pattern/shell/path 2024-09-12 01:24:26 -04:00
4e4e397e4c Improve output for multi-line doctests by putting ".. " in front of
dedented text
2024-09-12 01:17:10 -04:00
de23577091 Allow trailing whitespace in parens expressions 2024-09-12 01:04:53 -04:00
327d466b95 Table:get() now uses optional values instead of default or failure modes 2024-09-12 00:55:43 -04:00
fa7e52787f Add postfix ! operator for optionals 2024-09-12 00:13:53 -04:00
8e300312a0 Change check_optional -> check_null 2024-09-11 23:55:49 -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
0f7cf28af1 Fix threads and integers 2024-09-11 22:50:03 -04:00
62408e4efc Document iterators 2024-09-11 22:38:13 -04:00
3443edf760 Use optionals for iterators 2024-09-11 22:28:43 -04:00
f7ff82913f Fix recursive structs with optionals 2024-09-11 15:20:33 -04:00
7bd4c6a5b3 Placeholder docs for optionals 2024-09-11 15:12:00 -04:00
91f1d53a4e Update docs 2024-09-11 15:07:37 -04:00
0471e4444a Update learnxiny 2024-09-11 15:04:25 -04:00
6723ea46c2 Bugfix big int literals 2024-09-11 15:03:39 -04:00
9b30945c4d Remove old code 2024-09-11 15:02:27 -04:00
a025fc55bf Update docs 2024-09-11 15:01:51 -04:00
c45afdabd5 Update docs 2024-09-11 14:59:42 -04:00
db0d5a1c20 Change *:from_text() methods to return optional values and set up CLI
parsing to use that approach
2024-09-11 14:53:48 -04:00
0b5bb32912 Fix optional bools 2024-09-11 14:18:01 -04:00
273e2f995f Rename channel_t -> Channel_t for consistency 2024-09-11 13:57:21 -04:00
75fbaa79bc Rename closure_t -> Closure_t for consistency 2024-09-11 13:56:39 -04:00
b0b23acf88 Rename "Nil"->"Null" for consistency 2024-09-11 13:55:41 -04:00
2c90750a3e Fix const issue 2024-09-11 13:55:22 -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
bba9f1b141 Optional fixed-size ints 2024-09-11 11:08:15 -04:00
0ca48c98e8 Support conditionals for tables/arrays/sets 2024-09-11 01:51:16 -04:00