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

temp: go to 0.18.1 because it'll keep working with packages

9dbd825952d7106ba612e769d6809836d630d67d authored almost 8 years ago by Evan Czaplicki <[email protected]>
Update Test.Compiler / make it a bit easier to read

beac4f6c627db9d1b1c8a5043f677de34091433d authored almost 8 years ago by Evan Czaplicki <[email protected]>
Change the Context passed into Elm.Compiler.compile

With the new builder stuff, it is easier to provide a map from raw
names to canonical names. Tha...

d4cc828ba5c933e09cd2f8bc8f94992f98b9f79f authored almost 8 years ago by Evan Czaplicki <[email protected]>
cosmetic: add a newline

e8bc65e4793ad4b55406df938c2d4929299fe90a authored almost 8 years ago by Evan Czaplicki <[email protected]>
Make 0.5.8.2 the minimal containers package

79b2436a1b77cdb2c381da3d6dd23483588048a5 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Get rid of elm binary that lives in elm-compiler

This will migrate to another repo

355abe462d18f577da1036d8831c8e2d73c8e7cd authored almost 8 years ago by Evan Czaplicki <[email protected]>
Bump to 0.19 for developement

Elm binaries cache some information, and those caches are always
versioned. So bumping now means...

27681b0fdbfbf0c1244e941c4bf2c97555cbbc90 authored almost 8 years ago by Evan Czaplicki <[email protected]>
cosmetic: use more consistent indentation

90ce96eb9bbbc48ec52943279500bf00313bf660 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Use more compact memory representation for Version

This makes the data smaller at runtime (25% of old size + less
indirection) but the real point i...

49ada5973d964057faaafbc5136515a7625c7ba2 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Switch fromString to fromText

17a8c767cf843bd7a06f1eb88c4834449b5ac9d7 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Add versionToText, make it the default conversion

4a37ac7966d65e800d8fc49533235128c4a80550 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Do not require a Pkg.Name for parseDependencies

Packages have names, but applications do not.

5a823321a95d855d11200098cac2c63dd3fcd0b2 authored almost 8 years ago by Evan Czaplicki <[email protected]>
Make Elm.Package exports explicit, fromString => fromText

List all of the publicly exposed values. Also switch more things to
text implementations:

- f...

0ac5b303307f374bb829b94b5a92c5778143742a authored almost 8 years ago by Evan Czaplicki <[email protected]>
Fix #1539, properly parse Bools in pattern expressions

4272cbc4912e703ece76c85f1584ac3482dbb372 authored about 8 years ago by Evan Czaplicki <[email protected]>
Update links in the README

3f6c422dea65015aeed6a1a9a9bf5ce1b875f7bb authored about 8 years ago by Evan Czaplicki <[email protected]>
Remove hash (#) as a valid symbol in infix operators

Based on the reasoning outlined in
https://groups.google.com/d/msg/elm-dev/0AHSnDdkSkQ/E0SVU70JEQAJ

8ff0aee1a0e5f1362cb6f9bddcef4a990d4458c0 authored about 8 years ago by Evan Czaplicki <[email protected]>
Example cabal.config file, needed for doing profiling

01c9e2c9a4b64c05aa65c355a8982fbb6ed84002 authored about 8 years ago by Evan Czaplicki <[email protected]>
Show profiling results of {-# SCC elm_* #-} cost centers

This is based on @justinmanley’s contribution that outlined how to
profile the compiler in a nic...

bb35d68b6d8b3faff774bebff9d0aa5ee8ca4dd0 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get rid of bench/

It was out-dated and I’m hoping we can get a proper benchmarking
library written in Elm at some ...

a39f3e9837b207295ed0e1fa8a3cf94b659dcf31 authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix #1535, order of defs matters!

In some cases, I skipped reversing things back to their original order.
In this case, the origin...

35947012e791a55e495440bf4230ee17e71798f7 authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix #1533, parsing upper case hex digits

The check for upper case letters A-F had a comparison going the wrong
way. Rewrote to make it mo...

0c6152d9a7928eee5fc5b03208d22b8ca7152544 authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix parser when . or - come right after a (

Fix #1532 and fix #1536 by trying to parse normal expressions first.
This way you commit to (.x)...

47e71baead6711931374eb2874de84d532c332ae authored about 8 years ago by Evan Czaplicki <[email protected]>
Move some tests from Strings/ to Literals/

6ff3a445dc11f09f2c42585c431473de319bcfa2 authored about 8 years ago by Evan Czaplicki <[email protected]>
Make (best students).name work again

Just need to make it so a .field can follow a tuple term. The case we
are interested in is tuple...

9089c2d7a28ab9b142ec0621a3025ffc3c16c5c3 authored about 8 years ago by Evan Czaplicki <[email protected]>
Disallow @ in infix operators

See https://groups.google.com/d/msg/elm-dev/0AHSnDdkSkQ/E0SVU70JEQAJ
for the reasoning behind th...

1925e312768bb637a29baa2cea555be68987c3f1 authored about 8 years ago by Evan Czaplicki <[email protected]>
Improve error for bad escape characters

64b16e6b69c860e87225284c8e6b0eb78717bfaf authored about 8 years ago by Evan Czaplicki <[email protected]>
Add word to error message to make it more clear

b0cc791df16ff8f4258b3baa5e9a0b781abf35a6 authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix #1272, leading underscore gets parsed funny

69518e35e59f985abcea3b8e6325269c31bf97c4 authored about 8 years ago by Evan Czaplicki <[email protected]>
Correctly parse when .x is an argument

Just check for arguments first. This should be more common, so it’s
likely this is a bit faster.

220df1ee4c48df986e706fbba73eb2235cc710e0 authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix bug in binop canonicalizer

e09f369f1999b56c9dbca8251c4e5c91a276dd22 authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix bug in doc comment parser

442ac09e05e083cb0e09aa0c797dcd7525eb5f08 authored about 8 years ago by Evan Czaplicki <[email protected]>
Make single quote parse error more concise

3b6525a9eda95a3fe1c6fd83a99498c1b9be27a9 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get rid of EndOfFile parse theory

It just cluttered up the error messages, making them more confusing
overall.

d137cdba2bf37ceae1793756a1856485be5df9ce authored about 8 years ago by Evan Czaplicki <[email protected]>
Got rid of NextDecl concept, subsumed by BadSpace theories

294ee0705cec7fecd16a5ed4bb155b7ab981b78d authored about 8 years ago by Evan Czaplicki <[email protected]>
Improve error message for stray equals sign

Improves https://github.com/elm-lang/error-message-catalog/issues/55

60ac31bdbbc0dbce22cc5f3832ca0e317ef2482f authored about 8 years ago by Evan Czaplicki <[email protected]>
Give a much more specific error for bad indentation in let

Improvement for
https://github.com/elm-lang/error-message-catalog/issues/96

c39a65c8337728dfb0e0d4623f3400279dcd688f authored about 8 years ago by Evan Czaplicki <[email protected]>
Add locations to context stack, allowing nicer error messages

The context stack now says where each bit of context starts. That means
we can show all the rele...

7dd0bbd7e5a3f5a4434b5f589043c2e3d1c5db1d authored about 8 years ago by Evan Czaplicki <[email protected]>
Improve code that extracts code from source in errors

It now will add the red underline as long as it appears on the last
line of the code snippet. So...

3f6ffc3ef3e204d12f101defc5a66d022ab43644 authored about 8 years ago by Evan Czaplicki <[email protected]>
Improve error messages based on testing

7139c03d5c3c1963ffe7559358ceedc858176147 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get parse error messages working again

The most important addition is the concept of a stack of “context” so
the error message can say ...

c5da7c0b1816f67dfad0a71c38c8c3bea4017007 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get docComment parsing working again

f284fab1553148f968ebf32375598d98a78853a9 authored about 8 years ago by Evan Czaplicki <[email protected]>
Have parseDependencies give out valid error messages

12c507849f30c6c4e569c84153598564e4093c37 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get parser for GLSL blocks working again

d93da6daf3342d2bf752dea606c129024f237923 authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: double quotes don't need to be escaped

89f9dcebedf090ba576cc39778df1c049cac427a authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: no longer testing for primes

001eff77654f2c50be6486ea0dfc70e5e91ef8a5 authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: remove stale good-expected-js files

e583b5bba7d21ac379cbb7791fb77fb10cb56a5a authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: no longer can have multiline single quoted strings

6f6888cc5e55638aa855e7d1d561802dda55dbd0 authored about 8 years ago by Evan Czaplicki <[email protected]>
Keep escape characters, switch from \x0040 to \u0040

3ad0db6e8b5521cab209906631d7267c0d5ae61d authored about 8 years ago by Evan Czaplicki <[email protected]>
Start escaping \n in multi-line strings and \' in all strings

9a407c5d902beb9497ea6a496cb0107d9a8369e5 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get parse errors working for many primitive cases

Still does not work when there are multiple paths that all do not work.

768a565df9a21f9d460ce56678752c8305057faa authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: get rid of primes in string test

4adc7992c698152f1002629423ba3214f6952497 authored about 8 years ago by Evan Czaplicki <[email protected]>
Add some structure to parse errors

1433e40aafd6dcf62607a45208717ea5f0201ab5 authored about 8 years ago by Evan Czaplicki <[email protected]>
Read fields in the correct order when parsing expressions

c6701ae72416cd811e348c103f3174df6e21da65 authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: lists are now expanded to objects directly

b99ded486643134f05cb86ddf7ce9a483525fea1 authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: function names are vN not letters

This means it’s clear what happens after 26

239af836ec601ce96e57ddc4a3d8f3a01497e8cf authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: the [1..5] syntax no longer exists

ee5890623c4be5b150da4ef8b03fe547fe3de9bd authored about 8 years ago by Evan Czaplicki <[email protected]>
Update tests: primes are no longer allowed in variable names

9f4d479b48a4a4de2690cb7a2f519260d5f06170 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get .hs test files working with the perf changes

8491faebff5299c636d0436597f94845cf58ae40 authored about 8 years ago by Evan Czaplicki <[email protected]>
Begin upgrade of Docs code from String to Text

Big chunks do not work though. Need to create a doc comment parser
using Parse.Primitives.

fe4ad5a0eb8be071807fc83ac6fb453901fbe73c authored about 8 years ago by Evan Czaplicki <[email protected]>
Upgrade Compile function to take text, not strings

56980542129101b04ad37dd6590a1f35ee3f5023 authored about 8 years ago by Evan Czaplicki <[email protected]>
Upgrade Elm/ from String to Text

2203dd6d031a4bd9c1ac1549063357db20c1183a authored about 8 years ago by Evan Czaplicki <[email protected]>
Begin upgrade of Reporting code from String to Text

Still have to make the parse errors work.

Also removes mention of Parsec from codebase, so I be...

2feb35738da4d0afcbe8146948051f74507b3c70 authored about 8 years ago by Evan Czaplicki <[email protected]>
Upgrade Type code from String to Text

b09bb0012c7b67e9b117b2e1860f786f75fb2784 authored about 8 years ago by Evan Czaplicki <[email protected]>
Upgrade Optimize code from String to Text

5b4fbc7705ea5aa9a2c31a6d17292d64996dc97d authored about 8 years ago by Evan Czaplicki <[email protected]>
Upgrade Nitpick code from String to Text

a672aa74e6c23757b50fe6de5b24cb945c5be9a2 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get rid of dependency on language-ecmascript

Can potentially create the Text.Lazy.Builder directly, though I suspect
the expensive part is ac...

e07d16b1c7720eb6f3572874f70c691f4bfe0b54 authored about 8 years ago by Evan Czaplicki <[email protected]>
Switch some AST modules from toString to toBuilder or toText

36d38db6c2614761c4eeb208be46c464583e14f8 authored about 8 years ago by Evan Czaplicki <[email protected]>
Whitespace upgrade + many important fixes in Parse.Expr

Important fixes include:

- Properly handle record accessors. Dot is no longer an infix
operat...

09a60c746f4122b377a38392f41e8af971fb8443 authored about 8 years ago by Evan Czaplicki <[email protected]>
Whitespace upgrade + handle bools in patterns

bede6f3ceb34f202545d68b901db790ebb743854 authored about 8 years ago by Evan Czaplicki <[email protected]>
Whitespace upgrade + bug fix in Parse.Type

I figured the order of fields in record types didn’t matter, but it
does for creating record con...

b569401abbc00640b6211cdf5ffcc350a2412680 authored about 8 years ago by Evan Czaplicki <[email protected]>
Whitespace upgrade: simple changes

5670bd69614777fabb36c835e7026959336887ce authored about 8 years ago by Evan Czaplicki <[email protected]>
Change how whitespace is checked

Need to produce a column, that way indentation can be checked multiple
times. Needed when you ha...

26ec347027e6507af54337502fc8a5876e9ff96c authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix bug in parsing type applications

Accidentally reversed arguments twice!

ea2a61e1e22a1cb1903f727ead56fa4d8c4fbb0b authored about 8 years ago by Evan Czaplicki <[email protected]>
Convert Canonicalization phase from String to Text

e53128ce919db2bd755fbe6a6452284ff6ce52dc authored about 8 years ago by Evan Czaplicki <[email protected]>
Convert Validation phase from String to Text

99c8f4aad886e9629bf85fb401b0e4e4d272fc72 authored about 8 years ago by Evan Czaplicki <[email protected]>
Convert Strings to Text in all the AST files

5e065de73acda3eb88fa7ec9f251660666910021 authored about 8 years ago by Evan Czaplicki <[email protected]>
Convert program parser to new parsing system

1f0970f0c7a428fa1971a7b47f61c2faa8aac86b authored about 8 years ago by Evan Czaplicki <[email protected]>
Convert module parser to new parsing system

ff0b05b279b567e32c6e11f941cff8c0f654443c authored about 8 years ago by Evan Czaplicki <[email protected]>
Parse unit expressions

c2c350689a7800b36157614f4a1772bdd810e488 authored about 8 years ago by Evan Czaplicki <[email protected]>
Properly handle tuples and parens in type parser

b5670221683deaee7653fee4e221c6b364cf6627 authored about 8 years ago by Evan Czaplicki <[email protected]>
Make sure infixOp always eats characters

fcf5cef0cc1212bfd8f9144ae791e928e7e4c670 authored about 8 years ago by Evan Czaplicki <[email protected]>
Actually generate AST for tuple functions

e5093cd42ed3230fa20c54d44c3b52381026b8e8 authored about 8 years ago by Evan Czaplicki <[email protected]>
Add parser for numbers

Works on integers like 123, hex numbers like 0xfab, and floats like
6.022e23

adcea8681dcc0301b32e0d4bf67609e47571cdc2 authored about 8 years ago by Evan Czaplicki <[email protected]>
Get Parse.Declaration working

Switch AST.Declarations to Text and get docComments parsing.

f908dc87185b394f767b18c73211991207fe8612 authored about 8 years ago by Evan Czaplicki <[email protected]>
Remove dead code (Parse.Binop module)

This was rolled into Parse.Expression, where applications, infix ops,
negation, and field access...

4eb08a33f06a469b6ec99c8003fb81a5c6726dfb authored about 8 years ago by Evan Czaplicki <[email protected]>
Redo parsers for expressions, patterns, types, and literals

Benefits include:

- Almost no backtracking! Only eat whitespace once. The only
backtrack is f...

b4f1e8b8b64a1de9b07e13c487b4ec20191117ce authored about 8 years ago by Evan Czaplicki <[email protected]>
Switch all of the AST modules from String to Text

c0b4375304435d259ef9f208515ff9e02bf64bcc authored about 8 years ago by Evan Czaplicki <[email protected]>
Get rid of dependency on parsec

5ce2c7f5a26e5e03ecc0bd9a4d44bcf06982c715 authored about 8 years ago by Evan Czaplicki <[email protected]>
Create new parser that looks at text directly

This design should generate significantly less garbage.

- It looks directly at Word16 without...

9f6c60cec62a21f8eb205949f7a7115b60fd5832 authored about 8 years ago by Evan Czaplicki <[email protected]>
Use UNPACK pragma in Region.Position

41df71fd12f7f9cfa5a1031b93060195f7901475 authored about 8 years ago by Evan Czaplicki <[email protected]>
Make reserved words a set for faster check in var parser

55a203d215fa5cb005a2bd034dbf1e68d47fffde authored about 8 years ago by Evan Czaplicki <[email protected]>
Detect duplicate fields in type annotations and port declarations

36e79612eb96e54264122fa116e6e4931dc4201b authored about 8 years ago by Evan Czaplicki <[email protected]>
Detect duplicate fields in type and type alias declarations

Fix #1323

b7403d02266bb700d6aefac7c60cb3513700e17c authored about 8 years ago by Evan Czaplicki <[email protected]>
Better error messages for duplicate record fields

Also fix #1344 and detect duplicate fields in record update syntax

0d6c87f4806bde4ad3d221348c6d44daba9596d9 authored about 8 years ago by Evan Czaplicki <[email protected]>
Stop using `located` in `accessor` parser

d17d9fe37c4cf897ee321dc1ece956f61188b980 authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix #1236, do not allow (,,) in types

4affd70744bdb2a22bbef2b0e3f5d91cdd88e29e authored about 8 years ago by Evan Czaplicki <[email protected]>
Fix #1213, disallow whitespace in operator functions

98db71de6cab05fedb8e9f294e1e4353d5c2ee3e authored about 8 years ago by Evan Czaplicki <[email protected]>
Stop building whitespace strings

Just parse the whitespace and return () without concat or anything

3ef072036d42f0c2e9a0cb94da4ad1be7c3ae4ec authored about 8 years ago by Evan Czaplicki <[email protected]>
Figure out which patterns are missing in exhaustiveness check

Still need to do something special for infinite literals like ints and
strings

0c8da23100cbce3182b25e5b20d6edc794095f69 authored about 8 years ago by Evan Czaplicki <[email protected]>
Make error format a bit nicer for incomplete patterns

2a9c8d7dace20692583a5bbea2d45ae2b2b26a91 authored about 8 years ago by Evan Czaplicki <[email protected]>