evancz
75987eb96d
Change .txt file to .md.
2012-06-19 03:00:13 -05:00
evancz
7a92181369
Add change log and js-runtime to elm/ folder.
2012-06-19 02:33:36 -05:00
evancz
f7bb66208f
Fix resizing bug in Dispatcher.js. Bump version number for elm-server.
2012-06-19 01:59:46 -05:00
evancz
58bb15d89e
Fix two bugs: (1) Reported text size was incorrect for headers. (2) The outermost div was not resized properly.
2012-06-15 03:23:42 -05:00
evancz
0bef882fb5
Add --separate-js and --only-js flags. Improve error messages for missing and conflicting modules.
2012-06-14 05:02:33 -05:00
evancz
00619e6d79
Get compiler working with multiple source files.
2012-06-14 03:43:04 -05:00
evancz
c9a6398cd8
Fix sizing bug in runtime system.
2012-06-12 05:44:45 -05:00
evancz
03c1dd8971
Update .cabal file.
2012-06-12 05:42:41 -05:00
evancz
11257f012e
Automatically import modules from .js.
2012-06-12 05:42:00 -05:00
evancz
267f77c9b3
Add basic module system and improve parser error messages.
2012-06-12 01:28:45 -05:00
evancz
ea9ac12286
Update elm-mini.js.
2012-06-11 08:35:16 -05:00
evancz
710484e2de
Add modules to parser. Do some minor restructuring of parser directory.
2012-06-11 08:11:15 -05:00
evancz
c786d53359
Move some modules to the Gen/ folder.
2012-06-11 07:36:48 -05:00
evancz
980c50bb4b
Add Keyboard.Raw, Data.Char, and Data.Maybe libraries.
2012-06-11 06:14:19 -05:00
evancz
9069fcaa92
Generalize equality. Equality is now derived for all values (in the spirit of OCaml). Also bump version numbers.
2012-06-10 07:58:11 -05:00
evancz
0735c6bdc6
Fix above
and below
to work properly with the new parser, and add a slightly better error message for runtime issues.
2012-06-10 04:13:00 -05:00
evancz
368b63c4f5
Stop parens
from escaping the Ast module.
2012-06-10 02:09:58 -05:00
evancz
001d620f3e
Provide a show instance for Patterns.
2012-06-10 01:48:40 -05:00
evancz
f710b07dfd
Allow pattern matching on ADTs that are not surrounded by parentheses.
2012-06-10 00:29:41 -05:00
evancz
6075cc8358
Allow for variable names with single quotes in them.
2012-06-10 00:09:45 -05:00
evancz
375003e9be
Enable assignment of ADTs. I.e. let (x,y) = pos in ...
or let (x:xs) = lst in ...
2012-06-10 00:08:55 -05:00
evancz
ad569150cb
Merge branch 'master' of https://github.com/evancz/Elm
2012-06-09 23:22:04 -05:00
evancz
6940dddd71
Rewrite parser. Provides much better error messages and pattern matching in anonymous functions.
2012-06-09 23:21:16 -05:00
evancz
e82cf70ea4
Merge branch 'master' of https://github.com/evancz/Elm into ParserRewrite
2012-06-09 23:13:59 -05:00
evancz
c131d882df
Merge branch 'master' of https://github.com/evancz/Elm
2012-06-09 23:11:03 -05:00
evancz
8aa49ebba4
Bump version number to depend on latest build of Elm.
2012-06-09 23:10:17 -05:00
evancz
d36cdba32a
Fix version number.
2012-06-09 23:06:02 -05:00
evancz
110944c454
Fix bugs in parser. Also adds pattern matching in anonymous functions. Still need to work on error messages though.
2012-06-09 23:05:16 -05:00
evancz
c6a5ef4a4d
Many bug fixes for new parser. Mainly dealing with spacing issues which cause botched parses.
2012-06-09 11:47:56 -05:00
evancz
42b364d623
Latest updates. Needs to be debugged.
2012-06-09 11:13:10 -05:00
evancz
d4c86ffe15
Adjust .cabal file for the new parser code.
2012-06-09 02:13:21 -05:00
evancz
8805c689f0
Total rewrite of the parser. Removes dependency on my custom parser combinators library, and as a result, produces much better error messages. Only partially complete right now.
2012-06-09 02:10:31 -05:00
Evan Czaplicki
47383497ca
Update master
2012-06-08 05:02:54 -05:00
evancz
64c880c45b
Bug fix / significant change in how updates are made. When a stateful signal was used in multiple places, it was updated multiple times. This change fixes that problem.
2012-06-08 00:54:22 -05:00
evancz
8c05cc18de
Remove console.log
test from fittedImage
function.
2012-06-07 16:40:21 -05:00
evancz
af0d82a94b
Fix spacing on a couple lines.
2012-06-07 16:35:16 -05:00
evancz
4c9c06e7e6
Add fittedImage :: Int -> Int -> String -> Element
which displays an image fitted to a particular set of dimensions. If the desired aspect ratio is different than the original, the image will be cropped and centered as necessary to fill the desired dimensions.
2012-06-07 16:34:48 -05:00
evancz
524b30bf58
Remove -Wall for now. Best to turn on for development, not so nice for end users.
2012-06-02 16:02:32 -05:00
Evan Czaplicki
c284e4fcd4
Merge pull request #20 from tazjin/master
...
* small documentation formatting fix
2012-06-02 14:01:37 -07:00
Vincent Ambo
696f8a9b02
* small documentation formatting fix
2012-06-02 23:00:24 +02:00
evancz
5dada7dfe0
Bump version number.
2012-06-02 15:53:43 -05:00
evancz
fa502cd620
Merge branch 'master' of https://github.com/evancz/Elm
2012-06-02 15:45:45 -05:00
evancz
b4d56e01f4
Fix compilation error. JS was being run through the Elm compiler.
2012-06-02 15:45:13 -05:00
Evan Czaplicki
ab43b1d2cc
Merge pull request #19 from tazjin/master
...
* fixed script position constraints
2012-06-02 13:25:20 -07:00
Vincent Ambo
09ac4efb59
* fix for script position
...
Added a second (private) function widgetBody which does not insert the
Dispatcher.initialize(); function.
This is a necessary change to allow the generated Javascript code to
reside in the body tag instead of the head tag.
2012-06-02 21:56:15 +02:00
Evan Czaplicki
2cfa28917a
Update README.md
2012-05-31 16:49:22 -05:00
Evan Czaplicki
e7734868d5
Update README.md
2012-05-31 16:39:48 -05:00
Evan Czaplicki
961e7151f9
Update README.md
2012-05-31 13:20:50 -05:00
Evan Czaplicki
8a7136abce
Add information on Elm + Haskell.
2012-05-31 13:18:14 -05:00
Vincent Ambo
38b4894045
* updated elm-yesod example for elm-yesod 0.1.2
2012-05-31 14:17:37 +02:00