Commit Graph
128 Commits
Author SHA1 Message Date
José Valim e476a5ef0d Stab at new syntax 2012-05-13 15:33:57 +02:00
José Valim 2e7478da61 Tag properly as defmacrop 2012-05-04 10:54:16 +02:00
José Valim 1b1cd6c1d2 Private functions should not appear on docs 2012-05-04 09:56:30 +02:00
José Valim 52eaf6d547 Overridable is no longer a data attribute, but a macro. This allows it to work fine with multi-clauses. 2012-05-02 21:23:25 +02:00
José Valim 403cb0f3c1 Store filenames with function and improve backtrace 2012-05-02 19:29:34 +02:00
José Valim 121fda7a58 Normalize module data for easier input 2012-05-02 09:47:49 +02:00
José Valim a16becfb94 List and bit comprehensions now expects filters after the when operator 2012-04-30 10:53:53 +02:00
José Valim 15d63fa6a8 Add Module.safe_concat 2012-04-25 14:20:38 +02:00
José Valim ffa5c3964d Provide a new protocol API, closes #251 2012-04-25 09:19:55 +02:00
José Valim 1f0e7f0bd3 Reduce spurious entries in functions table. 2012-04-21 18:59:17 +02:00
José Valim 2aa72dfd6b Print a warning if defaults are used with multiple clauses, closes #209. 2012-04-21 18:28:39 +02:00
José Valim 57b22b6589 Improve errors messages a bit, closes #253 2012-04-14 09:05:31 -03:00
José Valim 3cad19dbeb Move Module.eval_quoted to the new API. 2012-04-03 19:06:56 -03:00
José Valim 96f26c9299 Rename Orddict to Keyword, closes #216. 2012-04-01 16:10:31 +02:00
José Valim 2becd5d1f6 Give a warning if docs are being overwritten. 2012-03-31 11:53:19 +02:00
Anthony Grimes 84d25b3d8e Don't overwrite existing documentation in clauses.
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
2012-03-31 11:48:12 +02:00
José Valim 48354b3c9b Improve coverage, behavior and docs for Module.concat. 2012-03-27 13:05:48 +02:00
José Valim 07508096dc Compiler options should be by process. 2012-03-26 23:10:06 +02:00
José Valim d979c7babc Down to 23 failures. 2012-03-25 21:25:24 +02:00
José Valim d815788c52 Compile files using . and inside __MAIN__ 2012-03-25 18:48:20 +02:00
José Valim f509a89bae IEx now keeps the lexical scope, closes #182 2012-03-25 12:33:41 +02:00
José Valim 120eeff012 Allow Erlang attributes to be added more than once. 2012-02-26 12:18:36 +01:00
José Valim e4199cc3b6 Remove attributes table. 2012-02-25 13:21:27 +01:00
José Valim fe6f6373a2 Start working on defabstract, remove defforward. 2012-02-25 12:39:33 +01:00
José Valim c8b9fa86a0 Start work on defforwarded. 2012-02-23 09:48:47 +01:00
José Valim 68ec1c7ca3 Pass the callbacks arguments to forwarded functions. 2012-02-23 09:48:47 +01:00
José Valim db93ebb9ad Remove orelse and andalso in favor of only and and or. 2012-02-23 09:48:47 +01:00
José Valim 302efc7170 Remove extra new line. 2012-02-21 10:22:25 +01:00
José Valim 71199c9c23 Documentation and tests for runtime docs. 2012-02-21 09:52:14 +01:00
José Valim 6b73f54f40 Start converting comments to new documentation format. 2012-02-21 09:25:09 +01:00
José Valim 41c82f2419 Initial work on docs. 2012-02-21 08:41:44 +01:00
José Valim 6bd337ea9e Improvements to defforward and module functions. 2012-02-19 13:18:36 +01:00
José Valim a0caf128a2 Allow forwarding to be removed and redefined. 2012-02-18 19:24:20 +01:00
José Valim 27c33437df More tests an examples to forwarding. 2012-02-14 10:30:37 +01:00
José Valim ca7b1881f1 Forwardings are now compiled. 2012-02-14 10:24:00 +01:00
José Valim 987ffa2b15 Initial take on defforward. 2012-02-14 09:52:59 +01:00
José Valim d0f244c434 Fix typos. 2012-02-08 10:39:07 +01:00
José Valim f3e163fa7a Allow duplicated attributes. 2012-02-08 10:33:01 +01:00
José Valim d62956881b Allow developer to register custom attributes. Add add_attribute and delete_attribute APIs. 2012-02-08 10:03:23 +01:00
José Valim cc03015dee Add more tests for -> end, update docs. 2012-02-06 23:47:09 +01:00
José Valim 41d2a7f87e Revert "Rename tuples { 1, 2, 3 } to %{ 1, 2, 3 } to remove ambiguity."
This reverts commit 20f524dae2.
2012-02-06 22:46:24 +01:00
José Valim 20f524dae2 Rename tuples { 1, 2, 3 } to %{ 1, 2, 3 } to remove ambiguity. 2012-02-06 16:39:55 +01:00
José Valim b4e5245515 Revert "Demote andalso and orelse from operators."
This reverts commit 246682755c.

Conflicts:

	lib/module.ex
2012-02-05 20:51:56 +01:00
José Valim c1f46670d2 Rename to_list to to_char_list, closes #108 2012-02-05 13:52:56 +01:00
José Valim d002248139 Move lib code to the new exception handling format. 2012-02-05 12:08:18 +01:00
José Valim 35a9e21a0f Merge Elixir::Functions and Elixir::Macros into Elixir::Builtin. 2012-01-29 16:49:12 +01:00
José Valim f799fce0ec Merge import and require, get rid of refer. 2012-01-22 18:53:32 +01:00
José Valim ee2c03217e Revert "Get rid of defp in favor of data and @visibility :private."
This reverts commit 20e4b3a5f9.
2012-01-20 22:55:03 +01:00
José Valim 20e4b3a5f9 Get rid of defp in favor of data and @visibility :private. 2012-01-20 19:42:23 +01:00
José Valim 709e90c792 Add reserved data attributes. 2012-01-20 13:04:34 +01:00