Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kacperfkorban/wordle-compile
A Scala 3 compiler plugin, that requires you to solve a Wordle in order for the compilation to finish
https://github.com/kacperfkorban/wordle-compile
dotty scala scala3
Last synced: 4 days ago
JSON representation
A Scala 3 compiler plugin, that requires you to solve a Wordle in order for the compilation to finish
- Host: GitHub
- URL: https://github.com/kacperfkorban/wordle-compile
- Owner: KacperFKorban
- License: other
- Created: 2022-02-14T22:49:18.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-03-24T18:17:59.000Z (over 2 years ago)
- Last Synced: 2024-10-11T08:45:51.150Z (27 days ago)
- Topics: dotty, scala, scala3
- Language: Scala
- Homepage:
- Size: 255 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Scala 3 Wordle compile
A Scala 3 compiler plugin, that requires you to solve a Wordle in order for the compilation to finish.### Demo
![](./docs/wordle_compile.gif)
### Running locally
```
sbt package
``````
scala3 -Xplugin:path_to_pluginjar.jar file.scala
```Default jar location after `sbt package`: `location_of_wordle-compile/target/scala-3.1.1/wordle-compile_3-0.1.0-SNAPSHOT.jar`
Obviously inspired by [Wordle](https://www.nytimes.com/games/wordle/index.html).
### Running locally (sbt)
```
sbt publishLocal
```Add the following lines to sbt config (build.sbt):
```
autoCompilerPlugins := trueaddCompilerPlugin("dev.korban" %% "wordle-compile" % "0.1.0-SNAPSHOT")
```In order to be able to use it comfortably in sbt launch it using:
```
sbt -Dsbt.supershell=false
```