-
Book Overview & Buying
-
Table Of Contents
Building Programming Language Interpreters
By :
This paradigm is the one that is usually the most exotic, particularly for those who come from an imperative programming background. It is probably fair to say that it is the most distant from actual instructions run in the hardware. My goal here is to give you a broad perspective of what is it that will make the most sense for your particular use case. I am hoping that this will give you a bit of a different perspective on what a programming language can look like.
Logic programming languages are the most useful when the use case can be described as a process of narrowing the possible solutions that satisfy all declared constraints. You can think of it as starting from the set of all possible values for a given solution and using constraints to reduce the space of possible answers to the ones that would be useful in that particular situation.
The solving of a Sudoku puzzle is a very good example of a situation where logic programming languages will shine...
Change the font size
Change margin width
Change background colour