Commit graph

83 commits

Author SHA1 Message Date
Evan Czaplicki
5b7f442584 Bump version number 2013-12-29 13:41:39 -08:00
Evan Czaplicki
e119d8ef62 Get rid of SourceSyntax.Everything module 2013-12-22 15:18:16 -08:00
Evan Czaplicki
f8bf89b48d Make sure that all names in a program are safe for use in JS code 2013-12-22 15:00:29 -08:00
Evan Czaplicki
7b20993869 Get rid of dependency on uniplate so AST does not need to derive Data or Typeable
This is motivated by wanting to add things to the AST that cannot
derive Data or Typeable
2013-12-20 16:41:06 -08:00
Evan Czaplicki
26a8c82b6f Get rid of Build.Info file, move compiler version to Elm.Internal.Version and use Elm's version conventions 2013-12-17 11:36:05 -08:00
Evan Czaplicki
8a46ead147 Add dependencies field to Deps 2013-12-16 03:03:04 -08:00
Evan Czaplicki
3c1b9f7171 Adopt "model" code from elm-get so that dependencies can be crawled from the compiler. 2013-12-15 23:55:36 -08:00
Evan Czaplicki
dac51abc88 Finish refactoring code into Build/ directory, make some names more consistent and remove unneeded dependencies 2013-12-14 23:29:39 -08:00
Evan Czaplicki
983954fb19 Add -threaded and -O2 back to resolve build issue on some machines that default to using single threaded runtime 2013-12-13 11:15:37 -08:00
Evan Czaplicki
47c6cbc38f Merge branch 'master' into dev 2013-11-26 00:12:42 -06:00
Evan Czaplicki
9633af6723 Add Generate.Markdown to .cabal file, remove -O2 flag 2013-11-25 23:48:20 -06:00
Evan Czaplicki
b1bca38488 Get rid of either-unwrap dependency and use fewer non-total library functions 2013-11-04 13:26:05 +01:00
Evan Czaplicki
0ffd3e20dd Merge pull request #319 from johnpmayer/dev
language-ecmascript before v0.15 does not have the Pretty(prettyPring) c...
2013-11-04 02:31:50 -08:00
Justin Leitgeb
c845e586ed Give more helpful error messages when deserializing elmi files
Provides an error message indicating incorrect compiler version or corrupt file.
Exit status will be 1 in either failure case and error message is printed to
stderr. Uses the same checks against interfaces.data as well as standard .elmi
files since both are susceptible to breaking in the same way.

The following will be displayed when an elmi file has a different compiler
version than the elm compiler that tries to load it:

    justin ~/Code/elm-lang.org/public/examples/Intermediate $ ~/Code/elm/dist/build/elm/elm Pong.elm
    Found build artifacts created by a different Elm compiler version. Please rebuilt cache/Pong.elmi and try again.

The following will be displayed when a file that cannot be deserialized is
encountered:

    justin ~/Code/elm-lang.org/public/examples/Intermediate $ ~/Code/elm/dist/build/elm/elm Pong.elm
    Got an error, 'demandInput: not enough bytes' at offset 10303 of cache/Pong.elmi.

    This error may be due to an outdated or corrupt artifact from a previous build. Please rebuild cache/Pong.elmi and try again.
2013-11-03 20:35:10 -05:00
John P Mayer Jr
2ad4394eb1 language-ecmascript before v0.15 does not have the Pretty(prettyPring) class 2013-11-02 13:47:53 -04:00
Evan Czaplicki
5f82630ebc Add bounds on language-ecmascript 2013-10-26 22:12:48 +02:00
Evan Czaplicki
7435e310af Bump version number 2013-10-24 18:33:26 +02:00
Evan Czaplicki
56877c0892 Bump the version number to 0.10 2013-10-18 16:08:38 -04:00
Evan Czaplicki
66c288e4ba Remove minification from compiler.
Unix philosophy and all that.
2013-09-28 15:36:02 -04:00
Evan Czaplicki
ba7bd386ee It's 2013 everyone! 2013-09-13 12:09:10 -07:00
Evan Czaplicki
4ca3dbabdd Start generating documentation again. Does not work on all libraries yet, but should go through. 2013-09-10 18:47:03 -07:00
Evan Czaplicki
5b2c4f6fb8 Begin generating JSON representations of types. 2013-09-05 15:33:03 -07:00
Evan Czaplicki
ae5ef9db97 Add pretty printing and require a module declaration and structure comment 2013-09-05 10:48:37 -07:00
Evan Czaplicki
4f7bb237ca Begin building elm-doc again 2013-09-04 17:40:29 -07:00
Evan Czaplicki
2a5a33712a Get rid of Unique and add language-ecmascript 2013-08-31 13:12:52 -07:00
Evan Czaplicki
e6be50ecc0 Add the Type.Alias file to do realiasing when printing types 2013-08-21 19:07:03 -07:00
Evan Czaplicki
4da7588d10 Add the ExtraChecks module to do occurs check and check the type of main 2013-08-19 16:54:46 -07:00
Evan Czaplicki
2dc78fc904 Clean up after testing 2013-08-16 03:26:51 -07:00
Evan Czaplicki
efd42c386b Bare minimum framework for testing 2013-08-14 17:41:02 -07:00
Evan Czaplicki
a46432f30a Make the Main module runable 2013-08-13 18:38:01 -07:00
Evan Czaplicki
1e0294eea4 Move to 0.9.0.2 2013-08-10 14:21:34 -07:00
Evan Czaplicki
e81e0c4424 move the home of the data files out of dist/ (cabal complained) 2013-08-09 23:20:22 -07:00
Evan Czaplicki
5e6481ccfd Bump to 0.9 2013-08-09 00:57:57 -07:00
Evan Czaplicki
0e89c32b8e Compile threaded with O2 2013-08-02 22:21:06 -07:00
Evan Czaplicki
6aa9fc07a2 Trim unused dependencies 2013-08-02 17:41:18 -07:00
Evan Czaplicki
8000b8b4b9 Stop exposing the QuasiQuoting library.
I have not looked at this code in many versions, so I don't think it's
good for me to keep "maintaining" it even though I don't think people
should really use this.
2013-08-02 17:37:30 -07:00
Evan Czaplicki
4eed8e424b Fix the .cabal file, include many new files 2013-07-31 12:12:06 -07:00
Evan Czaplicki
2c96bf0c33 Get the haskell library working 2013-07-31 09:31:48 -07:00
Evan Czaplicki
5c81d14efe Update dependencies and comment out things that slow the build and are unnecessary for testing 2013-07-29 12:00:30 +02:00
Evan Czaplicki
22f7f8a43a Create a serializable interface for a module's type information
Also add a flag to print out top-level types
2013-07-21 06:08:08 +02:00
Evan Czaplicki
640f98e7d5 Rename functions and modules 2013-07-16 21:38:20 +02:00
Evan Czaplicki
e7b949df9b Begin adding testing framework to .cabal file. 2013-07-14 19:51:52 +02:00
Evan Czaplicki
cb914d91ff Get all of the Haskell files compiling with the new type checker.
Does not actually work, undefined is used in some places as a
stopgap measure.
2013-07-11 12:48:37 +02:00
Evan Czaplicki
ca77056fc9 Improve quality of error messages. 2013-07-11 00:31:56 +02:00
Evan Czaplicki
d3bd238663 Add dependency on ansi-terminal for colorful results. 2013-07-10 14:33:54 +02:00
Evan Czaplicki
d91419d4f5 Add missing dependencies to Elm.cabal. 2013-06-27 18:53:47 +02:00
Evan Czaplicki
88e8f8102a Add Parse.Literal to the Elm.cabal file 2013-06-24 06:13:43 +02:00
evancz
35981eb42f Finish parameterizing the AST and properly check errors in let expressions. 2013-06-14 19:23:58 -07:00
evancz
5e7be20d6d add filepath to docs dependencies 2013-06-13 23:02:05 -07:00
evancz
d7dcf5a9e8 Get the whole compiler building again. 2013-06-13 22:59:14 -07:00