swarm/scripts
Karl Ostmo b244a4223c
Split Step.hs (#1665)
Both `execConst` and `stepCESK` are huge case statements.  This refactor puts them in different modules.

Also many supporting functions for implementing commands in `execConst` are moved to their own modules.

Whereas `Step.hs` previously had `2931` lines, the new linecounts are:

| File | lines |
| --- | --- |
| `Step.hs` | 848 |
| `Arithmetic.hs` | 124 |
| `Const.hs` | 1687 |
| `Command.hs` | 417 |

The only tricky thing was that `execConst` is mutually recursive with `runCESK`.  So to get them into different modules, I pass a wrapper of `runCESK` as an argument to `execConst`.
2023-11-28 17:41:14 +00:00
..
autoplay-tutorials.sh Render markdown in entity descriptions (#1413) 2023-08-12 11:42:12 +00:00
benchmark-against-parent.sh Split Step.hs (#1665) 2023-11-28 17:41:14 +00:00
compare-format.sh Make function chains pretty (#1479) 2023-10-07 21:04:01 +00:00
enforce-todo-issues.sh subworlds (#1353) 2023-07-22 20:29:22 +00:00
play.sh sliding puzzle (#1237) 2023-06-17 23:58:46 +00:00
reformat-code.sh Add wave program to benchmarks (#1576) 2023-10-09 04:45:27 +00:00
regenerate-schema-docs.sh Autogenerate scenario schema doc (#1441) 2023-10-09 02:11:30 +00:00
run-tests.sh Refactor LogEntry type (#1513) 2023-09-15 03:08:25 +00:00
validate-json-schemas.sh Validate scenarios against json schema (#1475) 2023-08-28 02:34:03 +00:00
view-haddocks.sh more documentation tweaks (#1493) 2023-09-07 07:00:44 +00:00