Commit Graph
118 Commits
Author SHA1 Message Date
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
José Valim 246682755c Demote andalso and orelse from operators. 2012-01-19 10:08:41 +01:00
José Valim c6176548d2 Rename Orddict.fetch -> Orddict.get. 2012-01-16 22:18:59 +01:00
José Valim 4d1e0d37be Fix line numbers in evaled code, #99 2012-01-13 13:50:24 +01:00
José Valim 7b3d55eec8 Added Module#function_defined? 2012-01-12 17:54:51 +01:00
José Valim 98f9e3d1b8 Rename __data__ to __info__(:data) so it also properly abstracts Erlang's info. 2012-01-12 16:59:19 +01:00
José Valim 804544b5a0 Read a specific key in one step. 2012-01-09 20:17:00 +01:00
José Valim b24cf2b754 Do not return the binding after eval. 2012-01-09 20:12:04 +01:00
José Valim af2fe2fffb Add a default hook name for add_compile_callback 2012-01-09 10:10:14 +01:00
José Valim 647b1feca2 Add List::Inspect and to_list. 2012-01-09 09:47:20 +01:00
José Valim 3e3d21450e Reset the last stored item when evaling a module. 2012-01-08 17:31:56 +01:00