Skip to content

Commit 2deaaab

Browse files
committed
updated
1 parent f4440eb commit 2deaaab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ During [my experiments in Prolog with Java](https://github.com/raydac/jprol), I
1414
It supports
1515
- prolog operators
1616
- line and block commentaries
17-
- underline splitted numbers
17+
- underline split numbers
1818
- curly blocks
1919

2020
# Maven dependency
2121

2222
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
2424
<dependency>
2525
<groupId>com.igormaznitsa</groupId>
2626
<artifactId>java-prolog-parser</artifactId>
@@ -30,7 +30,7 @@ The parser is a pure Java library without any 3-th side dependency, it is publis
3030

3131
# How to use?
3232
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
3434
Reader reader = new StringReader("hello(world). some({1,2,3}). power(X,Y,Z) :- Z is X ** Y.");
3535
ParserContext context = DefaultParserContext.of(ParserContext.FLAG_CURLY_BRACKETS, Op.SWI);
3636
PrologParser parser = new GenericPrologParser(reader, context);

0 commit comments

Comments
 (0)