You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,19 +22,19 @@ It supports
22
22
The parser is a pure Java library without any 3-th side dependency, it is published im the Maven central and can be injected into project just by adding:
23
23
```xml
24
24
<dependency>
25
-
<groupId>com.igormaznitsa</groupId>
26
-
<artifactId>java-prolog-parser</artifactId>
27
-
<version>2.0.2</version>
25
+
<groupId>com.igormaznitsa</groupId>
26
+
<artifactId>java-prolog-parser</artifactId>
27
+
<version>2.0.2</version>
28
28
</dependency>
29
29
```
30
30
31
31
# How to use?
32
32
Parser implements stream which sequentially reads prolog terms provided by reader. By default, PrologParser is abstract class but there is pre-defined implementation GenericPrologParser for common cases.
33
33
```java
34
-
Reader reader =newStringReader("hello(world). some({1,2,3}). power(X,Y,Z) :- Z is X ** Y.");
0 commit comments