Commit Graph

1038 Commits

Author SHA1 Message Date
8ee23054bf Update Inline C syntax and documentation/tests 2024-09-15 17:34:34 -04:00
3cbc62ee43 Add docs on bytes 2024-09-15 17:00:25 -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
2b454d1408 Fix up file test 2024-09-15 15:53:38 -04:00
33876323aa Update path reading APIs to use optional values instead of erroring 2024-09-15 15:50:28 -04:00
4ad7509013 Fix optional bytes 2024-09-15 15:35:51 -04:00
9800784d41 Update docs 2024-09-15 15:35:47 -04:00
e422079fcc Add a Byte datatype 2024-09-15 15:33:47 -04:00
259c7efcf8 Make sure that escape sequences don't accidentally trigger the next
backslash to be interpreted as an escape sequence when printing quoted
text
2024-09-15 14:09:49 -04:00
9cff275dc6 Slightly improve text quoting so it outputs "a$\r\nb" instead of
"a$\r$\nb"
2024-09-15 14:07:20 -04:00
75e0201fad Improve automatic text quoting so it minimizes escape sequences when
possible.
2024-09-15 14:03:16 -04:00
6012a00763 Clean up pattern code to make better use of TextIter_t and fix up
URI/URL patterns
2024-09-14 00:12:52 -04:00
2b05560849 Fix Path:by_line() iterator 2024-09-14 00:09:18 -04:00
4cce1013a2 Update pointer docs on optionals 2024-09-13 20:25:09 -04:00
c455e7b67d Rename builtins/ -> stdlib/ 2024-09-13 20:18:08 -04:00
816aa29b79 Deleting unused file 2024-09-13 20:16:13 -04:00
aa0c16f919 Clean up macro code 2024-09-13 20:12:44 -04:00
0c8b2f8e99 Rename c_string.{c,h} -> c_strings.{c,h} 2024-09-13 20:10:42 -04:00
df9096e6e5 Add missing include 2024-09-13 20:08:57 -04:00
4380039acc Rename builtins to use plurals when appropriate 2024-09-13 20:08:20 -04:00
51c346bbc5 Code cleanup 2024-09-13 19:59:28 -04:00
eae0a36b39 Remove dead code 2024-09-13 19:44:44 -04:00
0ead266477 Compiled programs don't need to be linked against -lcord anymore 2024-09-13 14:25:57 -04:00
447f2af70a Add missing import 2024-09-13 14:25:03 -04:00
34c562e88e Move cord helper functions into their own file 2024-09-13 14:23:24 -04:00
06e432aa8d Update docs a bit 2024-09-13 13:52:57 -04:00
b2860b0989 Minor cleanup 2024-09-13 13:49:45 -04:00
6c5f5151b7 Remove a few unused imports and clean things up a bit 2024-09-13 13:46:16 -04:00
9447ba8c4a Split pattern code into its own file 2024-09-13 13:34:04 -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
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