1
0
Commit Graph

498 Commits

Author SHA1 Message Date
833a830b30 Expand type checking to map contexts 2023-12-09 17:15:41 -05:00
0fb787bb72 Write docs 2023-12-06 14:13:22 -05:00
b064d23719 Implement type system; Modify use; Write docs 2023-12-06 13:48:38 -05:00
984b66b0aa Implement new function syntax 2023-12-05 17:40:22 -05:00
ed4dd6a819 Improve internal API 2023-12-05 17:08:22 -05:00
d6c679c0b3 Implement new function syntax 2023-12-05 16:42:11 -05:00
7f1b53aabe Continue implementing type checks 2023-12-02 02:34:23 -05:00
62959be020 Add types for built-in functions 2023-12-01 23:50:26 -05:00
9fd02a2118 Continue fixing tests and implementing types 2023-12-01 23:47:15 -05:00
07b1efd369 Make fixes for function changes 2023-12-01 23:20:33 -05:00
31979364eb Remove function_declaration module 2023-12-01 22:54:25 -05:00
ae05e942f2 Add types for built-in functions 2023-12-01 22:16:50 -05:00
50abe9765a Implement random_float and random_boolean 2023-11-30 11:07:52 -05:00
a0c648b33a Simplifiy syntax for function calls 2023-11-30 11:05:09 -05:00
99dd189328 Implement from_json and to_json 2023-11-30 10:10:03 -05:00
9b693ba41b Implement assert_equal 2023-11-30 10:00:40 -05:00
21099a4092 Clean up 2023-11-30 09:48:56 -05:00
0ee26dcf0d Implement function declarations 2023-11-30 09:30:25 -05:00
57b06df9c2 Clean up 2023-11-30 05:40:39 -05:00
3dc78a7066 Implement runtime type checking 2023-11-30 02:09:55 -05:00
8826d08392 Implement list type checks 2023-11-30 00:57:15 -05:00
b6422a438b Implement parsing and runtime checks 2023-11-29 22:54:46 -05:00
5f960021b1 Implement type equality 2023-11-29 22:02:55 -05:00
081d349783 Continue type check implementation 2023-11-29 20:59:58 -05:00
bc2615a1ed Begin changes for new type definitions 2023-11-29 19:23:42 -05:00
5ffb797b5f Clean up 2023-11-28 19:36:10 -05:00
fc898e28e2 Begin converting to new built-in API 2023-11-28 19:18:04 -05:00
a1f3dcb107 Clean up 2023-11-28 18:28:07 -05:00
b46dfc5791 Create new built-in function API 2023-11-28 17:54:17 -05:00
c412836487 Change map syntax 2023-11-28 11:01:38 -05:00
43d46cb289 Add type check error; Add parameter syntax 2023-11-28 10:29:42 -05:00
2bd4ccb40d Implement type checking 2023-11-27 17:53:12 -05:00
25852efcd6 Continue type check implementation 2023-11-27 15:02:08 -05:00
f0635bf330 Improve error output 2023-11-27 10:32:25 -05:00
0646d010c5 Add type checking 2023-11-27 10:27:44 -05:00
ab769b4b2a Add any type 2023-11-27 09:36:17 -05:00
8db95b237c Begin new type checking system 2023-11-21 13:42:47 -05:00
60ba9853ed Clean up; Fix read function 2023-11-20 12:49:20 -05:00
83390b53a7 Implement use statement; Rework value generation 2023-11-17 20:10:07 -05:00
97447d6d8b Fix examples; Clean up 2023-11-16 02:57:50 -05:00
c4dd68c293 Pass tests 2023-11-16 02:11:47 -05:00
ff836b4f0a Start std library; Write README; Change map syntax 2023-11-16 01:59:48 -05:00
7445ebec34 Clean up 2023-11-15 21:52:49 -05:00
a21aa5e37b Fix find loops and index syntax 2023-11-15 21:35:40 -05:00
2876f50822 Implement yield logic; Reform yield syntax 2023-11-15 21:13:14 -05:00
d4aac2c729 Implement parallel find loop 2023-11-14 21:24:47 -05:00
98ea049229 Complete index assignment 2023-11-14 21:03:52 -05:00
a804a85b1f Begin adding index assignment 2023-11-14 20:41:57 -05:00
0b14ab5832 Add index assignment syntax 2023-11-14 20:00:57 -05:00
9ec06997c5 Function call indexing works 2023-11-14 19:38:19 -05:00
781d475794 Add tree option to CLI args 2023-11-14 19:37:19 -05:00
364fed810b Improve error handling 2023-11-14 19:31:04 -05:00
c86f61e1cd Modify index syntax; Clean up 2023-11-13 15:41:55 -05:00
e9e4e92f68 Remove yield 2023-11-12 13:20:41 -05:00
f0fb16607c Simplify grammar structure 2023-11-10 20:44:03 -05:00
020ebd8833 Clean up 2023-11-10 16:24:19 -05:00
9828d9c643 Clean up 2023-11-06 23:20:59 -05:00
6006de13e5 Clean up 2023-11-06 19:16:49 -05:00
f0cb4631ab Begin adding yield; Clean up 2023-11-06 19:10:12 -05:00
2d85a3ee2b Improve soundness of Map type 2023-11-05 13:54:29 -05:00
a3db9cb9f2 Clean up; Complete async 2023-11-04 06:02:27 -04:00
cedf0a8c65 Implement async statment 2023-11-03 23:42:10 -04:00
8ca97300d3 Clean up 2023-11-03 18:04:45 -04:00
d1b116cc35 Begin completing syntax revision 2023-10-31 18:18:39 -04:00
df7cd0e972 Revise language syntax 2023-10-31 15:21:13 -04:00
42f0834d80 Continue syntax revision 2023-10-31 13:04:22 -04:00
e582f3cad3 Continue syntax revision 2023-10-31 09:31:10 -04:00
42339e1171 Begin syntax revision 2023-10-31 01:09:29 -04:00
9c565e810e Use async function to read file input; Clean up 2023-10-30 18:30:41 -04:00
9f571a0bfb Implement list, map and string indexing 2023-10-30 17:11:06 -04:00
b6b427b2f2 Clean up 2023-10-30 15:48:43 -04:00
c721164d99 Remove unwrap errors 2023-10-30 15:42:06 -04:00
f33eef9c5a Prepare for new version 2023-10-29 19:31:06 -04:00
c2a5f5e972 Prepare for new version 2023-10-28 10:28:43 -04:00
674d3c91f9 Fix transform loops 2023-10-26 22:35:59 -04:00
335fc2e454 Clean up 2023-10-26 21:23:39 -04:00
25778cc480 Add reference counting for list values 2023-10-26 18:03:59 -04:00
a5390c5150 Add reference counting for map values 2023-10-26 16:00:06 -04:00
86499367fc Rename VariableMap to Map 2023-10-25 16:44:50 -04:00
3e45c198aa Clean up tests and docs 2023-10-25 16:41:51 -04:00
ec6df112b7 Improve list errors; Begin use statement 2023-10-25 14:46:58 -04:00
8a38790f57 Write examples and highlight queries 2023-10-23 20:45:47 -04:00
72af839102 Clean up 2023-10-23 17:36:11 -04:00
8348b6ce85 Add example; Fix add assignment 2023-10-23 16:12:43 -04:00
9dfe5689e4 Implement add assignment for strings 2023-10-23 15:25:22 -04:00
7342b383dc Fix dot notation; Add corpus tests; Clean up 2023-10-23 15:01:00 -04:00
c0bafe577e Implement string concatenation 2023-10-22 17:04:14 -04:00
ecdac6fab5 Implement download tool 2023-10-22 16:50:09 -04:00
bd83ccd301 Implement workdir tool 2023-10-22 16:41:37 -04:00
c6ef9ad57f Implement colu 2023-10-22 16:32:55 -04:00
88747e6fe5 Clean up 2023-10-22 15:24:10 -04:00
f9a4496473 Increment cargo version 2023-10-22 15:05:43 -04:00
b08a1c5f9a Fix errors 2023-10-22 14:56:41 -04:00
b5e659f09f Implement random tools 2023-10-22 14:48:34 -04:00
3d143cc64c Add debug statement 2023-10-22 14:33:08 -04:00
b64ebbbd18 Clean up examples; Implement type tool 2023-10-22 14:27:18 -04:00
fa6af4026b Implementing insert 2023-10-22 14:10:16 -04:00
75f16a3afe Fix README example; Begin implementing insert 2023-10-22 13:55:56 -04:00
7fef56f90d Implement select with where clauses 2023-10-22 13:07:40 -04:00
2066cf7256 Clean up 2023-10-22 12:37:15 -04:00
2e3f9ebee2 Implement to_string tool 2023-10-21 18:31:46 -04:00
13e10cd4a8 Implement command tools 2023-10-21 18:29:46 -04:00
0398988074 Implement json tools 2023-10-21 17:59:19 -04:00
010cbf2447 Implement write tool 2023-10-21 17:51:04 -04:00
3355310d9d Implement remove tool; Remove trash tool 2023-10-21 17:48:14 -04:00
003a082074 Implement read tool 2023-10-21 17:46:08 -04:00
059675bc16 Implement read tool 2023-10-21 17:28:49 -04:00
c176b8882b Implement move tool 2023-10-21 17:14:44 -04:00
5d16f9cfd4 Implement metadata tool 2023-10-21 17:02:23 -04:00
7e2d280921 Implement tools 2023-10-21 16:46:18 -04:00
6f3e62e555 Implement tools 2023-10-21 16:38:20 -04:00
00d40f4525 Add debug statement 2023-10-21 14:27:32 -04:00
f820cc7867 Implement tools 2023-10-21 14:11:07 -04:00
b123b90298 Implement output tool 2023-10-21 13:47:08 -04:00
02b237b11b Add builtin function syntax 2023-10-21 13:19:01 -04:00
3b82c6d900 Replace tools 2023-10-21 13:04:17 -04:00
eefb6e5fb6 Improve error display 2023-10-19 13:52:26 -04:00
36a6f5f548 Add remove loop logic; Update examples 2023-10-18 21:50:45 -04:00
3a5987a3d7 Clean up 2023-10-18 19:44:27 -04:00
834b6743eb Implement table values 2023-10-18 19:28:20 -04:00
13289e5a59 Implement find loop logic 2023-10-18 18:30:37 -04:00
810c7bb6f6 Fix path 2023-10-18 18:18:12 -04:00
a5a87d18e5 Correct map serialization 2023-10-18 17:42:36 -04:00
7a85cf6f86 Implement filter loop 2023-10-17 17:52:41 -04:00
2b882f1137 Implement transform loop 2023-10-17 16:40:07 -04:00
3bb825fa58 Improve for loop implementation 2023-10-17 15:31:43 -04:00
173e7a2ee8 Implement for loops 2023-10-17 14:06:02 -04:00
deb03ed1b6 Make random ranges inclusive 2023-10-17 13:28:35 -04:00
35cb8116b6 Clean up 2023-10-17 13:25:40 -04:00
487b3f29a2 Implement sh, bash, fish and zsh tools 2023-10-17 12:58:25 -04:00
f07e20c403 Implement length tool 2023-10-17 12:43:33 -04:00
e95aa1e437 Add async statements 2023-10-17 12:25:47 -04:00
a9ef75dc12 Add async statements 2023-10-16 21:13:58 -04:00
2ccd28bbf4 Add async statements 2023-10-16 16:48:02 -04:00
4e8d320c77 Implement to json; Improve map display 2023-10-14 14:18:13 -04:00
ca4fd34bc1 Implement from_json 2023-10-14 13:52:16 -04:00
d898696d6c Add error messages 2023-10-13 20:16:14 -04:00
96adc4bf77 Fix error message 2023-10-13 20:05:45 -04:00
65bb2c9d84 Improve expression implementation 2023-10-13 19:56:57 -04:00
d043f334db Add more tools 2023-10-13 15:48:48 -04:00
7206d60ac9 Add random tools 2023-10-13 13:53:00 -04:00
c6675e87ba Update error variants 2023-10-13 12:26:44 -04:00
fc92513246 Add assert and assert_equal tools 2023-10-11 12:07:30 -04:00
ea633fbc59 Reimplement functions 2023-10-10 17:12:38 -04:00
8188aa41a5 Implement ValueNode 2023-10-10 14:12:07 -04:00
9450e6dc96 Implement new control flow syntax 2023-10-10 13:29:11 -04:00
574cff5cc6 Implement new control flow syntax 2023-10-09 17:01:30 -04:00
39692b3bd7 Implement new grammar 2023-10-09 15:54:47 -04:00
fd9a4c04cb Implement function calls 2023-10-07 12:38:21 -04:00
e82dd6736e Begin implementing while loops 2023-10-06 22:45:36 -04:00
90352dd264 Implement function calls 2023-10-06 21:00:31 -04:00
31e9cb61bb Implement function calls; Remove Time 2023-10-06 17:11:50 -04:00
3e87d8b322 Continue syntax overhaul 2023-10-06 13:32:58 -04:00
a691b1fa34 Continue syntax overhaul 2023-10-06 07:55:14 -04:00
6bab3db5e5 Improve syntax error messages; Add test 2023-10-06 01:03:17 -04:00
2d8527134d Begin chaning gramma structure 2023-10-05 22:49:36 -04:00
23843b5117 Begin chaning gramma structure 2023-10-05 22:07:54 -04:00
8f0bc386b1 Begin function implementation; Clean up 2023-10-05 14:29:13 -04:00
0359fabf1a Add tree sitter submodule 2023-10-05 09:25:09 -04:00
f30dfe6431 Fix errors 2023-10-05 08:42:23 -04:00
1cfa809340 Change list formatting 2023-10-05 08:20:20 -04:00
9aaa9f1e6d Fix simple value parsing 2023-10-05 08:18:33 -04:00
7fa5dd0f54 Update internal API 2023-10-05 08:03:14 -04:00
5551f40ffd Implement tables 2023-10-02 23:19:01 -04:00
a42b43ed78 Fix tests 2023-10-02 18:22:24 -04:00
a4660cbafb Improve internal API 2023-10-02 17:15:05 -04:00
41483f6b84 Implement lists 2023-10-02 15:19:48 -04:00
e23bf0f887 Implement lists 2023-10-01 13:13:13 -04:00
597d6bd8b8 Improve AST 2023-10-01 12:17:27 -04:00
e9db34be8b Implement assignment 2023-10-01 05:27:02 -04:00
ff60640ff8 Clean up 2023-10-01 05:04:57 -04:00
3b0b9d044e Implement addition 2023-10-01 04:20:29 -04:00
b476818ba3 Implement assignment 2023-10-01 02:43:27 -04:00
1f829d930a Change syntax 2023-09-30 22:59:15 -04:00
f596c6b581 Implement map value 2023-09-30 18:07:12 -04:00
327a2d044b Implement function value 2023-09-30 17:52:37 -04:00
d2d2ea1c57 Clean up and fix tests 2023-09-29 17:57:55 -04:00
dd939db924 Implement list 2023-09-29 16:33:46 -04:00
823bb31305 Remove semicolons from language 2023-09-29 13:03:55 -04:00
8bcf59f216 Rearrange tests; Add new tests 2023-09-29 12:42:37 -04:00
ad429b3563 Add equality operator 2023-09-29 09:17:21 -04:00
b308c1852f Add list support 2023-09-29 08:59:09 -04:00
3182e7c860 Add float support; Write tests 2023-09-29 08:21:38 -04:00
5877884877 Fix test 2023-09-29 07:57:17 -04:00
c9c7eb3173 Improve AST construction and errors 2023-09-29 07:17:11 -04:00
9994919127 Implement subtraction 2023-09-29 06:02:46 -04:00
91745af149 Implement control flow 2023-09-29 05:52:56 -04:00
8250d3cb8e Add example; Implement AST 2023-09-29 05:45:15 -04:00
4907dd9f8f Implement top-level API with docs 2023-09-29 02:53:31 -04:00
cdf79f8763 Implement closed and open statement 2023-09-29 00:16:51 -04:00
4983975e59 Improve addition implementation 2023-09-28 23:53:37 -04:00
adbd69b17c Run addition and subtration operations 2023-09-28 23:29:50 -04:00
589d66a90f Modify library for new parser 2023-09-28 15:58:01 -04:00
8e92d8ee2b Add parentheses to tool suggestions 2023-09-18 02:05:12 -04:00
dc68f0307f Allow empty when calling "read_dir" 2023-09-18 01:58:28 -04:00
b8a12dad5a Fix errors 2023-09-08 06:06:51 -04:00
a5c2e6c49f Write test; Add toml tooling; Fix errors 2023-09-08 05:59:44 -04:00
0b79287132 Implement basic dust GUI 2023-08-30 18:18:06 -04:00
ca7051d24d Experiment with GUI binary 2023-08-30 17:21:30 -04:00
6c1dbeb009 Begin new GUI with Iced 2023-08-30 00:09:55 -04:00
88c4207aeb Edit docs; Fix subtraction bug 2023-08-28 22:07:20 -04:00
18e4fef62f Improve help output 2023-08-28 20:03:13 -04:00
3bbb64d065 Add filtering help by group 2023-08-28 17:58:35 -04:00
478ccbb529 Add help tool 2023-08-28 17:45:55 -04:00
0a16edbc97 Clean up 2023-08-28 17:24:15 -04:00
fad8d97212 Add ANSI coloring 2023-08-28 17:15:05 -04:00
e528c09623 Replace reedline with rustyline 2023-08-28 16:14:55 -04:00
02e62efe15 Remove GUI from dust binary 2023-08-28 14:28:59 -04:00
c85d807942 Replace system info dependency 2023-08-28 14:07:46 -04:00
3481551926 Run clippy --fix 2023-08-28 13:47:45 -04:00
b48974224d Write docs 2023-08-28 10:12:41 -04:00
97ebe63f97 Change name in Cargo.toml; Fix file structure 2023-08-28 09:54:41 -04:00
cf544d3c7e Write docs 2023-08-28 09:51:04 -04:00
37604cc8f0 Fix example and clean up 2023-08-25 11:08:25 -04:00
491dd649cd Reimplement sort 2023-08-25 10:58:32 -04:00
3d7b24299a Implement replace 2023-08-25 10:42:19 -04:00
da532b79f3 Correct type checks 2023-08-25 10:31:09 -04:00
da780f4ae5 Add asset for examples; Fix examples 2023-08-25 10:27:48 -04:00
eb953b0231 Add type checks 2023-08-24 16:44:26 -04:00
8721ad41b1 Add type checks 2023-08-24 16:26:48 -04:00
8d04e0bb04 Write and pass tests 2023-08-24 08:05:51 -04:00
fabcbdd216 Add type checks 2023-08-24 06:16:28 -04:00
7c6a4e5ece Fix bug 2023-08-24 05:32:47 -04:00
19a053a288 Improve type checking 2023-08-24 05:06:18 -04:00
0b93b6de23 Add type checks 2023-08-24 03:59:10 -04:00
678fb659ee Add new error for type checks 2023-08-24 03:50:59 -04:00
e55c5688a8 Add type checks 2023-08-24 03:50:23 -04:00
2744ecf387 Write docs; Improve Time Display 2023-08-24 00:26:37 -04:00
19249c0e50 Implement dot notation for list assignment 2023-08-23 23:07:54 -04:00
be0558353c Write docs 2023-08-23 22:39:32 -04:00
f307b436f5 Implement nested cross-type dot notation 2023-08-23 22:03:26 -04:00
fde899bf3e Add type checks 2023-08-23 20:27:08 -04:00
39d3ca85ea Clean up project; Rename commands to tools 2023-08-23 20:21:29 -04:00
673616ac2a Clean up tests and docs 2023-08-23 19:33:04 -04:00
8728bf5e46 Correct tests 2023-08-23 19:00:11 -04:00
d54527413d Edit README 2023-08-23 17:28:19 -04:00
350fbb701d Rename module; Implement collection commands 2023-08-23 01:21:02 -04:00
26a71585f0 Change command line arguments 2023-08-23 00:39:46 -04:00
90ebe3b8f5 Implement from_csv 2023-08-23 00:39:28 -04:00
32955da03f Implement read_file 2023-08-23 00:39:14 -04:00
e7e8c4f9e5 Fix u tests and examples 2023-08-22 22:20:42 -04:00
5cd1629738 Add list indexing 2023-08-22 14:45:48 -04:00
e97daafdca Implement get 2023-08-22 14:26:49 -04:00
c698c847c7 Implement if_else 2023-08-22 13:25:28 -04:00
f0c759d92a Implement if 2023-08-22 13:19:57 -04:00
f6b1cd530a Implement assert and assert_equal 2023-08-22 12:43:13 -04:00
109091cf80 Add assertion errors; Write tests 2023-08-22 12:31:45 -04:00
ef57a42eb6 Migrate repository 2023-08-22 11:40:50 -04:00