Commit Graph
70 Commits
Author SHA1 Message Date
José Valim eaa2093b71 Add destructure. 2012-03-28 11:09:19 +02:00
José Valim 07508096dc Compiler options should be by process. 2012-03-26 23:10:06 +02:00
José Valim 3f8d7a5ae7 Add refer back. 2012-03-25 22:55:48 +02:00
José Valim 1230f86e7c Remove automatic aliases from defmodule. 2012-03-25 22:29:41 +02:00
José Valim 66587fc87d Down to two protocol failures. 2012-03-25 21:48:40 +02:00
José Valim c5be874751 Remove support to ::, down to 16 failures. 2012-03-25 21:35:49 +02:00
José Valim d815788c52 Compile files using . and inside __MAIN__ 2012-03-25 18:48:20 +02:00
José Valim e0ee2b7e72 Append __MAIN__ to each generated module. 2012-03-25 16:26:09 +02:00
José Valim f509a89bae IEx now keeps the lexical scope, closes #182 2012-03-25 12:33:41 +02:00
José Valim ccaef79dd5 Ensure a tuple with two elements returns itself when quoted 2012-03-23 17:41:12 +01:00
José Valim fdbc8563cb Proper handle errors if super is not available. 2012-02-25 17:34:03 +01:00
José Valim ef4d9aa176 Tests for calling super implicitly. 2012-02-25 17:22:51 +01:00
José Valim a217b259bb Add tests for handling super. 2012-02-25 17:01:02 +01:00
José Valim a4e59f3445 Rename abstract to overridable. 2012-02-25 13:53:53 +01:00
José Valim da9d23cce6 Initial work on @abstract. 2012-02-25 13:40:51 +01:00
José Valim fe6f6373a2 Start working on defabstract, remove defforward. 2012-02-25 12:39:33 +01:00
José Valim 8ff8923b53 Rename defforwarded -> defcallback. 2012-02-23 12:35:47 +01:00
José Valim 75be4c8c73 Finish implementation of defforwarded. 2012-02-23 12:10:08 +01:00
José Valim 68ec1c7ca3 Pass the callbacks arguments to forwarded functions. 2012-02-23 09:48:47 +01:00
José Valim 8cd22c3f4f Allow super to be implicit. 2012-02-23 09:48:47 +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 cc4487d3bb Define super for defforward. 2012-02-20 09:26:27 +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 1621a38293 Automatically require module definitions in the same lexical context. 2012-02-18 11:27:27 +01:00
José Valim c3d72a4945 __using__ always expects two arguments. 2012-02-15 15:07:40 +01:00
José Valim 16889de10f Do not automatically set references. 2012-02-15 12:11:47 +01:00
José Valim cd492f7b0d Do not auto-import error. 2012-02-14 14:05:14 +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 3a06259951 Convert from def test_rest to test :rest 2012-02-13 16:56:11 +01:00
José Valim a02d19a8c5 Allow hygiene to be disabled when quoting. 2012-02-13 12:13:38 +01:00
José Valim f5c1a7ae47 Use & for partial application instead of _. 2012-02-12 12:19:21 +01:00
Rafael Mendonça França 1991d8669c Use new assertions on tests 2012-02-12 00:22:52 -02:00
José Valim 39b1442ffb Clean up function syntax. 2012-02-06 23:28:48 +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 63f2049547 Fix ^ inside exceptions. 2012-02-05 13:16:28 +01:00
José Valim 5cc20997df Support function clause. 2012-02-04 18:22:15 +01:00
José Valim 44203dc2a0 Support to badmatch, case_clause and badfun. 2012-02-04 17:20:37 +01:00
José Valim 37568206d1 Badarity support. 2012-02-04 17:09:09 +01:00
José Valim 7626e2f882 badarith support. 2012-02-04 16:51:50 +01:00
José Valim 527c234020 argument error with tuple 2012-02-04 16:48:10 +01:00
José Valim 5b44d8e672 Support ArgumentError. 2012-02-04 16:43:50 +01:00
José Valim 2138527367 Refactoring and more unit tests for exceptions. 2012-02-04 16:12:39 +01:00
José Valim 4738cccce3 Ensure defined variables also work with wrappers. 2012-02-04 13:18:32 +01:00
José Valim 0d7d44cc12 Wrap UndefinedError exception. 2012-02-04 12:58:10 +01:00
José Valim ab43c4ae1a Allow to catch erlang errors. 2012-02-04 12:45:11 +01:00