54 Commits
Author SHA1 Message Date
Reece Dunham 76324d7f0c Support $contains for strings 2022-07-17 03:13:46 -04:00
Reece Dunham 53dfd7e4ab Run Prettier 2022-07-16 02:35:06 -04:00
Reece Dunham 1c3efb1f02 Add tests for strange string reference edge cases 2022-07-16 01:54:45 -04:00
Reece Dunham 9e27d35b09 Improve the spec documentation, rename gte and lte to ge and le to comply with the actual implementations in the game. 2022-07-14 11:55:59 -07:00
Reece Dunham 58aea16d78 Extra handleEvent tests. 2022-07-13 00:32:15 -04:00
Reece Dunham 3d2c19a349 Handle pushunique as a condition.
This needs tests to be written for it!
2022-07-12 02:07:23 -04:00
Reece Dunham 3c2974082b Bump version to 4.1.0 2022-07-01 23:43:16 -04:00
Reece Dunham 6f6424bcc6 Support Count property on arrays, move findNamedChild to utils, drop support for comparing arrays 2022-07-01 12:42:46 -04:00
Reece Dunham c1a10618b7 v4.0.0 2022-06-20 15:17:53 -04:00
Reece Dunham 679d7fb79d Support $remove 2022-06-20 14:03:40 -04:00
Reece Dunham 8a53253d68 Change how immediate states are handled, add copyright to all eligible files. 2022-06-16 15:57:13 -04:00
Reece Dunham e001b19382 Add basic tracing, run prettier 2022-06-10 15:31:10 -04:00
Reece Dunham 48b25d8aa7 Handle nested loops 2022-05-27 23:30:49 -04:00
Reece Dunham 398f105249 Fix bugs, greatly improve coverage 2022-05-06 17:57:11 -04:00
Reece Dunham f85c965dd3 Run prettier over stuff 2022-05-06 17:19:30 -04:00
Reece Dunham 6c8df49005 Fix a bunch of stuff with timers 2022-04-24 16:23:15 -04:00
Reece Dunham 3f54cd84ee Tag v3.2.0 2022-04-23 21:58:19 -04:00
Reece Dunham 98963c0a3b Handle immediately executed events in states 2022-04-10 23:22:48 -04:00
Reece Dunham 43cdc85051 Remove circular imports 2022-04-05 12:33:15 -04:00
Reece Dunham 3af4cf943e Better support for timers in handleEvent API 2022-03-30 22:06:50 -04:00
Reece Dunham 9a210b6cb6 Only emit types once, add missing copyright headers, remove all dependencies 2022-03-30 16:42:24 -04:00
Reece Dunham 8151cc76a5 Update readme, run prettier 2022-03-30 12:39:46 -04:00
Reece Dunham a219a41fb3 Remove unused generic 2022-03-30 12:34:19 -04:00
Reece Dunham de3092cffe Refactor tests, reduce excess code 2022-03-30 12:32:20 -04:00
Reece Dunham a5b3ab2ff9 Jest -> Mocha, working on timers, alpha 4 2022-03-28 15:49:37 -04:00
Reece Dunham ede5facfae Fix handleEvent breaking when using an array of event handlers 2022-03-25 16:34:02 -04:00
Reece Dunham d51642cd9c Tweaks to make mangling possibly more reliable 2022-03-25 16:21:19 -04:00
Reece Dunham f98267424f Rewrite handling of inarray, any, and all 2022-03-19 12:31:57 -04:00
Reece Dunham 9af892b56d Allow overriding findNamedChild for specific trees 2022-03-19 10:42:36 -04:00
Reece Dunham 20fb5a9405 Various improvements to the algorithm 2022-03-15 23:11:53 -04:00
Reece Dunham 577687dd32 triple equals + type fix 2022-02-16 16:10:57 -05:00
Reece Dunham 3ada8ab529 All tests pass now, hurrah 2022-02-15 14:48:01 -05:00
Reece Dunham fa188555e0 Massive rewrite 2022-02-15 11:02:37 -05:00
Reece Dunham 0831f7bd72 Handle action keys on the top level, support the Constants Definition property. 2022-01-05 13:03:09 -05:00
Reece Dunham 58546ada94 Handle multiple actions 2021-12-25 14:02:34 -05:00
Reece Dunham 3f88848e9d Not complete, but start prototyping handleEvent API 2021-12-25 08:01:04 -05:00
Reece Dunham c6a346bee3 Merge pushunique and push into just one node, ignore build info files, add $inc and $dec tests 2021-12-13 15:12:08 -05:00
Reece Dunham ab06d2eec7 Use lodash's implementation for setObjectChild 2021-12-09 12:24:41 -05:00
Reece Dunham ee116ab2e0 Fix addition/subtraction side effects 2021-12-01 15:44:49 -05:00
Reece Dunham cf2b5556f2 Bump version to v2.0.0 2021-12-01 11:22:13 -05:00
Reece Dunham f9d6e52d7e Add docs, extra null/undefined safety, and allow accessing globals by their names 2021-12-01 11:12:42 -05:00
Reece Dunham 2ba6427412 Let to const 2021-11-30 18:22:58 -05:00
Reece Dunham b8c34b5ba4 Add inarray support (it's ugly, but works) 2021-11-30 14:16:26 -05:00
Reece Dunham 8242fb6289 Push and set nodes + fix tests 2021-11-29 15:19:40 -05:00
Reece Dunham 1a7909293e Initial global manipulation stuff 2021-11-29 13:10:18 -05:00
Reece Dunham 74491fc835 Fix tsc failing to build 2021-11-17 20:32:52 -05:00
Reece Dunham 41fbb05f68 More tests + CI 2021-11-17 20:12:02 -05:00
Reece Dunham 04334a7418 Fix a ton of bugs, start writing unit tests 2021-11-17 09:34:11 -05:00
Reece Dunham 5860140547 Simplify the API 2021-11-16 13:52:03 -05:00
Reece Dunham ef9142725a Support $or statements 2021-11-15 20:52:21 -05:00