Commit graph

54 commits

Author SHA1 Message Date
f862319f3b Add extra parsing checks to prevent iter_blocks from matching tokens after end of filter 2022-03-04 11:06:37 -05:00
9dd70f2004 Fix filters syntax parsing matching tokens after end of filter 2022-03-04 11:00:24 -05:00
da0596cc10 Add empties(count) functionality and help docs 2022-03-01 20:44:46 -05:00
8b7046d257 Add file() item op and help docs 2022-02-28 20:25:29 -05:00
260ea03727 Update dependencies (and fix unrelated build warning) 2022-02-26 20:07:26 -05:00
4e5d7474b3 Simplify some more parsing checks less general error messages 2022-02-24 16:41:56 -05:00
93fd85b0fc Relax requirements for field filters to allow for more useful error msg 2022-02-24 12:11:26 -05:00
ec03746b41 Fix curly bracket syntax error spam and REPL bracket curly handling 2022-02-24 09:47:37 -05:00
f05e57ba54 Fix non-assignment declare parsing 2022-02-23 20:18:18 -05:00
944a203675 Add unique filters 2022-02-23 16:06:20 -05:00
bb492dcd77 Document iter block functionality and cargo fmt 2022-02-23 11:33:45 -05:00
a915cbd029 Add iterable manipulations to blocks 2022-02-20 12:04:56 -05:00
3a2c2629ca Create non-iter operations and implement basics for Turing completeness 2022-02-19 20:17:31 -05:00
72b63b6feb Fix OR matching for variable-based filters 2022-02-15 15:51:57 -05:00
9705dc22bc Refactor music analysis functionality to add to MpsContext 2022-02-04 21:49:13 -05:00
5af9311887 cargo fmt 2022-02-03 16:56:42 -05:00
bc43caf01b Add set intersection function 2022-02-02 15:53:57 -05:00
19748d33ac Add regex pattern field filter 2022-02-02 13:12:56 -05:00
4e7948d5ad Add union functions 2022-02-02 11:27:01 -05:00
b8b57a8199 Remove OpGetter from files 2022-01-31 16:30:53 -05:00
9ea25c27de Remove OpGetter from sql context functionality 2022-01-31 16:25:05 -05:00
70950e0bc7 Reduce usage of OpGetter by making RuntimeError (de)composable 2022-01-31 15:34:33 -05:00
46459c7da1 cargo fmt 2022-01-31 09:22:36 -05:00
b521d22513 Add size_hint to ops (not very useful) 2022-01-31 09:04:48 -05:00
0b55ddda6b Add randomisation and explicit reset 2022-01-30 21:32:38 -05:00
9c2a20ef40 cargo clippy fixes 2022-01-29 16:11:01 -05:00
bde7ead3b6 Add bliss_next sorting algorithm, rename bliss sort to bliss_first 2022-01-27 19:55:43 -05:00
bd3d1465df Add empty() function 2022-01-27 16:06:32 -05:00
44cee21e7e Improve release experience by bundling sqlite and fixing warnings 2022-01-25 22:14:48 -05:00
f88efaf6d5 Change syntax for bliss: distance bliss to advanced bliss 2022-01-25 20:00:15 -05:00
6e853ed634 Remove debug println that was accidentally left in 2022-01-25 10:23:08 -05:00
41c8c8cbf1 Add bliss music sorting (sort by song similarity -- songs which are more similar (smaller distance) come first) 2022-01-25 00:04:25 -05:00
0a6dae930f cargo fmt 2022-01-24 16:12:29 -05:00
8dc571521f Add sort by field name 2022-01-24 16:12:00 -05:00
9ac5dd4570 Add sort providers framework and empty sorter to standard vocab 2022-01-22 20:44:53 -05:00
58cae6155c Replace MpsMusicItem with general-purpose MpsItem and bump version to v0.3.0 2022-01-20 19:52:03 -05:00
b9def2f15c Add all replacement filter functionality 2022-01-18 09:14:05 -05:00
dd5f15c745 Add not operator (bang) for index filter 2022-01-17 16:58:37 -05:00
592a5d035b Add OR support for filters 2022-01-16 20:55:46 -05:00
d23495a5ef Add range filtering 2022-01-12 16:23:56 -05:00
ca17313b7b Add single-index filter 2022-01-12 11:06:32 -05:00
9df28eb69b Add variant of field filter which ignores missing field and comparison errors 2022-01-12 09:59:30 -05:00
a8eb390ab8 Implement reset functionality on existing statements 2022-01-11 10:22:05 -05:00
90a310bbbe Initial API work for reset() support on statements 2022-01-08 20:51:31 -05:00
73aae27148 Fix crash on empty files() statement 2022-01-06 19:53:10 -05:00
01ebf99c5e Fix endless errors on invalid root path 2022-01-05 16:59:42 -05:00
c11b681d56 Fix some implementation bugs found while testing REPL 2022-01-04 13:00:05 -05:00
e6e52ddb58 Add some built-in and code documentation 2022-01-03 21:15:28 -05:00
bddb79d0ca Implement REPL functionality 2022-01-03 17:53:57 -05:00
ae0872e417 add basic non-sql lookup files() & cargo fmt 2021-12-31 19:56:46 -05:00