1
0
Commit Graph

485 Commits

Author SHA1 Message Date
7ea6283650 Begin writing GUI 2023-12-30 02:04:39 -05:00
49a219f764 Move TUI project; Increment cargo version 2023-12-29 23:57:09 -05:00
507082209f Apply clippy suggestions and fixes 2023-12-29 22:39:50 -05:00
42e0ef366f Clean up 2023-12-29 22:28:10 -05:00
1d26b0b418 Clean up 2023-12-29 22:26:37 -05:00
f3921ba87c Revise function and yield syntax 2023-12-29 21:15:03 -05:00
55de33ceb7 Revise function syntax 2023-12-29 20:14:03 -05:00
e10429e1e9 Extend function expression to values and indexes 2023-12-29 19:22:41 -05:00
17fa708739 Add FunctionExpression to fix syntax bug 2023-12-29 18:59:15 -05:00
43ee989eec Improve Interpreter API 2023-12-29 16:27:13 -05:00
3c729bea6e Improve Map interface; Clean up 2023-12-29 14:52:51 -05:00
37a9a37c72 Fix type check bug 2023-12-29 14:35:52 -05:00
6be9204123 Improve Intepreter API for shell use 2023-12-29 14:01:54 -05:00
049c28795b Fix type check bug 2023-12-29 18:29:16 +00:00
34db948c6e Implement option type 2023-12-26 20:05:19 -05:00
9dfaf1420c Implement option value 2023-12-26 19:33:19 -05:00
a27b33dd36 Fix type check error 2023-12-26 17:52:44 -05:00
2bcb5f59f7 Implement Option and None value types 2023-12-26 17:19:12 -05:00
8369477346 Fix function context error 2023-12-22 16:12:41 -05:00
364ce9cb33 Fix async/function bug; Remove Table; Add packages 2023-12-22 15:02:22 -05:00
afa937a697 Add type checks for maps 2023-12-20 18:36:42 -05:00
d2dcc665bb Add type definitions to maps 2023-12-20 18:29:18 -05:00
3bfedec5d6 Refine type checking and function calling 2023-12-17 19:06:36 -05:00
70f0c6b887 Fix list type checking 2023-12-16 21:26:07 -05:00
500a579910 Update grammar; Fix built-in function type checks 2023-12-16 21:15:36 -05:00
3096cf5959 Fix function parsing 2023-12-16 20:42:19 -05:00
6cb2df55f7 Clean up and improve tests 2023-12-16 20:17:38 -05:00
ece75d7b9c Improve testing with an error method 2023-12-16 19:47:23 -05:00
9a4196fb2a Fix list add-assign type checking 2023-12-16 19:40:14 -05:00
3b7e75c41c Add sh function; Improve type check error output 2023-12-15 17:54:11 -05:00
fa7fb57600 Add new tests for type checking 2023-12-15 17:27:29 -05:00
ce4d366bab Implement type checking for functions and indexes 2023-12-13 15:47:41 -05:00
b91e23fef3 Finish function syntax 2023-12-12 18:21:16 -05:00
06da345333 Implement match logic and syntax 2023-12-11 10:19:45 -05:00
99338dedc5 Fix map deserialization; Clean up; Improve errors 2023-12-10 13:47:05 -05:00
aada1c72d6 Fix list type checking 2023-12-09 18:50:17 -05:00
0452243c08 Expand type checking 2023-12-09 17:55:47 -05:00
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