Commit graph

640 commits

Author SHA1 Message Date
evancz
6ac414c79e Make changes to get Dict and Set working as expected.
Add a note to elm-server indicating that you don't need to restart to recompile code.
2012-12-12 22:52:32 -08:00
evancz
3afe1fb86d Add Elm. to List 2012-12-11 23:44:43 -08:00
evancz
60ff703372 Try again to fix bug with readInt and readFloat 2012-12-11 01:18:27 -08:00
evancz
0059d82d30 Fix minor bug and bump the version number. 2012-12-10 21:48:25 -08:00
evancz
64e88fd24b Add Game Skeleton for easy game making. 2012-12-08 13:08:47 -08:00
evancz
13e7203393 Fix up helpers in Pong/ 2012-12-08 13:01:58 -08:00
evancz
28c3a711ed New version of Pong. Update version numbers. 2012-12-08 12:53:16 -08:00
evancz
5dcb6f7c31 Add type hints for timestamp and timeOf 2012-12-03 22:23:32 -08:00
evancz
73f7d7cc9b Properly escape strings. 2012-12-03 22:21:22 -08:00
evancz
79d9d4c509 Add timestamp and timeOf functions to Signal library. 2012-12-03 22:21:00 -08:00
evancz
02cbb61c1c Update the RTS. 2012-12-01 21:18:46 -08:00
evancz
d15e08075b Update the Dict library to test new parser and type checker. 2012-12-01 21:18:25 -08:00
evancz
b9d26eeead Make the Time type more flexible. 2012-12-01 21:12:51 -08:00
evancz
5c06a73c74 Make fpsWhen slightly more accurate. Change part of the API to be more flexible. 2012-12-01 20:48:46 -08:00
evancz
08e3c514e0 Export average and Time library in prelude. 2012-12-01 20:47:30 -08:00
evancz
fbabe4b94f Remove Date.every and change weekday into dayOfWeek. 2012-12-01 20:46:41 -08:00
evancz
8d7df3d08d Add average function and ensure that delay does not propagate the default value. 2012-12-01 20:45:48 -08:00
evancz
b16714eb6b Add type hints for new Time and Date libraries. 2012-12-01 20:43:37 -08:00
evancz
e2457830c7 Fix up some code. 2012-12-01 20:42:28 -08:00
evancz
06e5a22179 Make the order of definitions more flexible. Also, ensure that unicode characters work in strings. 2012-12-01 20:42:09 -08:00
evancz
69ed3476b1 Remove upper bound on pandoc. 2012-12-01 20:39:57 -08:00
evancz
95364f3758 Refactor lots of code in the type-checker. Also includes some efficiency improvements to make unification a bit faster. 2012-11-28 22:16:08 -08:00
evancz
abe4d52e80 Get Pong back to working with 0.5.0.2. 2012-11-26 13:29:10 -08:00
evancz
87eaa915c8 Fix the middleAt function. 2012-11-25 14:19:14 -08:00
evancz
fb3acd701a Do some house keeping in the Compiler.hs file. Start using the System.FilePath module which cleaned up some code and is probably significantly safer :) 2012-11-25 14:08:10 -08:00
Evan Czaplicki
0d03de7f5f Merge pull request #49 from mcveat/compiler-output-directory
Compiler output directory
2012-11-25 13:49:30 -08:00
Piotr Adamski
c75a02917b fixed indentation 2012-11-25 21:37:24 +01:00
Piotr Adamski
34a96713d4 compiler has an option to specify output directory for html/js files 2012-11-25 21:28:02 +01:00
evancz
7b1a2f446d Add zip and zipWith to Prelude. Fix an oversight in the constraint generator. Upload the elm runtime system. 2012-11-25 11:39:55 -08:00
evancz
77912ae46b Clean up Pong, now uses Time.fps and some of the recent syntax upgrades. 2012-11-24 20:50:33 -08:00
evancz
2eeac2fd0f Add guarded definitions. Add whitespace sensitivity for let- and case-expressions. 2012-11-24 20:49:56 -08:00
evancz
69ffd8e430 Get rid of a bunch of old runtime systems. 2012-11-24 20:48:38 -08:00
evancz
9e0c80b861 Bump version number. 2012-11-24 13:01:10 -08:00
evancz
66720b5dd2 Bump version number of Elm.
Exclude a couple more operators from being user defined.
2012-11-24 13:00:56 -08:00
evancz
b4d563dff8 Fix bugs in import statements. Make sure JS imports work with any JS-minifier. 2012-11-24 13:00:00 -08:00
evancz
d4012e466a Add a way to construct HSV colors with hsv and hsva. Also add a now function to Date. 2012-11-22 20:32:32 -08:00
evancz
b9ae74b9e5 Start using custom infix definitions. 2012-11-22 20:31:55 -08:00
evancz
ff7f9cc1f5 Rename the module Types to Types.Types. This allows the .cabal file to list fewer source directories. Perhaps this will allow the use of GHCi 2012-11-22 20:30:37 -08:00
evancz
4088c64b79 Rename module PTypes to Types. 2012-11-22 20:24:20 -08:00
evancz
4e97c4f0e9 Finish renaming Parse files. 2012-11-22 20:21:23 -08:00
evancz
c25d9796c1 Fix names within modules to match renaming of files. 2012-11-22 20:15:59 -08:00
evancz
a94a87744a Rename Parser files. 2012-11-22 20:13:03 -08:00
evancz
1ad6801328 Add the ability to define custom infix operators. 2012-11-22 19:48:54 -08:00
evancz
2c7fed1f2b Ensure that standard JS objects Date and JSON do not get shadowed by the Elm libraries of the same name. 2012-11-21 18:47:26 -08:00
evancz
d2d456acd4 Get namespacing right in generated JS. All Elm libraries are now contained in the Elm object, no more libraries leaking out to pollute the global namespace. 2012-11-21 18:46:11 -08:00
evancz
15e46640ad Make sure Prelude gets imported properly. 2012-11-21 18:43:22 -08:00
evancz
b2240f94e4 Fix bug in how Dictionaries and Sets are converted to strings. 2012-11-21 00:03:52 -08:00
evancz
0ac5bbba7e Add Date to RTS. 2012-11-20 23:18:52 -08:00
evancz
e85f31fda5 New way to import that does not clutter global namespace. Switch uses of Nothing and Just to simpler expressions.
Fix IE9 bug due to `console.log`.
2012-11-20 23:18:32 -08:00
evancz
354c2efe43 Get rid of more closure compiler errors. 2012-11-14 00:30:06 -08:00