Commit graph

1839 commits

Author SHA1 Message Date
Justin Leitgeb
9d6f5377f8 Add basic Travis CI configuration
I added a basic Travis CI configuration to make the build status more
transparent. I added a small logo to the bottom of the README with the
status and a link to the build.

@evancz after merging this you'd have to go to https://travis-ci.org
and enable the build for this project, just takes a couple of clicks.
See http://about.travis-ci.org/docs/user/getting-started/.

I tested this on my own github account and the configuration worked
(ie, it showed the same build errors on Travis that I'm experiencing
locally).
2014-01-02 18:10:11 -05:00
Evan Czaplicki
b0a856eb5f Merge pull request #421 from maxsnew/test
Test Re-org and Start Property Testing
2013-12-30 00:27:50 -08:00
Max New
dcac0e0d5c Style tweaks and use cross-platform file name construction. 2013-12-30 02:19:02 -06:00
Max New
37f5d9e1ea Make parse/print test more stringent, tweak Float gen. 2013-12-29 22:11:19 -06:00
Max New
d003062586 Pattern pretty printer prints syntactically correct code.
Include auto-generated test case that was previously broken.
2013-12-29 20:46:20 -06:00
Max New
24751a3d85 Add parse/print tests for Patterns. 2013-12-29 20:18:45 -06:00
Max New
2da9009512 Setup QuickCheck and add Literal Parse/Print test
Currently fails the prop tests: https://github.com/evancz/Elm/issues/420

Also ignore emacs backup files.
2013-12-29 16:50:41 -06:00
Evan Czaplicki
e34245ae3a Cosmetic: add a space 2013-12-29 13:22:54 -08:00
Max New
1408d928d5 Re-org tests 2013-12-29 15:17:49 -06:00
Max New
840eca6573 Migrate tests to test-framework and make them more specific.
Use test-framework as it's more widely used/has better support for
HUnit/QuickCheck.

Make test cases test the `compile` function explicitly instead of the
elm executable as that's all they're actually intended to test.
2013-12-29 13:44:25 -06:00
Evan Czaplicki
f26610b718 Properly handle pattern matching on non-tuple ADTs in let-expressions, esolving issue #417 2013-12-27 16:14:21 -08:00
Evan Czaplicki
a5b486c56d Use the github sanctioned name for this file, based on new facts from @devth 2013-12-24 10:27:45 -08:00
Evan Czaplicki
4e23dc6a08 Mess with documentation for empty 2013-12-24 10:16:17 -08:00
Evan Czaplicki
6db931849d Merge pull request #404 from maxsnew/empty
Add empty element
2013-12-24 10:11:26 -08:00
Evan Czaplicki
51ee065e6b Cosmetic: give function a more descriptive name 2013-12-23 17:02:47 -08:00
Evan Czaplicki
230c695231 Merge pull request #412 from maxsnew/otherwise
Expand `else` to `True` instead of `otherwise`.
2013-12-23 17:00:58 -08:00
Max New
647cf279a1 Optimize True branch in multi-way if code generation. 2013-12-23 18:57:23 -06:00
Max New
254d71f4e5 Expand else to True instead of otherwise.
Makes `if` syntax independent of the value of `otherwise`.
Includes test case.
2013-12-23 18:31:55 -06:00
Evan Czaplicki
e119d8ef62 Get rid of SourceSyntax.Everything module 2013-12-22 15:18:16 -08:00
Evan Czaplicki
f8bf89b48d Make sure that all names in a program are safe for use in JS code 2013-12-22 15:00:29 -08:00
Evan Czaplicki
e690c427b7 Add deriving as a reserved word 2013-12-21 23:55:33 -08:00
Evan Czaplicki
7def8158c1 Merge pull request #408 from timthelion/parserQuoteFix
Fix bug in parser
2013-12-21 22:37:43 -08:00
Evan Czaplicki
384f86faa1 Add note about how to request features to the main repo 2013-12-21 14:48:53 -08:00
Timothy Vladimír Hobbs
cbbd42d3f3 Fix bug in parser
34913d5 broke the parser in the following case:

f = '\"'

This commit fixes that.
2013-12-21 23:21:10 +01:00
Max New
6992d941c7 Add empty element 2013-12-20 23:35:36 -06:00
Evan Czaplicki
7b20993869 Get rid of dependency on uniplate so AST does not need to derive Data or Typeable
This is motivated by wanting to add things to the AST that cannot
derive Data or Typeable
2013-12-20 16:41:06 -08:00
Evan Czaplicki
39769b77af Merge pull request #399 from mgold/char-compare
Fix Char comparisons
2013-12-19 18:53:07 -08:00
Max Goldstein
460fe0d3a4 Further optimizations 2013-12-19 21:47:16 -05:00
Max Goldstein
c6fbc8df24 Use instanceof for performance 2013-12-19 19:55:41 -05:00
Evan Czaplicki
3686c82738 Add note about no sharing between top-level and let-bound type variables 2013-12-19 15:04:41 -08:00
Evan Czaplicki
2874797ddb Go to original error style. I think it's nicer. 2013-12-19 14:45:52 -08:00
Evan Czaplicki
c8854a9935 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-12-19 11:44:59 -08:00
Evan Czaplicki
34913d5340 Fix issue #397. Core issue was that scanning for infix declarations was not clever about strings. 2013-12-19 10:41:31 -08:00
Evan Czaplicki
5071f0f8d6 Merge pull request #393 from maxsnew/dict
Add efficient update function for Dict
2013-12-19 10:09:57 -08:00
Max New
33b39a30db Implement more general Dict update. 2013-12-19 04:16:00 -06:00
Evan Czaplicki
ac6c5bc04a Get rid of check on how many exposed modules. That's for validation elsewhere 2013-12-19 01:48:26 -08:00
Evan Czaplicki
ab53fac3c4 Add note about how to interpret JS functions 2013-12-18 23:35:14 -08:00
Max New
bb3d0dc566 Add efficient update function for Dict 2013-12-18 22:02:02 -06:00
Max Goldstein
fac00f66c4 Fix Char comparisons
Fixes evancz/Elm#392
2013-12-18 21:39:46 -05:00
Evan Czaplicki
32e7d1da03 Get rid of dead code in Prelude. Need to figure out how to kill prelude entirely. 2013-12-18 12:53:11 -08:00
Evan Czaplicki
5aedf723ec Take Automaton out of standard libraries for now 2013-12-18 12:52:47 -08:00
Evan Czaplicki
16aef1ea0c Switch away from using Text.Blaze.Html.Renderer.Utf8 because it scrambles some things. 2013-12-17 17:43:06 -08:00
Evan Czaplicki
82d3d88d01 Get syntax highlighting on code blocks working again. 2013-12-17 16:19:42 -08:00
Evan Czaplicki
37afd0d6a5 Merge pull request #391 from ivanov/typos
Typos
2013-12-17 15:47:32 -08:00
Paul Ivanov
b77fd96d68 fix typos in Graphics 2013-12-17 15:44:58 -08:00
Paul Ivanov
bb851314ab more typos 2013-12-17 15:44:45 -08:00
Paul Ivanov
70e861818d fix typo in docs 2013-12-17 15:40:31 -08:00
Evan Czaplicki
123fb9440d Improve documentation for the new libraries 2013-12-17 15:20:39 -08:00
Evan Czaplicki
68d41ba1bc create file for uploading standard library to library.elm-lang.org 2013-12-17 13:59:38 -08:00
Evan Czaplicki
f1f5744f5b Add note about short-circuiting with (&&) and (||) 2013-12-17 13:59:19 -08:00