1
0
Commit Graph

462 Commits

Author SHA1 Message Date
c2d919957e Begin adding string functions 2024-01-01 08:52:25 -05:00
976cb7de3f Implement new built-in values 2024-01-01 07:46:47 -05:00
f136cafb41 Implement collection type 2024-01-01 05:20:11 -05:00
ae66e2a211 Implement new built-in values 2024-01-01 04:59:27 -05:00
2f0ec91c08 Add index expressions to fix parsing bug 2023-12-31 23:38:09 -05:00
346ff1c0da Improve index parsing 2023-12-31 21:46:45 -05:00
5be7b9b73a Begin new std implementation 2023-12-31 21:24:46 -05:00
415c9863e6 Improve GUI 2023-12-31 19:46:23 -05:00
32127a6cda Fix type check bug 2023-12-31 18:10:42 -05:00
d3a9fb3a0e Add function return type check; Clean up 2023-12-31 16:46:21 -05:00
0bec02344e Merge branch 'main' into gui 2023-12-31 15:31:16 -05:00
83a7007446 Improve value multiplication and division 2023-12-31 15:30:13 -05:00
dbe52e1ad7 Fix type check bug 2023-12-31 14:17:43 -05:00
a39d879c40 Implement return statements at root level 2023-12-31 14:09:03 -05:00
a3a2df552d Implement return statements 2023-12-31 14:04:10 -05:00
3ae7456758 Manually catch up to main branch 2023-12-31 11:54:19 -05:00
318825d1b1 Merge branch 'main' into gui 2023-12-31 11:49:58 -05:00
0fa0a026f8 Improve error output; Add syntax error check 2023-12-31 11:46:56 -05:00
12e00bfc42 Remove return and use statements; Clean up 2023-12-31 09:47:20 -05:00
bf79526764 Use new syntax for None values 2023-12-31 09:41:00 -05:00
f78070ca47 Merge branch 'main' into gui 2023-12-31 09:15:55 -05:00
f4c2bfa657 Use new syntax for None values 2023-12-31 09:14:43 -05:00
9a35dc5ec9 Fix parsing bug; Extend GUI 2023-12-30 12:02:58 -05:00
6cb84a664a Remove TUI 2023-12-30 10:56:56 -05:00
fc1d1c9ee9 Merge branch 'main' into gui 2023-12-30 10:45:38 -05:00
02b30d3730 Improve function Display implementation 2023-12-30 10:23:00 -05:00
9d94cb9af4 Restart TUI 2023-12-30 09:29:33 -05:00
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