Skip to content

lemastero/agda2scala

Repository files navigation

CI

agda2scala

Examples

are in ./examples

Working with source code

  • Starting continuous compilation loop
ghcid
  • Build
cabal build all
  • Simple way to run Scala backend
cabal run -- agda2scala --help
cabal run -- agda2scala ./examples/adts.agda
  • Generate Scala2 output
cabal run -- agda2scala --compile --no-main --out-dir=scala2/src/main/scala ./examples/adts.agda
  • Generate Scala3 (dotty) output
cabal run -- agda2scala --compile --no-main --scala-dialect=Scala3 --out-dir=scala3/src/main/scala ./examples/adts.agda
cabal run -- agda2scala --help
cabal run -- agda2scala ./examples/adts.agda
cabal run -- agda2scala --compile --no-main --out-dir=scala2/src/main/scala ./examples/adts.agda
  • Run tests
cabal test all

Resources

About

Scala 2 and Scala 3 backend for Agda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published