Commit Graph

129 Commits

Author SHA1 Message Date
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
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
ed55fc2c7a Minor cleanup 2024-09-13 13:05:04 -04:00
019e7793fe Update help/defaults 2024-09-13 02:05:47 -04:00
94a3714686 Move learnxiny to examples 2024-09-13 00:27:46 -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
790bbab303 Added logging utility 2024-09-12 02:25:17 -04:00
3657257330 Improve tool 2024-09-09 17:04:46 -04:00
505a188d16 Fix up tomodeps example 2024-09-09 16:54:20 -04:00
81bd840423 Improve wrap example and fix it to no longer use files module 2024-09-09 15:28:48 -04:00
e61096d6eb Fix up ini example 2024-09-09 15:02:47 -04:00
43c595cafe Remove example module for files 2024-09-09 14:48:24 -04:00
eb47f61450 Add Makefile 2024-09-08 20:34:26 -04:00
ba3413a9c9 Center player 2024-09-08 20:26:33 -04:00
f33b7048d7 Turn into map 2024-09-08 20:25:06 -04:00
9f7f4eb858 Take map as a CLI parameter 2024-09-08 19:53:28 -04:00
c2f0b7bb95 Update docs 2024-09-08 19:50:38 -04:00
a7ae25ec08 Add example game using raylib 2024-09-08 19:49:47 -04:00
f86cc6549f Bugfixes 2024-09-08 19:33:49 -04:00
6d986e1f04 Add vector :norm() 2024-09-08 18:48:22 -04:00
5f9b75d866 Use exit() more 2024-09-07 00:48:13 -04:00
7a4bf8d3d8 Use exit() 2024-09-07 00:45:55 -04:00
2bc948567e Check for empty files 2024-09-07 00:35:57 -04:00
11487cd835 Clean up and rename dependency tool 2024-09-07 00:33:07 -04:00
3f16e95127 USAGE and HELP need an underscore prefix so they're not imported into
other files. Also fixed up dependency tool so it works good now
2024-09-07 00:26:30 -04:00
c454bfa3c4 Some improvements 2024-09-07 00:03:17 -04:00
a38d023da1 Update files and add new dependency printer tool 2024-09-06 23:02:15 -04:00
4503824271 Add path resolving 2024-09-06 22:39:42 -04:00
6ae210f37b Add resolve_path() 2024-09-06 15:39:20 -04:00
fba8c90687 Fix partial edit 2024-09-06 14:50:48 -04:00
7b57090564 Use 'when' expression 2024-09-06 14:16:45 -04:00
507b6df5c0 Document coroutine 2024-09-06 12:33:18 -04:00
a7c1d27b09 Example coroutine library 2024-09-06 12:29:36 -04:00
c94fec092e Add example 2024-09-06 12:19:52 -04:00
9f8abd5cd1 Add vectors to the examples 2024-09-05 15:41:04 -04:00
72502b099b Document examples 2024-09-05 15:38:58 -04:00
52717c14e6 Add some examples 2024-09-05 15:37:33 -04:00