71 Commits

Author SHA1 Message Date
970afa2b61 sorting out the lookup functions 2026-01-30 16:16:06 +00:00
05b6aefabe simplified language features and tests 2026-01-30 16:07:23 +00:00
dbf54df171 Claude renames 2026-01-30 15:39:17 +00:00
85e57325dc sorted imports 2026-01-30 14:53:27 +00:00
faefb3c2c7 tidying up imports 2026-01-30 14:47:29 +00:00
6b3dae34f5 fairly drastic restructuring 2026-01-30 14:46:09 +00:00
2828825f02 factored out addFact, addRule 2026-01-30 14:37:45 +00:00
b816bb4cae simplified addRule 2026-01-30 14:28:51 +00:00
2f911a9f39 simplified addFact 2026-01-30 14:22:46 +00:00
b8db9477c0 lift addFact 2026-01-30 12:53:40 +00:00
e01a1ba3df digestBody uses the typeclass 2026-01-30 12:08:29 +00:00
55b12f5c00 tidier digestHead 2026-01-30 11:24:44 +00:00
136412a4dd digestHead abstracts DatalogDB 2026-01-30 11:07:40 +00:00
6dda089bfe digestHead refactor 2026-01-30 11:00:24 +00:00
d8d2c51dec 'addConstants' API method 2026-01-30 10:55:19 +00:00
72f973c195 lift up addRule 2026-01-30 10:47:27 +00:00
15f84e414d tidying up dependencies 2026-01-30 10:32:10 +00:00
b997ee635e rearranging modules 2026-01-30 10:27:26 +00:00
f7d89f89c9 using typeclass APIs 2026-01-29 17:27:11 +00:00
6ae455886b using the typeclass 2026-01-29 17:07:44 +00:00
069733e474 adding typeclass APIs 2026-01-29 17:02:27 +00:00
fe899bbb0c introduce typeclass 2026-01-29 16:42:53 +00:00
0a1a39cfc9 introduce Rules module to factpr out the rule stuff 2026-01-29 16:30:47 +00:00
396ef53b12 sorted out rules engine, fixed bug about adding rules 2026-01-29 15:07:14 +00:00
76bbd1e13e correctly handling duplicate head entries 2026-01-28 17:40:40 +00:00
3c7c587045 tidying 2026-01-28 16:45:01 +00:00
c0a6a447cf supposed improvements to DatalogParser, from hlint 2026-01-28 16:41:33 +00:00
5c0cc77221 delinting with an h 2026-01-28 12:39:32 +00:00
fb2699624f eliminated duplicate variable lookup 2026-01-28 11:55:08 +00:00
f2e68a455e tests green 2026-01-28 11:49:21 +00:00
e5fc523d92 still tidier, broken 2026-01-28 10:06:40 +00:00
3a5a70fbde equally broken but tidier 2026-01-28 10:02:25 +00:00
95e81faa7c broken test: failing to look up Z 2026-01-27 18:40:05 +00:00
43e7d8afed minor fix 2026-01-27 18:01:30 +00:00
429d64ee73 extracting variable names in a rule 2026-01-27 17:55:19 +00:00
4b358a8d6f style fixes 2026-01-27 17:33:44 +00:00
94bc4f1faa more tidying 2026-01-27 17:27:32 +00:00
80024a533e hlint-induced tidyings 2026-01-27 17:27:18 +00:00
9fc3cc9fa0 refactoring (broken test!) 2026-01-27 16:41:33 +00:00
b982072281 minor tidyings 2026-01-27 16:19:00 +00:00
7126f0e75b refactored digestHead ; it didn't need a rule context as input 2026-01-27 16:08:37 +00:00
210cae7ca6 creating a list of head variables for a rule 2026-01-27 14:55:52 +00:00
2102767367 renamings 2026-01-27 14:22:43 +00:00
7855e5ce20 added relation references 2026-01-27 12:41:23 +00:00
585da9f794 contributions from Claude: a diagram and summary 2026-01-27 11:52:59 +00:00
b8e166d867 fixed relation tuples 2026-01-26 18:28:15 +00:00
d8a1e2f9b1 simplifying tests 2026-01-26 12:25:44 +00:00
219ff26a90 added names for relations 2026-01-26 12:20:19 +00:00
04dcb4e8f7 tidying up rule data structures 2026-01-26 12:07:41 +00:00
42ce5a3284 ingesting rules correctly 2026-01-23 18:12:47 +00:00