Commit graph

  • c602071022 Cosmetic: use a qualified import to clarify uses of isTuple Evan Czaplicki 2014-01-14 16:27:28 +0100
  • 93321eca63 Fix issue with unparenthesized patterns in pretty printed lambdas pointed out by @JoeyEremondi in #446 Evan Czaplicki 2014-01-14 16:27:06 +0100
  • 6febb89fcd Fix pretty printing for tuples as discoered by @JoeyEremondi and/or @jmite in PR #446 Evan Czaplicki 2014-01-14 16:13:18 +0100
  • 1191c8a665 Add comments to explain the thought process and structure of the AST Evan Czaplicki 2014-01-14 16:02:23 +0100
  • beabf941e4 Rename "output" to "ports" and "input" to "signal" Evan Czaplicki 2014-01-14 14:05:35 +0100
  • 0fd74d4fad Give nicer error messages when user provides values for ports that do not exist Evan Czaplicki 2014-01-14 14:00:19 +0100
  • f619026fcc Handle function exports Evan Czaplicki 2014-01-14 13:58:33 +0100
  • bc6ac142ae Disallow signals-of-signals, functions that involve signals, and signals of functions Evan Czaplicki 2014-01-14 13:28:43 +0100
  • 461abc0c6f Correct check for outgoing higher order functions Evan Czaplicki 2014-01-14 12:49:22 +0100
  • 6c1d2d7bf3 cosmetic: generalize collectLambdas to make a list of types, move prettifying code to the Pretty instance Evan Czaplicki 2014-01-14 12:48:54 +0100
  • 36a5c1ddeb Handle signals properly, fix outgoing lists, improve errors for missing fields Evan Czaplicki 2014-01-14 12:32:33 +0100
  • 2f38eec8f8 Show nicer error messages when module initialization fails due to invalid port values Evan Czaplicki 2014-01-14 11:49:33 +0100
  • cbf0b60df8 Fix checks for node.js on stdout and stderr ports Evan Czaplicki 2014-01-14 11:48:58 +0100
  • 53389ffbf8 Make instanceof check safer, check if it's an object before using instance of Evan Czaplicki 2014-01-14 11:46:17 +0100
  • c9310cc4d5 cosmetic: simplify traversal of maybe Evan Czaplicki 2014-01-14 11:45:40 +0100
  • c616557618 added some guards. todo turn this into correct Gen. still one failcase John P Mayer Jr 2014-01-14 02:47:11 -0500
  • d92ac795c1 new instance for SS.Type John P Mayer Jr 2014-01-14 00:32:21 -0500
  • 1650aad829 Allow the title port to work on Strings and Signals of Strings Evan Czaplicki 2014-01-13 21:12:18 +0100
  • 32fbbca5b2 Generate conversion code for ports Evan Czaplicki 2014-01-13 19:32:54 +0100
  • 63243ca457 Minor changes to checks for ports Evan Czaplicki 2014-01-13 19:24:39 +0100
  • 329077f1ef Get rid of input handlers for now Evan Czaplicki 2014-01-13 19:24:17 +0100
  • 0e40a32adc Style fixes and -Walls for a couple files. Max New 2014-01-13 09:21:39 -0600
  • fe3b3439b7 Make port checks more permissive Evan Czaplicki 2014-01-13 13:52:18 +0100
  • e2aff93df9 Make the fix from #435 Evan Czaplicki 2014-01-13 11:00:53 +0100
  • 2a0a0e6e3c Simplify SourceSyntax.Type AST, making record extension more restrictive as discussed with @maxsnew Evan Czaplicki 2014-01-13 09:23:23 +0100
  • 9dda928ac4 make conversion functions for input ports optional Evan Czaplicki 2014-01-12 16:25:27 +0100
  • 828c2c7372 Give more reasonable names to incoming and outgoing ports Evan Czaplicki 2014-01-12 15:37:28 +0100
  • 9c816d3a7a Merge pull request #445 from maxsnew/dict Evan Czaplicki 2014-01-13 01:43:18 -0800
  • 8cadc4d92c Remove comment for things that no longer exist Evan Czaplicki 2014-01-12 13:06:50 +0100
  • efdea2f0b1 Fix Dict insert bug by using generalized balance function Max New 2014-01-08 11:19:36 -0600
  • 62bd720882 Make the char parser more restrictive to try to get better errors. Evan Czaplicki 2014-01-08 11:36:51 +0100
  • 61dd68bcd3 Cosmetic: make some style changes to make it look more like the rest of the compiler Evan Czaplicki 2014-01-08 11:18:13 +0100
  • aba241bf5b Merge pull request #443 from maxsnew/strchr Evan Czaplicki 2014-01-08 00:06:26 -0800
  • 6b255fed59 Fix multiline string handling and add more tests. Max New 2014-01-07 16:57:47 -0600
  • cca69cf8e7 Fix Char literal printing bug. Max New 2014-01-07 15:52:19 -0600
  • 5ea3ec7f80 Call out to stringLiteral/charLiteral for string/char literal parsing Max New 2014-01-07 15:44:12 -0600
  • ae3437196e Merge pull request #441 from ajhager/raf_detection Evan Czaplicki 2014-01-07 00:53:29 -0800
  • d1a85fee9b Fix window object not being detected in runtime. Joseph Hager 2014-01-06 15:05:10 -0500
  • 8bea3f073d cosmetic: make a block of code more whitespace friendly Evan Czaplicki 2014-01-06 08:07:24 +0100
  • 96f55fceab Take ports out of MetadataModule, where it is no longer needed Evan Czaplicki 2014-01-06 08:06:56 +0100
  • da033e3696 Filter out duplicate imports, generate code using new Native.Ports module Evan Czaplicki 2014-01-06 07:49:49 +0100
  • 85bf092192 Detect errors in port usage (i.e. too many or too few) Evan Czaplicki 2014-01-06 07:49:04 +0100
  • 7e2deceb9a Add Native.Ports to prelude for user defined modules Evan Czaplicki 2014-01-06 07:48:22 +0100
  • 3d7c8d2754 Add -W flag Evan Czaplicki 2014-01-06 07:47:14 +0100
  • d81941d9c0 Move JS code for ports to their own module Evan Czaplicki 2014-01-06 07:47:05 +0100
  • fd7707e649 cosmetic: use a slightly more descriptive names Evan Czaplicki 2014-01-06 05:21:26 +0100
  • 502cfc0465 Handle values sent to incoming ports, still need to properly define Elm.input though Evan Czaplicki 2014-01-05 13:47:01 +0100
  • a97b9951d0 Add checks for port types to ensure that only JS values go through ports and that type annotations are correct and consistent Evan Czaplicki 2014-01-05 10:41:40 +0100
  • dc3bba714c Capture the entire type of the handler for incoming ports Evan Czaplicki 2014-01-05 10:40:27 +0100
  • 5dd7b6b1bb Extend expression crawler to do checks on ports as well as on let expressions Evan Czaplicki 2014-01-05 10:15:37 +0100
  • 9ea98549bc Actually fill in a type variable when generating PortIn expressions Evan Czaplicki 2014-01-05 10:15:23 +0100
  • 3b9862ab4e Switch from Types to Variables in the representation of PortIn Evan Czaplicki 2014-01-05 09:29:00 +0100
  • 39eb4c6bc8 Use one fewer variable for PortIn constraints Evan Czaplicki 2014-01-05 07:54:16 +0100
  • 6eb84d82d7 Make error message prettier Evan Czaplicki 2014-01-04 16:46:38 +0100
  • 1eaa3043c8 define ports_out on the elm object Evan Czaplicki 2014-01-04 16:16:50 +0100
  • eed8fa1061 Add type annotations and make some -W recommendations Evan Czaplicki 2014-01-04 16:16:21 +0100
  • c03049a960 Simplify Build.Interface API, do not read "interfaces.data" when the --no-prelude flag is used Evan Czaplicki 2014-01-04 15:59:24 +0100
  • 170006534d Rename InterfaceSerialization file and change the function names in it Evan Czaplicki 2014-01-04 15:19:30 +0100
  • 7e64531d2e Switch from old FFI to new port interface for default output ports Evan Czaplicki 2014-01-04 11:41:06 +0100
  • 7cf5a564e5 Add Expressions for ports to check and validate types nicely Evan Czaplicki 2014-01-04 11:39:38 +0100
  • defb47db75 Get rid of warnings Evan Czaplicki 2014-01-04 11:34:09 +0100
  • c966776788 Add -W flag to many files, mostly getting rid of dead imports Evan Czaplicki 2014-01-04 10:54:46 +0100
  • 270dbf8722 Add -Wall to a bunch of SourceSyntax files and get them warning free Evan Czaplicki 2014-01-04 10:14:36 +0100
  • 863d31b38f Switch name of qualified import Evan Czaplicki 2014-01-04 09:45:20 +0100
  • 9ff26223d8 Handle --no-prelude flag in the Metadata.Prelude module rather than distributed across many modules Evan Czaplicki 2014-01-04 09:35:26 +0100
  • 9ccc707594 properly rename expressions in port declarations, add -Wall Evan Czaplicki 2014-01-04 08:20:52 +0100
  • 33a95f4aa6 get rid of unused dependency Evan Czaplicki 2014-01-04 08:00:56 +0100
  • 6a8db4c230 Get rid of dead dependencies and add -Wall for some files Evan Czaplicki 2014-01-03 12:33:56 +0100
  • ade03397df Fix another copy-paste error Evan Czaplicki 2014-01-03 12:15:49 +0100
  • bdeb36eb6f Fix port parser! Copy paste error on the operator. Evan Czaplicki 2014-01-03 12:12:43 +0100
  • a5f7944c2a Add the new Transform files Evan Czaplicki 2014-01-03 12:08:58 +0100
  • 6f75310a49 Get rid of redundant code that collapses ParseDefs Evan Czaplicki 2014-01-03 10:33:17 +0100
  • 06503fef33 Switch to using new Def representation, get rid of getPDefs function which used to collect annotations and definitions. Evan Czaplicki 2014-01-03 01:07:13 -0800
  • 5e3f94ce60 Update for new type of module (no t v) Evan Czaplicki 2014-01-02 23:53:30 -0800
  • 41dd0c8742 Update for new def and port formats Evan Czaplicki 2014-01-02 23:52:27 -0800
  • acce931530 Update for new def and ports format Evan Czaplicki 2014-01-02 23:50:49 -0800
  • c883b55255 Get rid of badOrder check, which is handled elsewhere. Update for new def and port formats Evan Czaplicki 2014-01-02 23:50:20 -0800
  • 3d780425fb Update for ports and defs, switch to using <$> and <*> a lot Evan Czaplicki 2014-01-02 23:48:42 -0800
  • c04c4385ff Update for new defs and ports format Evan Czaplicki 2014-01-02 23:46:37 -0800
  • 1a06be5992 Get rid of "t v" type variables, which are no longer needed Evan Czaplicki 2014-01-02 23:45:40 -0800
  • 7422c95f4c Update to match new names in SourceSyntax.Declaration Evan Czaplicki 2014-01-02 23:45:10 -0800
  • ed4be06a6a Update to match new port and decl format Evan Czaplicki 2014-01-02 23:44:42 -0800
  • 98f7be328b Make "combineAnnotations" a part of parsing a program Evan Czaplicki 2014-01-02 23:42:54 -0800
  • 49fc0b6378 Create way to crawl over all lets in a program, transforming defs and ports Evan Czaplicki 2014-01-02 23:39:34 -0800
  • 3af5c2a652 Switch to new format for Expr, Def, and Module Evan Czaplicki 2014-01-02 23:37:52 -0800
  • e8389ac78a Update to match new Module type Evan Czaplicki 2014-01-02 23:23:26 -0800
  • 3c65b5c69d Move boundVars function into SourceSyntax.Pattern Evan Czaplicki 2014-01-02 23:23:11 -0800
  • e3b8ea7d09 Update basic parsers to use the new formats for Expr, Declaration, and Port Evan Czaplicki 2014-01-02 23:20:25 -0800
  • bd4d76ecae Chenge representation of Expr, add ports representation Evan Czaplicki 2014-01-02 23:18:42 -0800
  • 600e65ca43 Get rid of Transform.Optimize, which is currently unused Evan Czaplicki 2014-01-02 23:13:37 -0800
  • 5c509f2f1e Make Binary serialization code nicer Evan Czaplicki 2014-01-02 17:42:27 -0800
  • 9d6f5377f8 Add basic Travis CI configuration Justin Leitgeb 2014-01-02 17:42:04 -0500
  • 662fd7669a Add JS as a possible Derivation, correct binary serialization, add error when serialization goes wrong. Evan Czaplicki 2014-01-02 13:38:41 -0800
  • 578dfb8358 Merge branch 'js-integration' into dev Evan Czaplicki 2014-01-02 12:29:08 -0800
  • 6dec2ae0fa Merge branch 'master' into dev Evan Czaplicki 2014-01-02 12:24:35 -0800
  • 60aaaf4d66 Try to clarify why the Hackage API exists. Evan Czaplicki 2013-12-30 15:57:42 -0800
  • 013f9d701e Bump version number of elm-server Evan Czaplicki 2013-12-30 15:50:25 -0800
  • 82714cb552 Merge pull request #427 from maxsnew/server-compat Evan Czaplicki 2013-12-30 15:35:44 -0800
  • 145d4b96c5 Update elm-server to work with new module structure Timothy Vladimír Hobbs 2013-12-27 20:30:07 +0100
  • cf9d21b0c8 Recompile modules when their dependencies have changed. Max New 2013-12-30 16:03:46 -0600