Commit graph

1878 commits

Author SHA1 Message Date
evancz
1501160bac Begin rewrite of rendering engine. 2012-08-31 01:42:33 -05:00
evancz
81d185e3c5 Fix parser for (:) in patterns. Had wrong associativity. 2012-08-25 16:13:45 -05:00
evancz
534dc73ed2 Fix slightly broken constraint generator. 2012-08-25 16:03:11 -05:00
evancz
d51542067a Make pattern matching significantly faster. Whoo! Bump to version 0.4. 2012-08-25 16:02:34 -05:00
evancz
cf011a0ba8 Update Pong source to match blog post. 2012-08-24 13:25:17 -05:00
evancz
5547fb1cfd Update version to fix bug in IE and FF! 2012-08-21 16:08:14 +02:00
evancz
53b2e70afa Make little cosmetic changes. 2012-08-21 15:24:30 +02:00
evancz
b5b87f25c0 Change how some text is centered. 2012-08-20 14:44:46 +02:00
evancz
a53dfdea46 Add scoreboard. 2012-08-18 16:33:38 +02:00
evancz
53c621bd72 Merge branch 'master' of https://github.com/evancz/Elm
Conflicts:
	Examples/elm-js/Pong/Pong.elm
2012-08-18 13:34:55 +02:00
evancz
595ed380e8 Add much better introduction. Part blog post, part game of Pong. 2012-08-18 13:28:01 +02:00
Evan Czaplicki
3f6843df9a Add the word 'overview' 2012-08-17 20:30:37 +03:00
evancz
ee2805a992 Moved comment to beginning to contextualize the program and emphasize design choices. 2012-08-17 19:26:22 +02:00
evancz
d0da29f2a0 Finish up comments for Pong. 2012-08-17 19:05:18 +02:00
evancz
a5b6d4e765 Add Pong project. 2012-08-17 16:38:41 +02:00
evancz
07ff34754a Fix optimization error. 2012-08-14 20:50:03 +02:00
evancz
29cd1355bd Latest js runtime system. 2012-08-14 20:40:50 +02:00
evancz
3584556ccd Insert spaces such that line breaks still happen. Fix string displaying in buttons. 2012-08-14 20:38:48 +02:00
evancz
c402dce192 More bug fixes for string escaping. 2012-08-14 15:07:04 +02:00
evancz
cc345bccf2 Add note about toText bug 2012-08-14 14:11:49 +02:00
evancz
b9380718ce Fix display bug in toText function. Strings were not escaped properly :/ Now they are! 2012-08-14 14:10:24 +02:00
evancz
cb9d2966c1 Turn noscript generation on by default. 2012-08-12 00:02:49 +02:00
evancz
bfe31c300a Depend on lib that actually exists. 2012-08-12 00:01:48 +02:00
evancz
83382f333c Update latest elm-runtime. 2012-08-11 12:48:00 +02:00
evancz
e5eb0a0f65 Update changelog.txt 2012-08-11 12:44:23 +02:00
evancz
9b659ddb35 Add error messages for errors due to untyped native functions. Hopefully untyped native functions can be eliminated soon! 2012-08-11 12:44:09 +02:00
evancz
8810898c08 Add some type hints and print out any assumptions that escape type checking. 2012-08-10 22:16:30 +02:00
evancz
028d2eca51 Fix bad behavior of [ lo .. hi ] syntax. Now [4..0] ==> [], not [0]. 2012-08-10 22:15:48 +02:00
evancz
dea401b9f8 Fix bug in concretize in which a fold uses the base for every step instead of accumulating the result (i.e. t becomes t'). One character mistakes are the worst! Let-polymorphism should be working for everything now! FINALLY! Mabye... 2012-08-09 18:18:38 +02:00
evancz
2f327b087a Correct bug with displaying characters. 2012-08-09 16:38:44 +02:00
evancz
9e90c58849 Change module names in Types/ to include Types prefix. Work on getting let-polymorphism correct. 2012-08-09 16:38:18 +02:00
evancz
46df5ff0ff Add new binops to parser. 2012-08-07 13:39:03 +02:00
evancz
75593c5df5 Change representation of Modules. Now all statements (definitions, datatypes, event imports, and event exports) are treated the same way. This caused lots of changes, but will ultimately improve type checking. 2012-08-02 01:37:37 +02:00
evancz
033fa66e5a Add type hints for move, scale, and rotate. 2012-07-31 15:36:26 +02:00
evancz
46cb69f5c6 Update runtime system, and update version number to 0.3.6. 2012-07-28 23:06:54 +02:00
evancz
76aab32ef6 Add some type hints for JSON library. 2012-07-28 22:59:51 +02:00
evancz
f39142db12 Add JSON library and make pretty printing for JSON work. 2012-07-28 22:59:31 +02:00
evancz
3b5dea98b4 Update changelog.txt to reflect new changes. 2012-07-28 20:46:36 +02:00
evancz
848f31c4b7 Add variable renaming for new Let representation. 2012-07-28 20:46:14 +02:00
evancz
45f834e0fc Add context to type constraints for better error messages. Fix big with generated constraints in which some constraints could be ignored. 2012-07-28 20:45:42 +02:00
evancz
8c422182e8 Add (^) binop and update comparison operators to use new comparison framework. 2012-07-28 20:44:34 +02:00
evancz
b5c941349f Add Comparable super-type, along with compare function. 2012-07-28 20:36:29 +02:00
evancz
b89d822de8 Add custom Show instance for Expr datatype. 2012-07-28 20:34:47 +02:00
evancz
b6806c5d48 Add JSON library. 2012-07-28 20:33:58 +02:00
evancz
39f00d8b6b Display JSON properly and add JSON.js to the big lib builder. 2012-07-28 20:33:00 +02:00
evancz
7d09fb6972 Fix display bug in latest Chrome build. 2012-07-28 20:32:31 +02:00
evancz
6c90abaf3d Add comparison functions and some (int <-> float) functions. 2012-07-28 20:31:57 +02:00
evancz
0a4010e7da Add the 'Appendable' super-type and add hints for new number functions. 2012-07-22 00:50:35 +01:00
evancz
79e465c9e0 Change representation of let-expressions to fix let-polymorphism. Better type inference for case-expressions (all cases must have same type). 2012-07-22 00:48:51 +01:00
evancz
e81bdc9b2d Fix two typos. 2012-07-19 12:26:35 +00:00