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
+6-14Lines changed: 6 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Minimal Object Description Language (MODL) Interpreter
2
-
This Java interpreter is based on the [MODL ANTLR4 Grammar](https://github.com/MODLanguage/grammar-antlr4) and the [MODL Specification](http://www.modl.uk).
2
+
This Java interpreter is based on the [MODL Specification](http://www.modl.uk).
3
3
4
4
There are several ways the interpreter can be used:
5
5
@@ -42,33 +42,25 @@ The `Interpreter` class has several convenience methods, each returning a slight
Use this method to generate non-proprietary object for further processing.
66
60
### Modl Object Result
67
61
Convert a MODL String to a `Modl` object:
68
62
```java
69
-
finalInterpreter interpreter =newInterpreter();
70
-
71
-
finalModl modl = interpreter.interpret("a=b");
63
+
finalModl modl =Interpreter.interpret("a=b");
72
64
```
73
65
Use this method to generate an object using the core model within the library, i.e. those in the `uk.modl.model` package.
74
66
@@ -77,4 +69,4 @@ Use this method to generate an object using the core model within the library, i
77
69
We have a version of the interpreter in [Ruby](https://github.com/MODLanguage/ruby-interpreter), and a [JavaScript](https://www.npmjs.com/package/modl-interpreter) version.
78
70
# Contributing
79
71
80
-
Bugs and New feature requests should be raised as GitHub issues, and the community is welcome to fork the repository and submit pull requests.
72
+
Bugs and New feature requests should be raised as GitHub issues, and the community is welcome to fork the repository and submit pull requests.
0 commit comments