You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 5, 2024. It is now read-only.
@@ -94,7 +94,6 @@ Oh God please yes! :heart: Feel free to look around the [<kbd>help wanted</kbd>]
94
94
| custom operators |:x:|:x:|:x:|:x:|:x:|:x:|:x:|
95
95
| shaders (?) |:x:|:x:|:x:|:x:|:x:|:x:|:x:|
96
96
97
-
1. <spanid="f1"></span> Hex integers not implemented; will be fixed in [#19](https://github.com/elm-in-elm/compiler/pull/19)
98
97
2. <spanid="f2"></span> To be optimized with multiplication, subtraction, division, modulo, exponentiation... maybe more?; not tracked yet
99
98
3. <spanid="f3"></span> Not implemented; tracked in [#17](https://github.com/elm-in-elm/compiler/issues/17)
100
99
4. <spanid="f4"></span> Not implemented; not tracked yet
@@ -108,7 +107,8 @@ The tooling around this project requires:
108
107
109
108
***`make`** for the [Makefile](Makefile)
110
109
***NodeJS 10+** for the [CLI tool](src/index.js)
111
-
***`elm`** and **`elm-test`**
110
+
***`elm`**, **`elm-test`** and **`elm-format`**
111
+
112
112
113
113
or alternatively a good amount of ingenuity to do stuff in a different-than-planned way.
114
114
@@ -126,6 +126,14 @@ $ make test
126
126
```
127
127
Runs `elm-test` on the test suite (gasp!)
128
128
129
+
## Formatting code
130
+
131
+
```
132
+
$ make format
133
+
```
134
+
Runs elm-format.
135
+
Make sure to format code before submitting a pull request!
136
+
129
137
## Small TODOs
130
138
131
139
> This is a brain-dump of some low-level stuff. (High-level stuff should be in the roadmap.) My apologies if it's hard to make sense of this! ~janiczek
@@ -143,7 +151,6 @@ Runs `elm-test` on the test suite (gasp!)
143
151
144
152
#### General
145
153
146
-
-[ ] Nix expression for the dependencies and building this project? Would that be helpful?
147
154
-[ ] Compare our `Main.compile` with official compiler's `Compile.compile` - is that a better API?
148
155
-[ ] Types module: remove, refactor into "module per datastructure" style?
149
156
-[ ] Deal with kernel modules
@@ -165,7 +172,6 @@ Runs `elm-test` on the test suite (gasp!)
165
172
-[ ] Annotate type errors with position in source code (for better error messages)
166
173
-[ ] Try to find a better name for "occurs check" and make the error message easier to understand
167
174
-[ ] Document the typechecking stages better (ie. at all)
168
-
-[ ] Find a (probably monadic) abstraction for `assignIds` so we don't have to thread the state in such a way. (This might not be possible because of lack of do notation. Ie. callback hell would always have to happen... Dunno!) For example see `Stage.InferTypes.assignIdsHelp`, the `Canonical.Plus` case.
169
175
-[ ] Rename types to be able to show nice type variables (ie. the classic `a` instead of `type #0` or something). `Stage.InferTypes.getType`
0 commit comments