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

Finish TODO for bad `main` types

ce99d5190621b8f4fee78a111e9aea1d1ca06fd3 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Finish TODO on infinite type errors

15b9171816cbbf3eee4fc1e1a63fcbfef5df2947 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Implement Render.Code.renderPair function

9809b00480624f9eab90ae4e626c334fef7dee38 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add a rough implementation for pattern type errors

5342b58ae84f5ab1d21fd208ef4884e4ade8677a authored almost 7 years ago by Evan Czaplicki <[email protected]>
Rename Mismatch to BadExpr

d7e3cd704f7d4e6773de5456d590ca8c8e812486 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Show indented types in type errors

6ecd0be5a043886d6eeee3d22758094be4cd7191 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add Type.Error.toDoc

11e44c9a973b9941a613988ea65db073359b725c authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix TODO for self-recursive aliases

785bc76ddcd28f88b1e6e93161551824171d1c91 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Switch TRecord constructors to have (Maybe Name) extensions

It is not valid syntax for a record extension to be anything except a
variable, so I changed the...

b5df20188516c1c35bef1b64ca17788e8da15f39 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Trim down Reporting.Render.Type to only Doc helpers

435987d0b679cb89c2dd69a7fdef0cf12487424c authored almost 7 years ago by Evan Czaplicki <[email protected]>
Decide not to special case (::) error for now

Again, it is the same as 0.18 this way, so it should not block 0.19

96521f6c632cb2b0f20405a178f26ecef83cfe45 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Get rid of a bunch of TODOs in type errors

To get things done, it makes sense to keep 0.18 quality as the bar I
must achieve. That means I ...

3d14963b615b12ecacd09f4145495a049764b784 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Create Type.Error module and simplify Error type a bit

dd2feec1575a41bdff028e80387b077bda8990df authored almost 7 years ago by Evan Czaplicki <[email protected]>
Strip out files that are being merged into others

51499230a832ded3c201db7d984bee57c1ecd122 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Create special "error type" that has extra information

The idea is that type inference should produce AST.Canonical.Type if it
succeeds. It can strip o...

344579bf2a05c3333493b55c86844dfe98044dca authored almost 7 years ago by Evan Czaplicki <[email protected]>
Show `import XYZ as X` for ambiguous qualified names

ae89ac798457a6b21333156689763315e56148c5 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make the error message for arbitrary unknown binops better

2abb904deae5dfb281cd0d00377f5561684c70b0 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add special hint for (**) usages by Python people

Thanks to https://github.com/elm-lang/error-message-catalog/issues/193
for the tip on this!

1d1e7638c779bf71a511cb95864a9f1676c2c6d2 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Stop threading type localizer through canonicalization error code

Going to do things differently in different phases

99ef42e1fa6fabaac31a119cb3ec00b447b6bf9c authored almost 7 years ago by Evan Czaplicki <[email protected]>
Finish TODO for error messages on ambiguous names

8403665dfe2c49746a7a9a2d35ffed55c884dcaf authored almost 7 years ago by Evan Czaplicki <[email protected]>
Finish TODO for error messages when names are not found

fcd5528f47376e2f159e5cb98a1d3d2a1e99706a authored almost 7 years ago by Evan Czaplicki <[email protected]>
Check in Error.Main with errors for bad flags

5aa56362bc56ae4146d5b985df35bef75c0379f5 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Improve error message for bad ports

a3099a76165cd1974386a37bbd70e698b602a4d6 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Resolve two TODOs in docs error messages

1c54fcdc45b3ec2198529a498ad2475abe2ae4a0 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Switch suggestions to N.Name type

64494f06301245a3d2dcae874b4b004603e30ee4 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Get rid of TODO in binop canonicalization

974a28efddc0cb09dc182b686861af9a11b85923 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Track region on module exposing (..) for docs error message

bdc9ea0bfe90e5a356a8c2c4276c95287cd5c8f4 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Track location where docs SHOULD be

42e08849d62db7faf7f9193b510b6e93d8c26817 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make error messages for ports a lot nicer

Much more specific now. And they stress that it’s necessary to change
mindset, and not just grow...

6b9a7ed80db4ce8c6991cce155c772ed41c6b843 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make type errors prettier / resolve some TODOs

Get indentation and coloring right again.

4c5f3267e9c6412e2f1d7f51ffc141a369c42d97 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Expose Reporting.Helpers.makeLink and some cosmetic stuff

For example, the link to elm-lang.org is updated to be shorter and
nicer.

f2b3e46e89595af9b40cff552738bced7386ec16 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Use the NOINLINE names in Elm.Compiler.Imports

bd8936f38cd5d1ebf80157616250919d1182ff36 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Remove perf TODO that does not seem to make any difference

541fa5d4c3fda8b81839bdd21d751512b90360fc authored almost 7 years ago by Evan Czaplicki <[email protected]>
Remove perf TODO that does not seem to make any difference

8bf46da0003f69c51d1f79a257a29f538e43851b authored almost 7 years ago by Evan Czaplicki <[email protected]>
Work on some TODOs in canonicalization errors

19859f749eabe36845227cc0429deb6d8112e6d3 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add nice error message for bad cyclic definitions

48781925fed2fa78b6811fedcebc30a4d5edf1e9 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Resolve TODO for floats in pattern matches

ac7f11fd5952d3d0e2d21eb585e16b274449d038 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add Pkg.http and Pkg.url

d1eba41ea447a4a59b5c5d456fb2fa57b46a885b authored almost 7 years ago by Evan Czaplicki <[email protected]>
Check for cmdMap and subMap during canonicalization

a65cc753532e2a1df77156805849211da1c5e8bc authored almost 7 years ago by Evan Czaplicki <[email protected]>
Resolve TODO in Elm.Docs

Allow docs on ports. It should be fine. Publishing modules with ports
will be ruled out elsewher...

af2aeec6a1654193344f5a190c8b2dce496e7b6c authored almost 7 years ago by Evan Czaplicki <[email protected]>
Resolve TODOs in Validate

70933c9f85e0403bd5a3ceff4a1ccb5b7806bc98 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix code gen of top-level cyclic values

Mutually recursive definitions may include tail-call definitions, so I
gotta handle that case too!

a5a51963f6f2238f9e1c043eca6f4b154b1bddb7 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Inline negate operation

9c1f88d54cf146acd19931a9c727d216f9f376a1 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix bug in multi-line string parser

It was dropping all of the content! New versions keeps it. Definitely
takes up more bits, but it...

c84d2f5504eeb5123413685307231ea284532309 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add a missing word

This was caught in some issue.

d227ce74caae33559cd14bc6861203a79153f403 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Include some updates that were suggested over time

9469fc30549a8c047aab732825f6144360d0bc24 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Properly register Debug dependencies

Get Debug.log working

fd94208daef7589cfb8cc666794d898d92400966 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Remove SCC marker

e3e4b6633966c508ff7a18a39f0104438043684a authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add code to remove unneeded closures

c336eedab9035341794d155d730b61fb15db38f2 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add back `dehyphenate` equivalent

8fe02e0eddbed0c3d7dd7c294cca43a7c4506756 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make sure pattern match destructures come out in the right order

The only important change is in Opt.Case, but the changes about
destructuring lists and tuples i...

64f3f0a8f4baf42cc2ac6c424ca8a943cf0c8716 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix bug in (case EXPR of ...) in tail calls

1b73f5f5f3c5c4dfcbd4bfc362a4093b30d87dc9 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Generate definitions for PROD versions of enums and boxes

It may be used by kernel code, so it makes sense to generate and let
the JS minifiers get rid of...

a31f7304bc46716f18e39637811e664635df2dc6 authored almost 7 years ago by Evan Czaplicki <[email protected]>
No need to generate anything for enums in PROD mode

be602333539053e347313885c804ff284bcc0699 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Properly generate AST.Optimized nodes for Ctors

Now it handles unboxing and enums!

83e18b35e37bf33ca4fa3c6e9d4c7a71c37862ea authored almost 7 years ago by Evan Czaplicki <[email protected]>
Detect unbox in Opt.Destructor generation

14fc72db087876b32f6e1780ddd580578e658e14 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Remove temp.hs which was checked in by accident

ba5d0c0aa53ea4a6511b83f5d751c07605785d22 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix intToAscii for multi-character names

431965c6774cbeafc2d395108a408e59a5256a61 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix off-by-one error in intToAscii logic

b28f5e47b7664464a077db8da1021f5cf3d389f9 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make sure module names in cyclic values are generated right

b6c5ffe79fc2f0213d49bf465b78998f77bf0981 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Implement Elm.Name.toShort

17d274c800b719415e5b0fe7d37a3d05894eb66e authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make Elm.Name an opaque type

This means I can modify the implementation within the Elm.Name module
without messing with every...

a3ad7d252ce6f3aed2d455e494f2f40e779851ea authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make Json.Encode faster for generating strings

3a07bd6e0c20d4a9ccafbd1f628d63973eadb2fa authored almost 7 years ago by Evan Czaplicki <[email protected]>
Hide Elm.Name implementation in more places

This is prep work that will allow experimenting with alternate
implementations.

dc356df99fff2fe5d3300bb47503b4715c21658c authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix type signature for record constructors

495313270867fda71e4837cc5c39d39eb89d12d9 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Properly privatize interfaces. No private things in public API

2c31662a4d1a8ece9a950f5f873c081412da45fa authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix bug in port encoder generation

0efde806d7469ad1c9b5f7278b36c9a5081f6e9a authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make sure local types and ctors take precedence over imported ones

This matches 0.18 behavior

3179eaaa74d30042d1012de5f610d1da548e5ee5 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix bug when the E in "case E of ..." is not a local variable

0d111c075e9c99bd32778c2cc62e54f6933e79e4 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Merge Nitpick.TopLevelTypes into Optimize.Module

I do not really like this, but I need the dependency and field
information from generating the J...

ba0b721d12dc92081a8919238827dc0a9f530d50 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Separate out payload and overall type for ports

Payload type is needed to generate encoders and decoders, whereas the
overall type is needed for...

e76858cb7a21c7511ad533160043a44aa6908595 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix checks for strings as a port type

It is now defined in the String module, so it needed to be adjusted a
bit.

c1aba2cce1cf5143ac4ca0e2572d8a3f9d926c7d authored almost 7 years ago by Evan Czaplicki <[email protected]>
Generate JS booleans, fix top-level tail defs, make JsEnums ints

3492239a7ccd5f9128e35dfd011d78c4a8b6be3a authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix generation of let definitions

0b00f1c1ee7395ded1776e7a599886e9f119a0d1 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Generate fewer destructors

6114d0eac8a8bfb18effd836cd1eb3f59dc32b1c authored almost 7 years ago by Evan Czaplicki <[email protected]>
Properly escape module names and F3/A3 functions

19ff11454a937aec9dbd92fa607748fddc2807a6 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix references to Json modules

eaa646f7a8dca654f953df3df4cea8b79c96862b authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix code generation for top level tail call definitions

bf63cb879192c74e3bb047de30d1f786241405ef authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix bug in decision tree optimizer

The problem was that in the old version, the path to an Alias was
different than a path to other...

4ac69817d71aecd6e8fc9800de0225b1484e9a10 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix how kernel data is turned into Obj.Graph info

There are two main things here:

1. Gotta use the short name. No Elm.Kernel. prefix.
2. Register...

cff909cc12a21be7a22272e13a83a2186e102dad authored almost 7 years ago by Evan Czaplicki <[email protected]>
Update Elm.Header to include default imports a better way

d28423358b32ecd4e4e48f2d58559b8615d919e9 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Mess with Canonical Env a bit to handle duplicate imports better

In the old one, having two imports triggered the “this is ambiguous
error” so I changed it to ma...

fd172c9db89e2abad83183f4a1d60c08fa395546 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add default imports during header parsing

4cdb58d885fe0da9cd42b746418df8617a0d7f3b authored almost 7 years ago by Evan Czaplicki <[email protected]>
Make TODO error messages more helpful

c5c6b2d9013afd3d559df1e400d107a2b50ae462 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Implement parser for JSON numbers

03e214dcaa94c5b08769723e465c221851d0d5ae authored almost 7 years ago by Evan Czaplicki <[email protected]>
cosmetic: do the exposing line nicer

7434b9101f1b5c8bf070581b1161736c37c2eae1 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Export a few more things from Json.Decode for better error handling

b9fd688c22f8d99fd80a2b48a05071367b2f483c authored almost 7 years ago by Evan Czaplicki <[email protected]>
Switch versionFromText to produce Maybe

The info produced in Left was the same for everything. I.e. it was
useless and can be made more ...

780b9a351724e7e403693c7bdacafdaeae4fbf3b authored almost 7 years ago by Evan Czaplicki <[email protected]>
Provide better information for module name JSON decoder failures

bd97163703b4e3d9911c11961062af6132165f2e authored almost 7 years ago by Evan Czaplicki <[email protected]>
Remove unused import

edf20782ccf991c8225c858b7a48da417634757e authored almost 7 years ago by Evan Czaplicki <[email protected]>
Remove unused imports

22bb2ee5f590d96aab050a3ce04ad9a43aebf8cd authored almost 7 years ago by Evan Czaplicki <[email protected]>
Add Decode.mapError to help define some decoders

aa7129a233fae66071302beb9f0ee3a6514af38f authored almost 7 years ago by Evan Czaplicki <[email protected]>
Stop relying on aeson, parse JSON with my parser

This has two major benefits:

1. I can keep track of field order in objects.
2. I can give nice ...

00a30697dd9db5cdde3717bbbc5d7fd7838e1807 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Remove unused Parse.Primitives.getContext parser

51e95e8dc4c988434237caf480000c30f87ec02b authored almost 7 years ago by Evan Czaplicki <[email protected]>
Simplify code for infix operator detection a bit

Also remove ~ from the valid symbols. Not needed and generally too
close to - in small sizes.

ed80d49c43006089dd131ed3fd370560eea5c6db authored almost 7 years ago by Evan Czaplicki <[email protected]>
Switch from Aeson to Json.Encode

01e6c522f0b6d084746385d8bafcb66b10a1c4c7 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix bug in cycle detection of patterns with only one variable

It used to put $ between all variable names, but if there was only one,
it did not create a new ...

261b7ff20937d299ded8316b864e84d30f84a650 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix typo in exhaustiveness checks for three-tuples

3f5f808c90e34f57d46fe9ddfdb7148982cd9fd1 authored almost 7 years ago by Evan Czaplicki <[email protected]>
Fix little type in effect constraints

546be394d33f11a1de26cb1b51bad2e3cb26aaeb authored almost 7 years ago by Evan Czaplicki <[email protected]>
Properly register type variable in CLet for let-destructuring

6a33dd60e3c3cd9d96e0c19230203f98e372b238 authored almost 7 years ago by Evan Czaplicki <[email protected]>