Commit graph

567 commits

Author SHA1 Message Date
evancz
d53cecf3ba List module dependencies in elm and js code.
Planning on having the compiler crawl through to determine dependencies, then compile everything in an appropriate order. This will also let me print out compiler progress in a reasonable order.
2013-02-23 00:19:40 +01:00
evancz
c710179a3a Add date lib and clean up some existing modules. 2013-02-22 00:33:53 +01:00
evancz
62d30f24b8 Update mouse code. 2013-02-21 23:43:32 +01:00
evancz
8d26a1d5cc Add and fix up the Keyboard inputs. 2013-02-21 09:40:41 +01:00
evancz
9c105aeb9b Switch to new ADT format 2013-02-20 23:39:00 +01:00
evancz
05c6e2da98 Begin using new data format for ADTs. Should be significantly faster while actually being nicer to read. 2013-02-20 23:38:14 +01:00
evancz
54ffaab4fa Begin migrating signals over to new module format and to use new ADT structure. 2013-02-20 23:36:16 +01:00
evancz
7b7b136002 Increase version number. 2013-02-10 14:01:15 -08:00
evancz
6b1285036e Switch to a much more performant representation for records. 2013-02-10 13:48:31 -08:00
evancz
cb609ea583 Get the color library in order. Remove the silly lifty functions from Automaton. 2013-02-10 03:58:40 -08:00
evancz
23860c9852 Reformat 2 lines. 2013-02-10 03:29:59 -08:00
evancz
e05e9c5aca Split the List library into Elm and JS code. Do profiling for many functions (map, foldr, filter, length, zipWith, scanl, last, take, reverse) and get some nice speedups. 2013-02-10 01:45:45 -08:00
evancz
784ada68a8 Add the native list code. 2013-02-09 20:40:23 -08:00
evancz
1f89dce93a Rename core-elm to core, beginning the transitions to a standard library written primarily in Elm. 2013-02-09 20:40:05 -08:00
evancz
04b521ab49 Add two type annotations. 2013-02-09 20:36:57 -08:00
evancz
5349b404f9 Merge branch 'master' of https://github.com/evancz/Elm 2013-02-09 13:02:59 -08:00
evancz
50ddf4cddc Make sure that variables generated during parsing are less likely to overlap. This is not a pretty fix, but it is better than the previous system. 2013-02-09 13:02:24 -08:00
Evan Czaplicki
ae2abc186e Merge pull request #95 from vbychkovsky/master
Fixed elm-happstack examples
2013-02-09 10:49:40 -08:00
evancz
6d8a50d326 Fix the type of Either, addressing copy-paste error. 2013-02-09 10:45:16 -08:00
evancz
dd9d219655 Begin upgrading the List library. It is not complete though. List.js should be the final authority on what is native and what is not. 2013-02-08 22:17:39 -08:00
Vladimir Bychkovsky
1c918a7053 Merge https://github.com/evancz/Elm 2013-02-08 13:22:53 -05:00
Vladimir Bychkovsky
d813e0589a serving elm-runtime locally (using a fixed path to avoid monads) 2013-02-08 13:19:14 -05:00
Vladimir Bychkovsky
c954a0fcd8 Updated strings to refer to Happstack instead of Yesod 2013-02-08 12:13:34 -05:00
Vladimir Bychkovsky
149e91eb2a Fixed splicing and removed "box" + minor other changes 2013-02-08 12:07:44 -05:00
evancz
43fd6c4326 Properly resolve cyclic dependencies. 2013-02-08 01:33:21 -08:00
evancz
a8850d62df Add type annotations to the Set library. 2013-02-07 20:23:25 -08:00
Vladimir Bychkovsky
13a38d97c3 minor fix to clock 2013-02-07 23:01:23 -05:00
Vladimir Bychkovsky
e0d565005a updated syntax in the mouse example 2013-02-07 22:18:44 -05:00
evancz
c02228fbd0 Merge branch 'master' of https://github.com/evancz/Elm 2013-02-07 10:55:39 -08:00
evancz
cdecb5bf30 Update the list of built-in modules. 2013-02-07 10:55:08 -08:00
evancz
4858cfa8d8 Fix a messed up type annotation in Dict.elm. 2013-02-07 10:54:47 -08:00
evancz
90304e69fc Add type annotations to Either. 2013-02-07 10:54:21 -08:00
Evan Czaplicki
6ce22a8ec6 Merge pull request #92 from vbychkovsky/master
Getting elm-happstack to work... [ still broken ]
2013-02-07 10:44:49 -08:00
Vladimir Bychkovsky
33831dba83 broken: only fixed some of the bugs 2013-02-07 10:35:14 -05:00
Vladimir Bychkovsky
cb4d4d9668 updated runtime URL, added a comment about vars 2013-02-07 10:25:47 -05:00
evancz
3c245ed612 Fix bug with code that ensures that type annotations are right above their corresponding definition. Due to a lack of parens, the check only worked with one type annotation. 2013-02-07 01:22:14 -08:00
evancz
ecc49cacea Split the alias code into its own file. Add checks for duplicate definitions, bad order of definitions, and type aliases without enough arguments 2013-02-07 00:17:23 -08:00
evancz
2bfe9ca059 Allow record extension in types. 2013-02-07 00:15:15 -08:00
evancz
67503cef7d Add dealiasing for Strings 2013-02-06 10:30:25 -08:00
evancz
b2a7bd1c6e Implement type aliases. 2013-02-06 03:04:55 -08:00
evancz
1848c9542b Allow type annotations for infix operators. 2013-02-05 22:27:12 -08:00
evancz
e0b7d2668e Add some type annotations to Automaton.elm 2013-02-05 22:26:52 -08:00
evancz
55b3d3910d Correct the associativity of (::) and ensure that JS is generated properly for (::). 2013-02-05 22:26:22 -08:00
evancz
6b2b19d217 Add type annotations to the Dict library to test functionality and speed of type annotations. Shows dramatic speed improvement! 2013-02-05 03:22:02 -08:00
evancz
7d50769c31 Make type annotations work properly. Refactor such that they speed up type checking dramatically. 2013-02-05 03:20:55 -08:00
evancz
0ec1cf3e10 Switch to the new cons (::) in parse library. 2013-02-05 03:19:35 -08:00
evancz
021a27cc39 Add support for type annotations. Remaining bugs include String is not de-aliased and uses of the cons operator have not yet been switched over to the new (::) syntax. 2013-02-04 02:56:22 -08:00
evancz
b4dba5ff91 Migrate type annotations to more JS files. 2013-02-03 20:13:08 -08:00
evancz
edb65fc865 Add WebSockets and function composition to the change log. 2013-02-03 02:43:45 -08:00
evancz
86f2e33949 Add support for using ∘ for function composition. 2013-02-03 02:40:36 -08:00