Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tanishiking/semanticdb-for-scala3
Generates Scala codes from semanticdb.proto for Scala3 compiler
https://github.com/tanishiking/semanticdb-for-scala3
Last synced: 24 days ago
JSON representation
Generates Scala codes from semanticdb.proto for Scala3 compiler
- Host: GitHub
- URL: https://github.com/tanishiking/semanticdb-for-scala3
- Owner: tanishiking
- Created: 2021-06-08T17:40:42.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-01T02:16:08.000Z (over 1 year ago)
- Last Synced: 2023-07-01T03:24:26.416Z (over 1 year ago)
- Language: Scala
- Size: 138 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## semanticdb-for-scala3
![CI](https://github.com/tanishiking/semanticdb-for-scala3/actions/workflows/ci.yml/badge.svg)The project that generates Scala codes from semanticdb.proto for Scala3 compiler. Context: https://github.com/scalameta/scalameta/issues/2367
- Generate Scala code from `semanticdb.proto` using Scalapb
- Adjust the generated codes for Scala3
- Remove `scalapb-runtime` dependencies so Scala3 doesn't need to depend on `scalapb-runtime`.
- Replace annotations `@transient` to `@sharable`, remove `SerialVersionUID`
- derive `CanEqual` for generaged class and traits.### Usage
- `clean-generated`: delete generated files.
- `generate`: generate Scala files and adjust them for Scala3 compiler.### Workflow
```bash
$ sbt
> clean
> clean-generated
> generate
```