Commit Graph
84 Commits
Author SHA1 Message Date
José Valim cb78831b4e Properly expand access on module attributes 2012-08-27 15:54:43 -03:00
José Valim 7d92b1b8e6 Give apps back in the proper order 2012-08-27 15:40:01 -03:00
José Valim e0d585b1d2 Improvements to the access protocol
* Allow @config[:access] to expand to (@config)[:access]

* Allow nil[:access] to work as expected
2012-08-24 13:03:02 -03:00
José Valim 2a94699d79 Allow files to be unloaded 2012-08-21 10:37:31 -03:00
José Valim cd6aedc8f2 Code.require_file blocks until file is available 2012-08-20 18:14:41 -03:00
José Valim 74a8cc8c90 compile callbacks must be executed on reverse order 2012-08-17 19:16:07 -03:00
José Valim 4df5019b7e Fix build for bootstraping 2012-08-17 16:22:34 -03:00
José Valim 24bc3668a6 Add Enum.count, allow behaviour to define default functions 2012-08-17 16:08:38 -03:00
José Valim 9aa32423b0 Provide some behaviour conveniences 2012-08-17 15:49:00 -03:00
José Valim bc4918ee0d Ensure quoted variables are properly carried in clauses 2012-08-17 11:11:04 -03:00
José Valim bd09818898 Ensure hygiene works with temp vars 2012-08-17 10:48:48 -03:00
José Valim 6abdea44db Use orddicts to store vars, since we rarely have more than 20 vars 2012-08-17 09:32:18 -03:00
José Valim 4dc1431179 Matching ^ inside quotes should work as expected 2012-08-17 08:50:17 -03:00
José Valim 705aa84c5a Fix fake warning when a match happens after a default arg 2012-08-16 14:19:07 -03:00
José Valim 9b0f00f075 Improvements to the record API 2012-08-15 11:56:38 -03:00
José Valim b5cf14949d Linify def args and guards 2012-08-10 13:20:10 -03:00
José Valim 6c87df4c7a If we are connected to a remote node, print "rem" in iex
This makes it easy to check if we are on a remote node or not.
2012-08-09 10:42:54 -03:00
José Valim fe5adccc29 Fix build: solve dependency graph on bootstrap 2012-08-08 09:35:32 -03:00
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