Commit graph

40 commits

Author SHA1 Message Date
Cal
f755f052d3 add mapping support, pronoun conjugation to actor stance callables 2024-04-21 15:18:09 -06:00
Griatch
e5d07603ca Run black. Resolve circular import issues in components contrib. 2024-02-25 19:03:11 +01:00
Griatch
89d159cc96 Fix verb conjugation with unknown verbs. Resolve #3330 2023-11-26 17:00:13 +01:00
Griatch
f6b43b0416 Ran black on sources 2023-11-02 20:58:03 +01:00
Andrew Bastien
b975d0fabd Cleaned up KeyErrors and added a funcparser test. 2023-11-01 11:13:59 -04:00
InspectorCaracal
344c2dfc3b correct $pron test 2022-11-16 14:45:06 -07:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
443aae7f20 Honor whitespace in funcparser unparsed strings. Resolve #2927 2022-11-06 16:38:35 +01:00
Griatch
a2289c46f8 Fix nesting count - with tests. Resolve #2926 2022-10-31 20:38:23 +01:00
Griatch
5c6a4200c2 Fix unittest hitting random exception 2022-10-29 18:45:08 +02:00
Griatch
b684194795 Stop escape ' in funcparser; req double quotes. Resolve #2737. 2022-10-29 18:28:30 +02:00
Griatch
0f70f51724 Fix $choice funcparser; improve safe_eval parsing of containers. Resolve #2910. 2022-10-13 23:22:05 +02:00
Griatch
4fb5268acd Fix of FuncParser nested any-output. Resolve #2908, #2902 2022-10-13 20:05:42 +02:00
Griatch
2d74c89eb8 Fix funcparser issues 2022-10-13 18:45:39 +02:00
Griatch
f4a092830e Merge pull request #2918 from audiodude/funcparser-coverage
Increase test coverage for funcparse.py, finding bugs in the process
2022-10-13 08:26:25 +02:00
Travis Briggs
4eb0940b36 Fix tests 2022-10-10 15:30:43 -07:00
Travis Briggs
0775c397ea Add failing test for whitespace preservation 2022-10-10 15:06:42 -07:00
Travis Briggs
ca68c5e805 Make it more clear that we are catching the exception raised by the $raise() function 2022-10-09 09:53:24 -07:00
Travis Briggs
18ce7bc02b Better demonstrate _MAX_NESTING 2022-10-09 09:29:48 -07:00
Travis Briggs
b4100e0987 Increase test coverage for funcparse.py, finding bugs in the process 2022-10-07 23:59:38 -07:00
Griatch
6fa68745ba Correct funcparser tests 2022-09-18 01:26:04 +02:00
Griatch
f4c3db1151 Fix merge conflicts 2022-07-03 11:13:12 +02:00
Griatch
a83f21ef2f Apply black to cleanup code 2022-06-12 09:46:48 +02:00
ChrisLR
f47beb6751 Changed parser to escape properly using alternating " or ' 2022-06-06 16:23:36 -04:00
Griatch
a553f1ab2f Continue with evadventure implementation 2022-03-21 15:35:07 +01:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
19f920b6d4 Clean up all test suites 2022-01-07 16:12:12 +01:00
Griatch
9d6cb98349 Add pronoun parsing for msg_contents inlinefuncs 2021-10-30 22:36:40 +02:00
Griatch
c9d9e9c6f8 Clean up docs and more funcparser fixes 2021-03-27 23:43:46 +01:00
Griatch
c65c68e4c2 Further cleanup and refactoring 2021-03-27 19:20:21 +01:00
Griatch
7891987e05 Fix unittests for funcparser refactor 2021-03-26 23:45:38 +01:00
Griatch
a3a57314a1 Homogenize funcparser calls 2021-03-25 23:15:47 +01:00
Griatch
adb370b1d3 Add tests for verb conjugation 2021-03-22 20:18:27 +01:00
Griatch
24a6d2cfab Add verb conjugation module 2021-03-22 00:47:27 +01:00
Griatch
263065e7f1 Make Funcparser support non-string returns; more tests 2021-03-20 00:23:29 +01:00
Griatch
06c2b6d477 Make funcparser able to handle non-string returns 2021-03-18 23:27:00 +01:00
Griatch
73eb9a935d Make FuncParser integrate better with literal_eval by not nesting strings unnecessarily. 2021-03-18 09:39:41 +01:00
Griatch
773bb31f55 Replace inlinefunc parser with FuncParser mostly 2021-03-17 23:44:08 +01:00
Griatch
f445f34356 Add simple_parser dependency. Extend/test new funcparser 2021-03-17 17:02:53 +01:00
Griatch
377a25f9e8 Add and start testing of new central funcparser 2021-03-14 23:54:53 +01:00