Commit Graph

88 Commits

Author SHA1 Message Date
f51acef40e Overhaul of Path so it uses root and array of components instead of
stringly typed
2025-03-15 14:22:11 -04:00
a3c4e0a82d Rename without_escaping() -> from_text() 2025-03-12 18:12:53 -04:00
904917a2bd Update comments 2025-03-11 18:30:42 -04:00
de0e565d00 Fixes for integer truncation 2025-03-11 18:02:13 -04:00
1f6e586b2a Support external structs with namespaced methods (also C-strings are now
`const char*` instead of `char*`)
2025-03-11 17:49:04 -04:00
294b712e6d Don't use '$' prefix for field names 2025-03-11 13:18:30 -04:00
e095c7fb64 Add a few colorful escapes 2025-03-11 00:45:52 -04:00
038a9f548e Add some vector methods 2025-03-10 16:02:16 -04:00
a6d48e46c1 Fixes for examples 2025-03-10 13:42:57 -04:00
7f75a34bce Fix/update colorful 2025-03-10 13:33:53 -04:00
147e0f0269 Overhaul of constructors, making it more consistent and correct. Also
changed T(), T, T_t, T_s type names to T(), T$$info, T$$type, T$$struct
for unambiguity
2025-03-05 18:20:54 -05:00
80475ad02d Update CLI API 2025-03-03 12:53:15 -05:00
d2cf499a1f Add colorful DSL 2025-03-02 00:07:54 -05:00
37e96dbda5 Change lang.text_content to lang.text 2025-03-01 16:53:58 -05:00
c9aa9dcdcc Fix learnxiny 2025-02-21 14:56:48 -05:00
3b00aef3e4 Use defer in http module 2025-02-04 15:32:01 -05:00
32da3a3226 Add a _ prefix on variables so it's easier to debug in GDB 2025-02-04 14:16:06 -05:00
c60ea2079f Fix up examples 2025-01-12 16:54:37 -05:00
37f3e91f6c Rename "NONE" to "none" 2024-12-07 16:04:25 -05:00
40c33987fa Bring back table[key] syntax 2024-11-30 15:50:54 -05:00
abe36dcee1 Tweak docs 2024-11-26 14:01:03 -05:00
4d11f83f70 Add some examples to the repo 2024-11-26 13:57:00 -05:00
d4b10514fb Clean up some more null->none renames and fix the documentation. Also
change the literal syntax to `NONE:T` instead of `!T`
2024-11-24 16:36:27 -05:00
0e10313d64 Switch NaN to be identical to the null value 2024-11-24 16:13:23 -05:00
f868d02b08 Add NULL as a syntax for null values. 2024-11-21 13:00:53 -05:00
4720ca7a5f Rename Text.utf8_bytes back to Text.bytes 2024-11-19 13:30:45 -05:00
0df908f55f Support iterating over pointers to collections again 2024-11-09 17:54:32 -05:00
145a078387 Make the compiler stricter about not promoting local value variables to
pointers
2024-11-09 17:26:01 -05:00
7a4f2e73ad Rename from_text() to parse() 2024-11-09 15:11:11 -05:00
b238f1df41 Fix up old-style reducers 2024-11-05 15:20:47 -05:00
b8d7eabc02 Deprecate bit-width integer/num literals in favor of using type
constructors
2024-11-05 15:18:32 -05:00
2fa26e6af3 Be much more permissive about using integer literals for fixed-size ints
or nums or bytes
2024-11-04 15:24:10 -05:00
8b619fdef0 Add base64 lib 2024-11-04 01:33:54 -05:00
e3c1dd2df5 Add PATCH 2024-10-28 14:37:30 -04:00
efb7be5bc4 Fix up examples to no longer use '&' 2024-10-27 20:49:03 -04:00
074cf22ad4 Change function syntax from func(args)->ret to func(args -> ret) 2024-10-09 13:26:28 -04:00
800e386105 Rename from_unsafe_text to without_escaping 2024-09-24 13:26:49 -04:00
2d78f11400 Remove coroutine example for now 2024-09-18 15:38:42 -04:00
693caebcfb Remove unused code 2024-09-18 14:03:54 -04:00
de49bc5bb3 Deprecate :or_else()/:or_fail()/:or_exit() in favor of the or operator 2024-09-16 16:06:19 -04:00
5f685cbbe5 Minor cleanup 2024-09-16 14:05:32 -04:00
c5396d65a8 Fix up tomodeps 2024-09-16 13:54:47 -04:00
14b04f97be Quote Patterns with "|" instead of "/" when applicable 2024-09-16 00:29:12 -04:00
269c98d106 Don't save "" sections in INI reader 2024-09-15 18:06:03 -04:00
ed4fc11119 Support printing INI file without a key 2024-09-15 17:53:33 -04:00
fa934a9514 Rename file 2024-09-15 17:51:40 -04:00
8b512adbbc Move each example to its own folder 2024-09-15 17:50:43 -04:00
8ee23054bf Update Inline C syntax and documentation/tests 2024-09-15 17:34:34 -04:00
0060686646 Update examples 2024-09-15 16:53:42 -04:00
835eb7e896 Add optional:or_exit(...) 2024-09-15 16:42:42 -04:00