What is List Prolog?Lucian Green ・2 min read#listprolog First, what is an Interpreter? It runs code in a language I wrote called List Prolog. What is List Prolog? Everything in the language is a list (Prolog's main input and output format), including the algorithm to run. So, what can List Prolog do? It can
Actually, one of my past programs, Database Formula Finder inspired List Prolog Interpreter. It uses logic, not unlike Prolog, to select data from tables. I wanted to write Database Formula Finder because I wanted to write a way to program a database language in Prolog. I noticed that lists worked well as a computer language in Prolog when processing lists. See how Database Formula Finder inspired List Prolog Interpreter: https://www.youtube.com/watch?v=dVOUz74Kwlk&t=13s Working on the Interpreter has taken years and I have been using the time to write algorithm ideas that might be easier to write with the interpreter, which e.g. find errors as you type. Another feature of List Prolog is the Grammars. They can parse a file with a particular structure. So I made a video about how grammars work in List Prolog. It is a snapshot of what grammars are (and how they help parse and answer questions). See the Grammars working at: https://www.youtube.com/watch?v=HBB6NWCxu3I&t=33s Conclusions How can I run the List Prolog Interpreter? Anthropology influenced me to write the Interpreter while studying to write an algorithm that could write algorithms, like a boat. See https://github.com/luciangreen/listprologinterpreter Studying Theology inspired me to write CAWP, an algorithm that could write algorithms, like a leader. See https://github.com/luciangreen/Combination-Algorithm-Writer-with-Predicates |