zlacker

[parent] [thread] 0 comments
1. PaulHo+(OP)[view] [source] 2024-10-13 13:33:14
Reminded me of the “rules and schemes” concept I was thinking of about 10 years ago that would separate “pure logical” rules from the stuff it takes to turn them into a program that runs by either forward chaining (production rules) or backwards chaining (like prolog). I got so far as writing a macro compiler that would let you write a base set of rules and rewrite them for different purposes such as transforming document A into document B or going in the opposite direction.

I like how they let you write functions to control the search order because boy that is essential.

[go to top]