Evan Czaplicki
2cfb343e93
Move getDataFile function so that it is not exposed to the outside world
2014-02-13 09:31:19 +01:00
Evan Czaplicki
b2f3ff35dc
Begin using the new boundVarList function
2014-02-10 00:17:49 +01:00
Evan Czaplicki
50c2618d3a
Try to improve error messages in response to issue #479
2014-01-27 02:49:21 +01:00
Evan Czaplicki
b00a8cb9b5
Add check that all ports appear in the "main" module
...
It is unclear what it means if ports are used in sub-modules, so to be
cautious, we want to rule it out in the first release. As people use
the API it’ll become clear how sub-module ports are necessary and what
problems they might cause.
2014-01-20 15:10:40 +01:00
Evan Czaplicki
f5351438ee
cosmetic: get rid of a (>>) in favor of a do-block
2014-01-20 14:04:36 +01:00
Evan Czaplicki
fc154f91cf
Use Build.Print to show errors
2014-01-20 14:01:53 +01:00
Evan Czaplicki
6ba394c9cb
Get rid of experimental code for handling "deriving"
2014-01-20 01:09:50 +01:00
Evan Czaplicki
b9e627f78e
Merge in @maxsnew's fixes from #424
...
Tested on small file where I changed a dependency and on elm-lang.org
code.
2014-01-15 13:54:40 +01:00
Max New
0e40a32adc
Style fixes and -Walls for a couple files.
2014-01-13 09:21:39 -06:00
Evan Czaplicki
96f55fceab
Take ports out of MetadataModule, where it is no longer needed
2014-01-06 08:06:56 +01:00
Evan Czaplicki
3d7c8d2754
Add -W flag
2014-01-06 07:47:14 +01:00
Evan Czaplicki
c03049a960
Simplify Build.Interface API, do not read "interfaces.data" when the --no-prelude flag is used
2014-01-04 15:59:24 +01:00
Evan Czaplicki
170006534d
Rename InterfaceSerialization file and change the function names in it
2014-01-04 15:19:30 +01:00
Evan Czaplicki
c966776788
Add -W flag to many files, mostly getting rid of dead imports
2014-01-04 10:54:46 +01:00
Evan Czaplicki
9ff26223d8
Handle --no-prelude flag in the Metadata.Prelude module rather than distributed across many modules
...
Good in case the meaning of —no-prelude changes
2014-01-04 09:35:26 +01:00
Evan Czaplicki
33a95f4aa6
get rid of unused dependency
2014-01-04 08:00:56 +01:00
Evan Czaplicki
ed4be06a6a
Update to match new port and decl format
2014-01-02 23:44:42 -08:00
Evan Czaplicki
e8389ac78a
Update to match new Module type
2014-01-02 23:23:26 -08:00
Max New
cf9d21b0c8
Recompile modules when their dependencies have changed.
2013-12-30 16:09:41 -06:00
Max New
6511fc0e97
Refactor Build.File using monad transformers
2013-12-30 16:09:41 -06:00
Evan Czaplicki
740702c0d7
Begin switch from current FFI syntax to "port" syntax
2013-12-23 23:53:54 -08:00
Evan Czaplicki
83e8bad84f
Add basics of "deriving" for ADTs and type aliases. Only parse it for type aliases at the moment.
2013-12-23 16:51:15 -08:00
Evan Czaplicki
e119d8ef62
Get rid of SourceSyntax.Everything module
2013-12-22 15:18:16 -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
16e6654af8
Require minimal deps file when just building things locally
2013-12-16 14:41:05 -08:00
Evan Czaplicki
87bf14f268
Switch to using elm_dependencies.json to search for additional src-dirs
2013-12-16 03:03:52 -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
fe7e3195fa
Automatically look in elm_dependencies/ and use the latest version available
2013-12-15 01:37:51 -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
6cb3b30062
Start breaking the build process up into smaller modules
2013-12-14 21:46:15 -08:00