Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/elm-tooling/elm-compiler-library

Compiler fork used in elm-language-server-haskell (archived). Use https://github.com/elm-tooling/elm-language-server instead
https://github.com/elm-tooling/elm-compiler-library

Expose canonicalToMain for app footers

101709fe93ca9cee1bce109d6b90548d13beaeaa authored over 7 years ago by Evan Czaplicki <[email protected]>
Expose Elm.Compiler.parseKernel to grab all kernel dependencies

This means an object graph now contains all kernel information as well.
This has a few implicati...

973bf001ec672854eaf2521c1326503cc3d07413 authored over 7 years ago by Evan Czaplicki <[email protected]>
Do some minor renames in preparation for bigger change

65a3af0a11b655ffc0f3660e7a8d37b1ea4cd321 authored over 7 years ago by Evan Czaplicki <[email protected]>
Get rid of symbols, move code to unused module for now

26bf33f56b9bc0dde06de55330efaff660178f69 authored over 7 years ago by Evan Czaplicki <[email protected]>
cosmetic: make line shorter

400f0f242115630a5066c1a6c9ed86c126a58eb2 authored over 7 years ago by Evan Czaplicki <[email protected]>
Get rid of "hiddenDependencies"

This will be covered by the kernel imports, so there’s no need to hard
code this kind of thing.

aee2191b4e640c17df430cd05fbc862c8bb4077d authored over 7 years ago by Evan Czaplicki <[email protected]>
Get Elm.Compiler.Objects.Internal.destruct in a different way

8f102c00e8943bb76d627246542c63b1599c2e53 authored over 7 years ago by Evan Czaplicki <[email protected]>
Use ByteStrings in Kernel chunks

This will get put in the big .elmo files for whole packages. It will
eventually be used to produ...

3db3bdff5db729a755e9ea3b512393639469c939 authored over 7 years ago by Evan Czaplicki <[email protected]>
Better code gen for complex recursive values

Probable fix for https://github.com/elm-lang/elm-compiler/issues/1591

The dependency graph for ...

e2a51574d3c4f1142139611cb359d0e68bb9541a authored over 7 years ago by Evan Czaplicki <[email protected]>
Add Parse.Kernel that sets things up for code gen

f5bf4ada5e261c272248abbcecfd957830f172ea authored over 7 years ago by Evan Czaplicki <[email protected]>
Rename Elm.Compiler.parseDependencies to parseHeader

0a7b76540206b5dcdf116488043af1aa8287d7e1 authored over 7 years ago by Evan Czaplicki <[email protected]>
Use AST.Module.Name.isKernel instead of string matching

3399b4c760a919d05b25bc2427bc857676926b6f authored over 7 years ago by Evan Czaplicki <[email protected]>
cosmetic: move parseDependencies lower in Elm.Compiler

74a1fd15ba4a397b3188c967283af98301edb1f9 authored over 7 years ago by Evan Czaplicki <[email protected]>
Add SCC annotations throughout type inference

ae8d75caddcd44186b16fe18385c1d83ca3ce708 authored over 7 years ago by Evan Czaplicki <[email protected]>
Restrict exports of Parse.Module

5a9bb97ae04dd9ecfe9e8c3aa09ea97730f1c898 authored over 7 years ago by Evan Czaplicki <[email protected]>
Build rankDict all in IO

7a8b5681ca1f8d962bce68dfb0413bb469a97fd6 authored over 7 years ago by Evan Czaplicki <[email protected]>
Redo Type.State.Solver to not use RWS

b44119085371697746f309468c42df5498645bd6 authored over 7 years ago by Evan Czaplicki <[email protected]>
Stop relying on laziness in Type.State.makeCopy

314be83415ea16eac39d1866b0efcb254fc1a0c8 authored over 7 years ago by Evan Czaplicki <[email protected]>
cosmetic: clean up Type.State quite a bit

5a332597f9839cd0ac557611cf409f14769c7759 authored over 7 years ago by Evan Czaplicki <[email protected]>
Move liftIO out of Type.Unify.gatherFields

6854570ae56bd50c613f1dc57c8095ecab72eccf authored over 7 years ago by Evan Czaplicki <[email protected]>
Switch adjustRank to use IO directly, improving performance

c4c570233293bcdf399e562cf241ee17c60e33b4 authored over 7 years ago by Evan Czaplicki <[email protected]>
Do a bit less work in adjustRankHelp

ae0c7e29558d52b9a50eb07120e6ab1054bd0708 authored over 7 years ago by Evan Czaplicki <[email protected]>
Allocate less in registerIfNotRedundant pass

3734eff1bf4cddeed21255c16d3b651116d44282 authored over 7 years ago by Evan Czaplicki <[email protected]>
Allocate less in Type.Solve.adjustRankContent

f3a7c773dbe147fde39dd72ab49ac01dbbe5e90c authored over 7 years ago by Evan Czaplicki <[email protected]>
Stop building unneeded data structure

2f6c8fcc805e51f05a5afd38d380bbbcda1c6d66 authored over 7 years ago by Evan Czaplicki <[email protected]>
Replace (!) with (=>) in default imports

921a5a1cd0372101d726ac565bcafda8910e63d6 authored over 7 years ago by Evan Czaplicki <[email protected]>
Call unifyFlexSuperStructure directly

4a63470a2d132e41f2666b295d2a6840094ac40b authored over 7 years ago by Evan Czaplicki <[email protected]>
Avoid allocation when unifying two flex supers

By inlining combineFlexSupers, we avoid allocating the Maybe. And by
avoiding the maybe, we avoi...

60f4e71983933f8b7be63b255f9d5ecce31bbba8 authored over 7 years ago by Evan Czaplicki <[email protected]>
Rename unifySuper to unifyFlexSuper to make specific usage clearer

077d8e977abce7fd34bef0a6ea03bce9a164ed62 authored over 7 years ago by Evan Czaplicki <[email protected]>
Optimize case in combineFlexSupers to fail in fewer steps

Haskell is unable to do any reordering of patters due to laziness, so I
did the reordering mysel...

7a6d5a43e916638bd0ccad433f3bbb9f120d8b0f authored over 7 years ago by Evan Czaplicki <[email protected]>
Fix bugs when unifying rigid constraints

The new combineRigidSupers function makes sure that the rigid variable
always wins and that the ...

5fe9bb9602163927295a6b37a64fd47f982d502a authored over 7 years ago by Evan Czaplicki <[email protected]>
Switch tuples to #N constructors

669fa90bb358c16b0d2548c390fb384caaad9bd8 authored over 7 years ago by Evan Czaplicki <[email protected]>
Move all tuple name generation to AST.Helpers

befb3dfb8c80599e090b2ac7fe83f586baa76139 authored over 7 years ago by Evan Czaplicki <[email protected]>
Encode JSON objects and arrays in the right order

10164be57926982480c987867bb45fa1c1ecdfb7 authored over 7 years ago by Evan Czaplicki <[email protected]>
Simplify Docs.AST to simplify API diffing

774aebd7c583bcf3985946fc22846d787510ab03 authored over 7 years ago by Evan Czaplicki <[email protected]>
Elm.Compiler.Type.toString now takes a format argument

Now you can chose one-line layout (for diffs) or multi-line layout (for
the REPL)

56f76ac1efb437788882aa79aa92c8aca019ef15 authored over 7 years ago by Evan Czaplicki <[email protected]>
Add Decode.oneOf

b737fa0f0ca48a94645b98b037221f62b02b8a1e authored over 7 years ago by Evan Czaplicki <[email protected]>
Allow specific values for Obj.Roots

Also add some hidden dependencies in all cases. They are needed for
equality and for toString

179ab457d4d64c3ccc6d0433d4622aa3b0e68816 authored over 7 years ago by Evan Czaplicki <[email protected]>
Expose Elm.Utils.parseEntry for more precise REPL identification

3c71d93104c9a331fd9a5a50dcc082585f9639f4 authored over 7 years ago by Evan Czaplicki <[email protected]>
Allow multiple roots

374b9cf72acd3e6f2f8b1c823aeaf99a221de100 authored over 7 years ago by Evan Czaplicki <[email protected]>
Stop generating extra code around function operators like (+)

With the new code generation, we can now refer to them as functions
directly, no need to wrap th...

c4cc8ee0b86effab205c76d1e42cc24a357a09bb authored almost 8 years ago by Evan Czaplicki <[email protected]>
Register variables used as binary operators for DCE

2aa86284699ec1798f5fe158c75e848f28a60348 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Shuffle some code so that port deps get registered for DCE

c0aed6f75380259001b2ca2ae445285a8f735972 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Fix warnings in Generate.JavaScript.Expression

4c2e96a347360e71471cfb4af5459093e1adc2c7 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add -Wall when in development

725a8935b049402ba7492d60a4b11b6f31cb8b2e authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add init, onEffects, etc. deps when registering effect managers

e99688d327f02147fb8c368ff7ef75f3e50e3719 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add Encode.null

904847715fdad01767c2e5439615253cb3f20ab8 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add Json.Decode and Json.Encode as exposed modules

Remove the aeson-pretty dependency. No longer needed. But need to add
some dependencies for poki...

441aeba042eed5a1273b1d236fcd6accd024a489 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Rewrite JSON encode/decode for Elm.Docs and for public types

b99667006ac57c7a97e5c402ebce02b7db479cad authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add Json.Decode.index

67c84d4764f00dc38d626258b6b284f458f52b18 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add Encode.int and (==>)

6b96fe702b3e0de53fb7898442e269d2c9709e94 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Switch to liftM in binary instance

6b922970242f1180d35bc82f643bf72968ff39d3 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Create encoders and decoders for Elm.Package and Elm.Compiler.Module

11bd592ee9400003d80aa142a6b835f6c3cb0433 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Migrate Json.Decode and Json.Encode over from builder

This way this code can be used to deal with JSON everywhere.

f775024a5ca34fa6830cb6137895eb4a679eb6b5 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Make changes to support Elm.Kernel.* code and symbol tables

46bc4224c34587e60ad90d9e864099d3dbb26454 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Code gen can customize how variables are generated

For example:

- Infix operators are now _ops24 instead of _ops[‘>>’]
- Variables in bundles ...

ceb91752930c970026fdead582bd5979114790f7 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Use Var.Global in optimized AST

Need to allocate it a couple times otherwise.

12fbd47a913361822c80fea28d8ba4b6de41d80f authored almost 8 years ago by Evan Czaplicki <[email protected]>
Use liftM in binary instances for types

fa7b51dce82d7ae86c259a4340190e97a9e960c4 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Switch to using liftM functions in binary instances

d7a266b7a2360a0f4739f656153b69d7602f029e authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add back definition for Native.List.Cons

44cc85e68473576af7fa59e4dd9582758aab1426 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Switch back to array literals for list literals, fix #1521

bfae985a16ef2a2eaa3ea803338219cfc145d8c4 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Do not do anything special for Native values

219aff86b8e08f461d0b9d03152a66c121769cab authored almost 8 years ago by Evan Czaplicki <[email protected]>
Filter out VirtualDom.Debug for now

9e24b4f3a67a65bd02a4f562f8a07e89e2d3a87b authored almost 8 years ago by Evan Czaplicki <[email protected]>
Give a nicer error message if certain bug manifests

39ae03c6da3c3a87b47d29d690fa6c70561e6a54 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Rename Elm.Compiler.Objects.root

d715120a34ec2bb6a7c04b82e596aa0eb1e54ca2 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Expose Elm.Compiler.Objects.unions

9fd8302602df3a638270f58fd622471c75bb8a28 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Elm.Compiler now exposes an opaque Obj.Graph

This is so only the compiler knows how to deal with object graphs.
Folks outside can only union ...

6eaff9e863d1ac88fc38f24c28731a2a41257505 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add binary instance for everything in AST.Expression.Optimized

eb30f835db9ec5c54e7568c16df37e1bcda222fb authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add binary instance for Main type in AST.Expr.Canonical

fa3c0a7bb839e460ff230ddd225d7b810e3e1985 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add binary instance for AST.Variable.Global

de5ba20b65c592b938583ae88ec6db878f38ccbb authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add binary instances for some DecisionTree types

c0e1f3ee3ba688086e7c6d575cdf921b2ba89b9e authored almost 8 years ago by Evan Czaplicki <[email protected]>
cosmetic: add vertical whitespace

fe7bbbdac92a72679cba71ed685ab36dd05536ce authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add binary instance for AST.Effects.ManagerType

9db7f7eb8542c4d3482153e3b8bc5e85a9962be2 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add binary instance for Regions

22300f3719f755a6e0baa4cdb46cc10da5b291a2 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Drop unneeded info from GLShader in optimized AST

c987f07744522a47f1d19082d28123d93ed4bc1f authored almost 8 years ago by Evan Czaplicki <[email protected]>
Distinguish between local and global variables in optimized AST

30261e2ac6085180054104a57c6c5fb711dfa8d4 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Make exports explicit in Generate.JavaScript.Helpers

28a5e11234740de98339f060bd9d9900c2df6d76 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add a binary instance for AST.Literal

dd4b58827cb38dc555e82ef0f4a9d54cb3359b85 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Do DCE while generating JS.

f232da43be19c204cfaee834794352c737756422 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Make exports explicit in AST.Effects

8d7c1219b2fbdd8c117054fbd149d01834cf1ab0 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Use Text.encodeUtf8Builder in Gen.JS.Builder

821268b68239218ec85e4a644c5fabc833a8ab4c authored almost 8 years ago by Evan Czaplicki <[email protected]>
cosmetic: move things around, add section headers

2b4a0e3ba43ecfb1d8a6fb2d119063970130adc3 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Remove unneeded language extension in AST.Variable

bc3312cc4174f883de78e92bf441fcade8334402 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Refactor representation of "exposing" and documentation

There used to be AST.Variable.Listing, but now everything related to
that lives in AST.Exposing....

fe1d53a657e7cd9a83650e11a463da365123e364 authored almost 8 years ago by Evan Czaplicki <[email protected]>
cosmetic / add strictness to Canonical module names

Mostly just clean up indentation and add headers though.

79dee76455fa665bd88de92696642b74cf8d7814 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Define Binary instance for Package type

6b5b33cd82b8ac1b1351a1c97813754b79c2886a authored almost 8 years ago by Evan Czaplicki <[email protected]>
Stop deriving Show for some types

67feae284f96d3660e2289a0a0e11d6da30690ab authored almost 8 years ago by Evan Czaplicki <[email protected]>
derive (Eq, Ord) for the Package type

1de1d7ea9f41df40c5324291f9177f3fe89a32bd authored almost 8 years ago by Evan Czaplicki <[email protected]>
Expose a type for names and versions together

3b08065e7e32ad73780ae56b7428e038c4ace635 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Use bytestring builders to generate JS

This way we can write the result directly to disk.

Before we creating a lazy Text buffer, then ...

abd5880ddbcf09153ae58677247dc1e05121b1a5 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Only have = in generated JS, no possibility of +=, *=, etc.

Essentially doing dead code elimination here.

c756a8391c65cee47bca3bfdd99b4d71959b26b5 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Fix warnings in a couple modules

700055cbb84f8a494e35fe89257a797420edca08 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Get rid of Elm.Utils.run

This was primarily for calling elm-make and elm-package from each
other. In the new architecture...

6aa54d5abed60f7bca2fb35d8f926864fb6d8216 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Have header parser return Maybe, not default value

This way we can tell if the user has that line or not. Depending on the
situation, elm-make will...

7bb1738925542d99b8aa666baff5a4ca27ce5c4a authored almost 8 years ago by Evan Czaplicki <[email protected]>
Stop holding FilePath in AST.Module

This is not used anywhere. Not all source you want to compile is from a
file. That kind of detai...

357b7e48b11667b315d82793339d4c8fe889468d authored almost 8 years ago by Evan Czaplicki <[email protected]>
Rename Elm.Compiler.Result._iface

b5b685ec38b7d52126e9c7913abd058c9be8ced0 authored almost 8 years ago by Evan Czaplicki <[email protected]>
cosmetic: use more modern style for data records

4a978ebb9a1ef2a01f1b42c43185f7d74941677e authored almost 8 years ago by Evan Czaplicki <[email protected]>
Update to newer version of aeson-pretty dependency

Switch to using tabs in documentation JSON

c127a71ccbd187d2998a793431b6efeee63419c8 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Hold less in Interface / add "privatize" to shrink memory

Remove the compiler version and package name from the interface. This
information will be captur...

542c7637b5adbf6e03538cbe74f76de0ed11434a authored almost 8 years ago by Evan Czaplicki <[email protected]>
errorToDoc replaces errorToString and errorToStdout

The idea is that the error formatting should be managed by the cli
tool, not the compiler itself...

65e6ff161eabc1040a77127059be736d4227075e authored almost 8 years ago by Evan Czaplicki <[email protected]>