compiler icon indicating copy to clipboard operation
compiler copied to clipboard

Elm compiler written in Elm

Results 19 compiler issues
Sort by recently updated
recently updated
newest added

- [ ] add `compileToJS` - surprisingly, the whole `Elm.Compiler` API works without `Project` and `ProjectFields`, but suddenly `Emit.JS` needs it. Maybe rethink how should it fit together! - [...

```elm let x = 1 in 2 + x ``` can become ```elm 2 + 1 ``` (which the `plus` optimization will then pick up and create `3` from it)....

help wanted

I currently don't have a clear idea on how to do this. I'd start with this: - [ ] add the `number` type to [`Type`](https://github.com/elm-in-elm/compiler/blob/master/src/compiler/AST/Common/Type.elm#L11) - [ ] make integers...

help wanted
research

Standard elm uses a syntax borrowed from Haskell to define new operators. I propose that elm-in-elm should hard code operators into the compiler. The main advantage of this is approach...

Kernel functions are defined in JavaScript (no static typing) but can be called from elm (static typing) and thus have some sort of implicit type signature. For example the kernel...

Here is a start to address #50. I think the best way to contribute to this is to make "review suggestions" in this pull request which can then be merged...

help wanted

[Order of optimizations matters.](https://www.reddit.com/r/ProgrammingLanguages/comments/bjovqk/does_order_of_optimizations_matter/) **It should be possible to look at the list of optimizations in [`Stage.Optimize.optimizeExpr`](https://github.com/elm-in-elm/compiler/blob/master/src/Stage/Optimize.elm) and either experimentally or in some more scientific way find a better permutation...

help wanted
research

Hi, I'm looking forward to use parts of your libraries (AST, type infer, optimize) to implement my _elmsl_ compiler (elm serverless), which will be implemented in _rust_ and create _rust_...

usecase

Jakt is an imperative language (from the SerenityOS project) that compiles to C++ (and thus to native binaries), with a few charaacteristics that make it nice to use from Elm...