on 63243ca help sign in
all commits
62bd720Make the char parser more restrictive to try to get better errors.Evan Czaplicki 61dd68bCosmetic: make some style changes to make it look more like the rest of the compilerEvan Czaplicki 6b255feFix multiline string handling and add more tests.Max New 5ea3ec7Call out to stringLiteral/charLiteral for string/char literal parsingMax New e3b8ea7Update basic parsers to use the new formats for Expr, Declaration, and PortEvan Czaplicki fcbd7fdImprove some parser code by adding type annotations, removing unused dependencies, and using prefixed importsEvan Czaplicki f8bf89bMake sure that all names in a program are safe for use in JS codeEvan Czaplicki e690c42Add deriving as a reserved wordEvan Czaplicki cbbd42dFix bug in parserTimothy Vladimír Hobbs 34913d5Fix issue #397. Core issue was that scanning for infix declarations was not clever about strings.Evan Czaplicki 6768b0eGet rid of dependency on `Text.Read.readMaybe` to resolve #382Evan Czaplicki 07187bdBetter error when bad backslashing is used in stringsEvan Czaplicki 90e0077introduce the `padded` function to use fewer `whitespace` markersEvan Czaplicki 5ad0ec5Parse documentation and infix declarations more safelyEvan Czaplicki 03cf56dcosmetic: make it simpler to get locations for parsesEvan Czaplicki fb64557Switch format of OpTables, and add iParse that takes a tableEvan Czaplicki 8a91345Add more helper functionsEvan Czaplicki 3a07298Get generation workingEvan Czaplicki 6ba2d70Revert 95ec3a8..1a093acEvan Czaplicki f1a8897Add iParse that takes a tableEvan Czaplicki 6d27c5eMove OpTable into IParser user stateEvan Czaplicki 40ea6dfMake sure that generated JS does not use JS's reserved words as variablesEvan Czaplicki 9ec51f5deprime on parsing, not on JS generationEvan Czaplicki d9918e0Convince parser to commit to lists, records, and tuplesEvan Czaplicki 61b5d8fNicer messages on specific parse failuresEvan Czaplicki 51ba512Parse qualified infix functionsEvan Czaplicki b26edccSimplify representation of source locationsEvan Czaplicki 6651525Only deprime when generating JavaScript, better to preserve informationEvan Czaplicki 1418bdeRemove use of SourceSyntax.Rename, which no longer existsEvan Czaplicki 1ffaad1Create an `isOp` function for strings.Evan Czaplicki 343dcf2Add support for unary negation with the '-' symbol. Makes the use of '-' whitespace sensitive, as in the unary negation proposal in elm-discuss.Evan Czaplicki 08ff939Be more flexible with the position of the closing bracket of a record type.Evan Czaplicki c7dce08Parameterized the AST for type annotations and variable types. Also rename Guid.hs to Unique.hs which reads a lot nicer.evancz 339ad77Begin getting the parser to match the new SourceSyntax modules.evancz