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
evancz
721ce4f192
Continue reorganizing the code-base.
...
Remove uses of uniplate, introduces a regression in testing the ordering of Defs in let-expressions.
2013-06-13 22:45:08 -07:00
evancz
6fc30322ce
Print out a bunch of extra information about type checking.
2013-06-09 11:15:03 -07:00
evancz
6e56df59a5
Switch to only generating elmo files. Turn off the CPP flags in .cabal and remove all generated JS files on each build for now.
2013-06-07 09:38:29 -07:00
Andrew Miller
6a34482849
Add support for type annotations in let
2013-06-03 19:44:45 +12:00
evancz
6b28feaa2b
Switch name of Context to Located. Whoo static types :)
2013-05-29 16:20:38 -07:00
evancz
22042e2967
Fix issue 162: Let expressions would re-order its members such that functions always came after values. This meant that you could not use the functions to define any values within a let.
2013-05-28 07:06:14 -07:00
evancz
e4ea0513ac
Bump version number and remove unused dependencies.
2013-05-24 11:34:09 +02:00
evancz
868e71e58b
Add JSObject to the FFI parser.
2013-05-22 15:59:47 +02:00
evancz
abe95cc90e
Go with changes from the dev branch.
2013-05-22 00:32:22 +02:00
evancz
af75972665
Merge branch 'dev'
...
Conflicts:
Elm.cabal
Examples/elm-js/GameSkeleton/GameSkeleton.elm
Examples/elm-js/Pong/Pong.elm
core-js/Signal/Input.js
2013-05-22 00:26:23 +02:00
evancz
5f1e3bd696
Switch back to putting let and case expressions in closures.
...
In the former case it is actually necessary, in the latter, it partially fixes a mysterious bug with Dict.diff.
Also stop using the LetBoundVars module.
2013-05-21 22:28:18 +02:00