Skip to content

Commit 1bd323e

Browse files
committed
Add scala native
1 parent db0a0ce commit 1bd323e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ libraryDependencies += "org.scala-lang.modules" %% "scala-parser-combinators" %
2828

2929
To support multiple Scala versions, see the example in [scala/scala-module-dependency-sample](https://github.com/scala/scala-module-dependency-sample).
3030

31+
### Scala.js and Scala Native
32+
33+
Scala-parser-combinators is also available for Scala.js 0.6+ and Scala Native:
34+
35+
```
36+
libraryDependencies += "org.scala-lang.modules" %%% "scala-parser-combinators" % "1.1.2"
37+
```
38+
3139
## Example
3240

3341
```scala
@@ -57,14 +65,6 @@ object TestSimpleParser extends SimpleParser {
5765
For a detailed unpacking of this example see
5866
[Getting Started](docs/Getting_Started.md).
5967

60-
## ScalaJS support
61-
62-
Scala-parser-combinators directly supports Scala.js 0.6+:
63-
64-
```
65-
libraryDependencies += "org.scala-lang.modules" %%% "scala-parser-combinators" % "1.1.2"
66-
```
67-
6868
## Issues
6969

7070
Many old issues from the Scala JIRA issue tracker have been migrated

0 commit comments

Comments
 (0)