JUCS - Journal of Universal Computer Science 12(9): 1177-1189, doi: 10.3217/jucs-012-09-1177
Japlo: Rule-based Programming on Java
expand article infoMiklós Espák
‡ University of Debrecen, Hungary
Open Access
Abstract
Imperative programming languages (such as Java) are the most widespread programming languages recently. Besides being quite easy to get familiar with them, they are also perfectly suitable for business software development. Although the productivity of imperative languages is much acclaimed, some problems are much easier to solve in a logical language. The paper introduces a Java language extension called Japlo, which fits the Prolog language constructs into Java harmonically. Blurring the borders between the representatives of these two paradigms, the author aims at making the logical programming tools more easily available for Java programmers. Japlo does not only provide a foreign language interface to Prolog programs, but you can write Prolog rules within the language relying on some basic concepts (static typing, expression orientation) and the grammatic structure of Java.
Keywords
Java, Prolog, Japlo