Commit Graph

49 Commits

Author SHA1 Message Date
gingerBill
49ab935ae9 Disallow for in in favour of for _ in 2023-08-08 14:56:12 +01:00
Jeroen van Rijn
683ee75703 Fix #2684 2023-07-28 15:53:39 +02:00
gingerBill
3dec55f009 Replace x in &y Use &v in y syntax through core & vendor for switch/for statements 2023-06-26 15:42:57 +01:00
gingerBill
9b54b99bf6 Use positional and named arguments within the core library 2023-06-21 01:17:05 +01:00
gingerBill
9b15bda055 Add missing packages to examples/all 2023-06-07 22:48:39 +01:00
gingerBill
635842b322 Add more text packages to examples/all 2023-06-07 22:40:46 +01:00
Clay Murray
02eab95dd1 Fix check for continuation byte in core/text/text_edit 2023-05-02 14:14:24 -06:00
oskarnp
8862f9118b Fix typos in doc 2023-03-27 09:31:24 +02:00
oskarnp
e2e98672bd Fix typo 2023-03-26 21:51:57 +02:00
oskarnp
51f295cacc Rename init procs 2023-03-26 21:46:36 +02:00
oskarnp
0c50ac3396 Remove unnecessary #partial switch 2023-03-26 21:45:37 +02:00
oskarnp
2da81a4a26 Remove unnecessary C style loop 2023-03-26 21:44:31 +02:00
oskarnp
b6d4853a33 Fix cell alignment to default to Left using ZII 2023-03-26 21:41:16 +02:00
oskarnp
020b147222 Move helper procs into utility.odin 2023-03-26 21:33:27 +02:00
oskarnp
88ee5d1a6d text/table: Initial implementation 2023-03-26 16:10:27 +02:00
skytrias
63a0395a79 refactor SPECIALS_TABLE 2022-12-21 22:08:03 +01:00
skytrias
94af3c2887 package name changed 2022-12-21 21:38:21 +01:00
skytrias
e5d0417a6c folder name changed 2022-12-21 21:36:50 +01:00
skytrias
1bea0f3772 fix styling issues and use switches in cases its necessary, add comments to helpers 2022-12-20 15:48:10 +01:00
skytrias
ff7f139fd7 add iter_index and update tests to use easier matcher setup 2022-12-20 12:59:32 +01:00
skytrias
967afd8bbb try helper procedures / structs 2022-12-18 23:11:23 +01:00
skytrias
0ae1812f90 small fixes and oob checks, stop infinite loops on empty matches 2022-12-18 23:11:23 +01:00
skytrias
eb5523d5d3 case insensitive helper call 2022-12-18 23:11:23 +01:00
skytrias
3f4bbbec29 add proper unicode walking 2022-12-18 23:11:23 +01:00
skytrias
70bd220f34 balanced string, frontier pattern, gsub_with and their tests added 2022-12-18 23:11:23 +01:00
skytrias
bd3596f012 create lua strlib text package and tests 2022-12-18 23:11:23 +01:00
gingerBill
2ed16240a7 Add core:text/edit 2022-11-04 14:08:19 +00:00
gingerBill
b743f56fb9 Fix +build ignore 2022-11-04 11:39:54 +00:00
gingerBill
cde002c579 Fix i18n 2022-08-08 12:27:23 +01:00
gingerBill
33895b6d92 Convert all uses of *_from_slice to *_from_bytes where appropriate 2022-05-16 01:43:43 +01:00
Jeroen van Rijn
9c9c2b483c [i18n] Enable *nix tests again. 2022-04-29 18:41:21 +02:00
Jeroen van Rijn
ff0f0c447f [i18n] Fix segfault on destroy on Linux
Forgot to intern the section string in QT TS loader.
2022-04-29 18:10:13 +02:00
Jeroen van Rijn
09e1c0fa27 [i18n] Add tests. 2022-04-29 16:19:13 +02:00
Jeroen van Rijn
957ef8e8fe [i18n/xml] Move I18N XML files to their own assets directory. 2022-04-29 13:16:30 +02:00
Jeroen van Rijn
2e11a8da5b [i18n] Move to core:text/i18n. 2022-04-29 13:02:40 +02:00
gingerBill
720884e0f1 Strip even more semicolons if followed by a } or ) on the same line 2021-08-31 23:47:57 +01:00
gingerBill
251da264ed Remove unneeded semicolons from the core library 2021-08-31 22:21:13 +01:00
gingerBill
9f8a63cb43 More minor stylization changes (remove unneeded parentheses) 2021-06-14 11:34:31 +01:00
gingerBill
86649e6b44 Core library clean up: Make range expressions more consistent and replace uses of .. with ..= 2021-06-14 11:15:25 +01:00
gingerBill
6c2b93d519 Improve text/scanner whitespace parameter to use a bit_set instead; Improve error message for for x in y where y is not iterable but allows in as an operator 2020-12-15 22:28:40 +00:00
gingerBill
510d1f2518 Add docs to text/scanner 2020-12-07 12:43:28 +00:00
gingerBill
7b55068b04 Unify peek_n with peek and renamescan_peek_n to peek_token 2020-12-07 12:13:41 +00:00
gingerBill
b9aa94ee0d Add scan_peek_n to package text/scanner #800 2020-12-07 11:30:54 +00:00
gingerBill
96d8971d87 Add peek_n to package text/scanner 2020-12-07 10:55:27 +00:00
gingerBill
dff4c6b666 Clean up logic 2020-12-06 00:59:23 +00:00
gingerBill
bca28e94ec Keep fmt happy 2020-12-02 23:43:28 +00:00
gingerBill
4d30b88927 Fix typos 2020-12-02 23:11:46 +00:00
gingerBill
3b7fd4711f Fix text/scanner.scan_string 2020-11-18 23:48:01 +00:00
gingerBill
a39921aa6a Add package text/scanner 2020-11-18 23:33:16 +00:00