|
|
@@ -14,8 +14,6 @@ If there are any major updates or fixes to the grammar<a href="#footnote-1"><sup
|
|
|
|
|
|
The choice of tokens is intended to be similar to the Java or C# frontends. It includes a range of nesting structures (class, method, control flow expressions) as well as variable declaration, object creation, assignment, and control flow altering keywords.
|
|
|
|
|
|
-More syntactic elements of Swift may turn out to be helpful to include in the future.
|
|
|
-
|
|
|
### Usage
|
|
|
|
|
|
To use the Swift frontend, add the `-l swift` flag in the CLI, or use a `JPlagOption` object set to `LanguageOption.SWIFT` in the Java API as described in the usage information in the [readme of the main project](https://github.com/jplag/JPlag#usage) and [in the wiki](https://github.com/jplag/JPlag/wiki/1.-How-to-Use-JPlag).
|
|
|
@@ -23,4 +21,4 @@ To use the Swift frontend, add the `-l swift` flag in the CLI, or use a `JPlagOp
|
|
|
<br>
|
|
|
|
|
|
#### Footnotes
|
|
|
-<section id="footnote-1"><sup>1 </sup>The grammar files are taken from grammar-v4, with the most recent modification in <a href="https://github.com/antlr/grammars-v4/tree/2f6c19cc742c60541227b19c45ac2acc844d9b1a/swift/swift5">commit 9644ff9</a> from May 2021.</section>
|
|
|
+<section id="footnote-1"><sup>1 </sup>The grammar files are taken from grammar-v4, with the most recent modification in <a href="https://github.com/antlr/grammars-v4/tree/2f6c19cc742c60541227b19c45ac2acc844d9b1a/swift/swift5">commit 2f6c19c</a> from May 2021.</section>
|