Commit Graph
66 Commits
Author SHA1 Message Date
José Valim 7c4e7fe077 Allow nested access 2012-08-08 09:23:43 -03:00
José Valim e28d19d031 Optimize protocols, improve documentation signature 2012-08-07 19:34:31 -03:00
José Valim 1f2b9d3c14 Merge pull request #428 from thomasc/fix/allow-empty-except-in-import
Allow empty except option in import statements
2012-08-07 10:08:00 -07:00
José Valim cc58c24d76 Compile Range before Binary 2012-08-07 14:01:37 -03:00
thomasc 3658693588 Allow empty except option in import statements 2012-08-07 09:32:26 +02:00
José Valim c2746101ab Expand @attributes in Macro.expand if possible 2012-08-04 13:02:19 -03:00
José Valim 3ad0abfc67 Better error messages when invalid options are given to import, alias or require 2012-08-02 10:28:15 +02:00
José Valim 70b977a897 Validates import, alias and require opts 2012-08-02 09:58:19 +02:00
José Valim 55027e3ac3 Update version, remove deprecated APIs 2012-08-01 13:23:35 +02:00
José Valim 6d62e473aa Fix build, do not match on line 2012-07-30 23:30:10 +02:00
José Valim 188a7b23cc Accept tuples in bin specifiers 2012-07-30 23:05:03 +02:00
José Valim 1539de9d9a Support ! inside guards, closes #401 2012-07-28 14:18:14 +02:00
José Valim 1508222d85 Properly expand aliases 2012-07-26 22:28:42 +02:00
José Valim fb255e4f82 Ensure IEx.Helpers is loaded before getting funs 2012-07-26 22:28:42 +02:00
José Valim 30e86ccf07 Optimize if/cond clauses when possible, rely more on erl warnings 2012-07-26 11:21:06 +02:00
José Valim 1cd5613ac6 Optimize if and cond to avoid casting to boolean 2012-07-26 09:50:31 +02:00
José Valim 5f888b71ca No need to special case def clauses anymore 2012-07-26 09:28:26 +02:00
José Valim 895b50afb9 Small improvements to elixir_def 2012-07-25 08:58:55 +02:00
José Valim 523127cde8 Improve more exceptions for unmatched tokens 2012-07-24 13:29:53 +02:00
José Valim 152c784a07 Add binary_part to the list of guard functions 2012-07-24 13:04:33 +02:00
José Valim 15defaab04 Show a warning instead of exception on module redefinition, closes #396 2012-07-23 18:21:12 +02:00
José Valim 576492ae48 Add Code.ensure_compiled 2012-07-23 09:51:15 +02:00
José Valim 4e83a15dee Cosmetic changes 2012-07-22 13:20:09 +02:00
José Valim 117d09509c Rename __MAIN__ to Elixir, closes #390 2012-07-22 12:49:36 +02:00
José Valim 7d1ef13f17 Rename Elixir.Builtin to Kernel, according to #390 2012-07-22 11:23:35 +02:00
José Valim 6a7602d974 Avoid nil conversion if expression is known to return a boolean 2012-07-22 10:30:16 +02:00
José Valim 1077e64126 Deprecate Module.function_defined? in favor of Module.defines? 2012-07-21 23:32:16 +02:00
José Valim 61a27d1be6 Remove the need for special <& &> tags, closes #393 2012-07-21 18:40:57 +02:00
José Valim d35d0f41c8 Clean up fn implementation 2012-07-21 13:40:02 +02:00
José Valim 661ef4377b Properly wrap fn/do end in tokenizer 2012-07-21 13:30:18 +02:00
José Valim 4d715a3a41 Improve coverage and implementaiton of function 2012-07-21 12:41:29 +02:00
José Valim 175e90d6af Initial work on removing fn ambiguity 2012-07-21 12:31:03 +02:00
José Valim af167fbd11 Revert "Use more explicit naming in module functions"
This reverts commit 390f194b24.
2012-07-21 10:27:19 +02:00
José Valim 94d5c92d34 Support backreferences in regex 2012-07-20 21:05:35 +02:00
José Valim efd161d145 Add File.iterator 2012-07-20 20:23:28 +02:00
José Valim 9a6d15af53 Warn when unsupported macro is invoked inside guards 2012-07-20 17:53:34 +02:00
José Valim 42c1915ad3 Improve error message when calling local inside guards 2012-07-20 16:09:43 +02:00
José Valim 49501ef59e Improve error messages with terminators 2012-07-20 13:04:33 +02:00
José Valim f6d869cb96 Support terminators in tokenizer 2012-07-20 12:07:45 +02:00
José Valim 90650b334e Improve error messages for unterminated strings, sigils and heredocs 2012-07-20 11:38:49 +02:00
José Valim d984f4b545 Typespecs now support macros, closes #385 2012-07-20 10:29:55 +02:00
José Valim 390f194b24 Use more explicit naming in module functions 2012-07-20 09:31:25 +02:00
José Valim ea1b07e81e Do not automatically forward tasks, move some logic to Mix.SCM 2012-07-19 18:18:12 +02:00
José Valim 9c4c9e8bb0 Ensure there is no ambiguity in tuples 2012-07-18 20:57:07 +02:00
José Valim 4b960a2114 Add compile meta task, move logic to compile.elixir 2012-07-18 10:20:28 +02:00
José Valim fea9455eb7 Add self() back since it is allowed in guard clauses 2012-07-17 13:49:34 +02:00
José Valim 6c5b3134af Add function_exported?, improve warnings for behaviors 2012-07-16 15:29:29 +02:00
José Valim dca16fe966 Allow macros to be used in rescue clauses 2012-07-16 15:29:29 +02:00
José Valim c186bb19df Add d to print docs in IEx console, compile by default with docs 2012-07-16 15:29:29 +02:00
José Valim af6c593898 Refactor previous commit by moving the fix to cons_to_list 2012-07-13 08:50:55 +02:00