lms-clean
lms-clean copied to clipboard
If I use the C backend in a project that inherits `lms-clean`, and use `sbt` from the command line to execute my code, I get the error - ``` [info]...
```scala /* The array update is sometimes omitted, but it should always be part of the generated code. */ import lms.core.stub._ import lms.core.virtualize import lms.macros.SourceContext @virtualize class BugTest extends TutorialFunSuite...
Add missing latent effect for top-lambda node
This PR introduces a `Type` typeclass based representation of types in LMS. This implementation is based on the one present on [the previous version of LMS](https://github.com/TiarkRompf/virtualization-lms-core/blob/1f2f9b4423189f8ea55dd7d0d3c939d9418dc8cb/src/internal/Expressions.scala#L18-L54) and the one presented...
These are Scala 3 fork of the original lms. dotty-staging: https://dotty.epfl.ch/docs/reference/metaprogramming/staging.html TASTy decompiler: https://dotty.epfl.ch/docs/reference/metaprogramming/tasty-inspect.html At this moment, the decompiler can only emit scala code from typed AST, but the IR...
In the repo, we already have 2 kinds of frontends. One is the simple Frontend.scala, the other is the type-based stub.scala. It seems that the Frontend.scala is a temp/simple solution...