Commits on Aug 16, 2017
  1. Merge pull request #1632 from BenBals/patch-1

    evancz committed Aug 16, 2017
    bump year in license
  2. bump year in license

    BenBals committed Aug 16, 2017
Commits on May 9, 2017
Commits on Apr 23, 2017
  1. Merge pull request #1586 from HeilTec/patch-1

    evancz committed Apr 23, 2017
    Minor grammatical fix
Commits on Apr 22, 2017
  1. Minor grammatical fix

    HeilTec committed Apr 22, 2017
    Trying to help making elm documentation even better.
Commits on Mar 10, 2017
Commits on Dec 22, 2016
Commits on Dec 19, 2016
  1. Update links in the README

    evancz committed Dec 19, 2016
  2. Show profiling results of {-# SCC elm_* #-} cost centers

    evancz committed Dec 19, 2016
    This is based on @justinmanley’s contribution that outlined how to
    profile the compiler in a nice way. This code was used extensively
    while rewriting the parser and exhaustiveness checker, making it really
    easy to focus on high-impact optimizations.
  3. Get rid of bench/

    evancz committed Dec 19, 2016
    It was out-dated and I’m hoping we can get a proper benchmarking
    library written in Elm at some point. I will also replace this
    directory with some code that helps profile the compiler itself. Seems
    like a better fit for this repo.
  4. Fix #1535, order of defs matters!

    evancz committed Dec 19, 2016
    In some cases, I skipped reversing things back to their original order.
    In this case, the original order was important!
    There is already a test for this, but I guess I got excited about the
    new parse error messages and forgot about this case.
    The NonHomogeneousRecords change now matches the previous version:
  5. Fix #1533, parsing upper case hex digits

    evancz committed Dec 19, 2016
    The check for upper case letters A-F had a comparison going the wrong
    way. Rewrote to make it more clear.
  6. Fix parser when . or - come right after a (

    evancz committed Dec 19, 2016
    Fix #1532 and fix #1536 by trying to parse normal expressions first.
    This way you commit to (.x) before trying (.). A special case was
    needed to try (-) before committing to (-2) so both cases will work.
    Also add tests for parsing record accessors and parsing negative
Commits on Dec 18, 2016
  1. Make (best students).name work again

    evancz committed Dec 18, 2016
    Just need to make it so a .field can follow a tuple term. The case we
    are interested in is tuples with no commas (a.k.a. not tuples) but I
    think the error message will be nicer if both scenarios pass the parser.
  2. Disallow @ in infix operators

    evancz committed Dec 18, 2016
Commits on Dec 17, 2016
  1. Correctly parse when .x is an argument

    evancz committed Dec 17, 2016
    Just check for arguments first. This should be more common, so it’s
    likely this is a bit faster.
Commits on Dec 16, 2016
  1. Fix bug in binop canonicalizer

    evancz committed Dec 16, 2016
  2. Fix bug in doc comment parser

    evancz committed Dec 16, 2016
  3. Get rid of EndOfFile parse theory

    evancz committed Dec 16, 2016
    It just cluttered up the error messages, making them more confusing
  4. Add locations to context stack, allowing nicer error messages

    evancz committed Dec 16, 2016
    The context stack now says where each bit of context starts. That means
    we can show all the relevant code when there is a parse error, not just
    the line where things went wrong.
  5. Improve code that extracts code from source in errors

    evancz committed Dec 16, 2016
    It now will add the red underline as long as it appears on the last
    line of the code snippet. So it’ll be the same for single line errors,
    but much nicer for parse errors where the code region spans multiple
    Also switch the public error functions to take a Text version of the
    source code.
Commits on Dec 15, 2016
Commits on Dec 14, 2016
  1. Get parse error messages working again

    evancz committed Dec 14, 2016
    The most important addition is the concept of a stack of “context” so
    the error message can say what the parser thinks it is doing.
    This commit also adds custom error messages for all the different
    scenarios that may come up.
Commits on Dec 12, 2016