57 Commits

Author SHA1 Message Date
85d4fd33b0 empty Block for last block instruction 2025-01-22 00:31:42 -06:00
a61c9e7133 fix Block == 2025-01-21 23:54:25 -06:00
2ca1f0fe94 add code stack 2025-01-20 23:22:58 -06:00
4e42c4332b remove string Gene calls 2025-01-20 23:22:31 -06:00
6a45dec263 added more instructions (NEED TO BE TESTED) 2025-01-20 23:21:33 -06:00
be4c15cd51 logicalInstructions added 2025-01-19 21:56:35 -06:00
40797972f3 int/bool instructions 2025-01-19 21:56:17 -06:00
5fb5ea9d7d add more floatinstructions 2025-01-19 21:55:56 -06:00
23eddb756d add basic trig functions to floats 2025-01-19 21:12:50 -06:00
6dbf4e7905 comments 2025-01-19 20:56:34 -06:00
d67ed6a821 remove string stack (why do we have this?) 2025-01-19 20:53:28 -06:00
f991792787 add generic(ish) int instructions 2025-01-19 20:50:47 -06:00
add9503c88 fix yank 2025-01-19 19:50:27 -06:00
774a0db148 undefined added so can compile 2025-01-19 18:26:33 -06:00
ee1779b611 add more generic instructions, need to fix yank 2025-01-19 17:16:23 -06:00
448b71dab1 add stack depth 2025-01-19 00:40:46 -06:00
a756e5d584 example state 2025-01-19 00:16:21 -06:00
7d802a0fa4 needed parenthesis for execution priority 2025-01-19 00:16:03 -06:00
862241d464 genericize generic instructions 2025-01-19 00:15:31 -06:00
346cd96d67 change to lens 2025-01-18 19:56:51 -06:00
34bf6b38bd convert to lens 2025-01-18 19:56:38 -06:00
1907ac6c87 convert to basic lenses, need to abstract 2025-01-18 19:56:27 -06:00
Rowan Torbitzky-Lane
733151cf2f add vector types to State, need to add functions now 2025-01-17 21:54:11 -06:00
Rowan Torbitzky-Lane
589fd6b242 comment out debug.trace 2025-01-17 21:53:48 -06:00
Rowan Torbitzky-Lane
c0e5477828 fix int div, add floats (need tests for these) 2025-01-16 20:58:47 -06:00
Rowan Torbitzky-Lane
125c1f8c83 move instructions around 2025-01-16 17:10:01 -06:00
Rowan Torbitzky-Lane
a9ba6ad675 no more linting errors 2025-01-16 15:59:23 -06:00
Rowan Torbitzky-Lane
72d6562542 fix copied GeneInt 2025-01-16 15:07:08 -06:00
Rowan Torbitzky-Lane
7aa153d7b1 recordwildcard state syntax 2025-01-16 14:45:14 -06:00
Taylor
86fc353738 cabal co-exists beside Makefile 2025-01-16 13:14:08 -06:00
Taylor
920ea92cb9 refactored names of genes for consistency 2025-01-16 12:38:18 -06:00
Rowan Torbitzky-Lane
97674586e8 Merge branch 'main' of c57keqcdj43nn2xukakrqm2wwx255et7oyuktopk5fpopzzg54thkjid.onion:evo-trading/HushGP
Merge in new testing changes
2025-01-16 12:35:11 -06:00
Rowan Torbitzky-Lane
65c13de8bc need to test changes 2025-01-16 12:32:26 -06:00
Taylor
73c5cce879 .ghci files for easy ghci launch 2025-01-16 03:09:38 -06:00
Taylor
8d018fc168 A less bad unit testing setup, makefile cleaned up, includes format, lint, clean, etc. 2025-01-16 02:27:44 -06:00
Rowan Torbitzky-Lane
31d54641bc added many functions and tests 2025-01-16 01:56:12 -06:00
Rowan Torbitzky-Lane
eb8fd95756 fix execDoRange, clean up my tests 2025-01-15 23:55:02 -06:00
Rowan Torbitzky-Lane
8d34db74b8 add execDoRange and ExecDup 2025-01-15 20:29:51 -06:00
Rowan Torbitzky-Lane
b17b58594a add input map 2025-01-15 17:45:56 -06:00
Taylor
7bdcb03879 pattern matching via destructuring is amazing! 2025-01-15 15:39:06 -06:00
Taylor
412e871917 cleaner catchall for int functions 2025-01-15 15:33:54 -06:00
Taylor
1e1538610c cleaner catchall for int functions 2025-01-15 15:30:24 -06:00
Taylor
dd44dcf345 cleaner catchall case for exec_if 2025-01-15 15:20:47 -06:00
Taylor
99e0938f08 Blocks done, execIf done 2025-01-15 15:02:43 -06:00
Taylor
9e40df0012 time for unit tests, instructionExecIf 2025-01-15 14:09:31 -06:00
Taylor
d8de5ff761 draft comment for handling Blocks 2025-01-15 13:46:03 -06:00
Taylor
226ed32df6 a fully working interpreter? 2025-01-15 13:20:51 -06:00
Taylor
e865ba7407 a fully working interpreter? 2025-01-15 13:15:04 -06:00
Taylor
4ccd660763 a fully working interpreter? 2025-01-15 13:02:27 -06:00
Taylor
f65deb926a a fully working interpreter? 2025-01-15 12:57:58 -06:00