Commit Graph

1066 Commits

Author SHA1 Message Date
171595fad1 Update docs 2024-09-16 16:18:01 -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
821bde156c Support (optional or skip) 2024-09-16 15:48:06 -04:00
2e184ab46e Fix up paths API to use updated Text:match() 2024-09-16 15:33:15 -04:00
e31e3d1514 Update docs 2024-09-16 15:15:17 -04:00
6d0f04375d Have Text:matches() return an optional array of matches 2024-09-16 15:12:54 -04:00
a9a21c40d9 Bugfix for arg passing 2024-09-16 14:29:23 -04:00
68c4731ae6 Show more error info 2024-09-16 14:27:18 -04:00
5f685cbbe5 Minor cleanup 2024-09-16 14:05:32 -04:00
3cbacbd675 Add some basic pattern matching/suffix code for paths 2024-09-16 14:04:51 -04:00
c5396d65a8 Fix up tomodeps 2024-09-16 13:54:47 -04:00
1f23a4f0e3 Handle installing libraries that were downloaded directly to
~/.local/share/tomo/installed
2024-09-16 13:32:27 -04:00
14b04f97be Quote Patterns with "|" instead of "/" when applicable 2024-09-16 00:29:12 -04:00
10a51ad996 Bugfix for string escaping in printouts 2024-09-16 00:15:54 -04:00
b1f882af91 Update docs 2024-09-15 21:25:43 -04:00
6595bdd04a Use 'install' to preserve file modification times 2024-09-15 21:23:02 -04:00
6b5a9d65e3 Overhaul of how libraries are installed 2024-09-15 21:18:42 -04:00
3c19f6387f Better fix 2024-09-15 19:17:51 -04:00
04326d131e Fix some imports 2024-09-15 19:17:08 -04:00
e59584acbd Add alphanumeric pattern 2024-09-15 18:41:37 -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
8a1ace4d65 Fix optional text CLI args 2024-09-15 17:53:20 -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
3d1a102a8d Update README 2024-09-15 17:36:03 -04:00
f5aa0d6804 Link to C interop page 2024-09-15 17:35:08 -04:00
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