hgeorgsch / armchar-swish

ArM character server implementation using Haskell and Swish
GNU General Public License v3.0
0 stars 1 forks source link

Refactor rules application #7

Closed hgeorgsch closed 2 years ago

hgeorgsch commented 2 years ago

The Rules module is difficult to read and should be refactored for readability. Probably, the inference can be made smarter and faster.

hgeorgsch commented 2 years ago

A critical goal is to reduce the size of the graphs used for queries. Thus far we have taken almost a brute force approach, and this is too slow.

hgeorgsch commented 2 years ago

Some refactoring is done. The main job now is to sort and document the remaining rules.

hgeorgsch commented 2 years ago

This is cleaned up significantly, and a lot easier to follow.