2 ms·
What is the equivalent of Prolog facts in your Bash example? Are they as easy to add and retract as in Prolog?
by cess11 2y ago
What is the equivalent of Prolog facts in your Bash example? Are they as easy to add and retract as in Prolog?
- nihil75 2y agoAre Facts used in the the Fleng fizzbuzz example? You're probably right - I'm sure this has more features coming from Logic programming, And I'm just too hung-up on the Concurrent part of the title.
- cess11 2y agoSure, there's one, 'loop2(_, 101).'. If it wasn't a toy problem but rather a larger set of rules describing a more salient algorithm it would matter more whether you could pour in more facts as data enters the system. I get your point, I personally do a lot of crude concurrency with POSIX fork() and shell spawns from within suitable programming languages, e.g. Picolisp, Elixir.
- nihil75 2y agoThanks! appreciate your input and perspective.