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
cd0f128705
More naming related fixes.
2012-03-25 16:53:13 +02:00
José Valim
c9f808a6f4
Allow meta compilation.
2012-03-01 18:02:02 +01:00
José Valim
59c582842b
No stop shuold not trigger compiler.
2012-02-26 12:44:13 +01:00
José Valim
317f992146
bin/* docs.
2012-02-22 09:02:14 +01:00
José Valim
00abed6e7a
Allow module conflicts to be ignored.
2012-02-21 08:04:58 +01:00
José Valim
98852c84c8
Decouple docs and debug_info opts.
2012-02-21 07:35:45 +01:00
José Valim
f167eda9c6
Accept docs option when compiling.
2012-02-20 20:59:11 +01:00
José Valim
a80386228d
Remove the else clause from try, clean up the code.
2012-02-13 23:10:47 +01:00
José Valim
7b1e9aa116
Add --no-stop back.
2012-02-13 23:05:08 +01:00
José Valim
2d6bb6eef4
Add an else clause to try, rely on Erlang.init.stop().
2012-02-13 22:53:20 +01:00
José Valim
f5c1a7ae47
Use & for partial application instead of _.
2012-02-12 12:19:21 +01:00
José Valim
7a736a4da6
Evaluate record values just once.
2012-02-09 08:49:46 +01: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
d002248139
Move lib code to the new exception handling format.
2012-02-05 12:08:18 +01:00
José Valim
750ae66b6e
More cleanups for easier bootstraping.
2012-01-28 16:20:38 +01:00
José Valim
f06e82680a
Get rid of exunit now that we can pass multiple args to bin/elixir
2012-01-28 16:02:31 +01:00
José Valim
85e6280a84
Add at_exit hook, closes #107
2012-01-28 14:54:43 +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
eca3bcc5b0
Discourage module nesting, closes #101
2012-01-15 21:06:12 +01:00
José Valim
fc961cf40d
Simplify try/catch to be more like Erlang's and not require a tuple.
2012-01-11 07:33:44 +01:00
José Valim
5a95eca33c
Remove wrong usage of List
2012-01-06 13:19:22 +01:00
José Valim
19950b898b
Finish porting CLI tests.
2012-01-05 20:50:19 +01:00
José Valim
c7073491ff
Start porting Code and CLI tests.
2012-01-05 20:23:53 +01:00
José Valim
dac3199eb1
Bump up Code file.
2012-01-05 10:38:11 +01:00
José Valim
18522ab909
Let the compiler do the hard work for you.
2012-01-03 17:17:36 +01:00
José Valim
3f2cf5ce0d
Minor improvements.
2012-01-02 13:20:58 +01:00
José Valim
2080e054ab
module -> defmodule
2012-01-02 11:08:25 +01:00
José Valim
b291bc3712
Remove public/private helpers in favor of defp.
...
We have two main reasons for this:
1) defmacro cannot be private and private/public gave a general
feeling that we could simply mark macros as private;
2) public/private works poorly with quoting. Imagine a macro that
wants to define some method as private:
quote {
private
def foo, do: bar
}
This call to private would alter all the functions in the target
module.
In order to solve 2), we would have to either allow private with a block:
quote {
private do
def foo, do: bar
end
}
Or use `private(opts)`:
quote {
def foo, do: bar
private foo: 1
}
However, none of these approaches explicitly solves 1). That's why we decided
to go with a syntax similar to Clojure's `def-`: defp.
quote {
defp foo, do: bar
}
There is no `defmacrop`, which solves 1), and the visibility always apply
only to the current function, solving 2).
2011-12-30 08:16:22 +01:00
José Valim
ece7a55ee4
Nest ALL the modules.
2011-12-29 19:16:05 +01:00
José Valim
cb645d466a
Start IO module.
2011-12-29 13:39:11 +01:00
José Valim
eb808f011b
Show proper exceptions in IEX and CLI.
2011-12-29 13:25:17 +01:00
José Valim
cb3e8b26e6
Halt baby, halt.
2011-12-28 22:26:31 +01:00
José Valim
987c46a7aa
Attempt to get ExUnit running again.
2011-12-28 12:13:40 +01:00
José Valim
2ce415da44
Do not allow custom functions on records.
2011-12-27 18:25:32 +01:00
José Valim
80962a283f
Fix wildcard.
2011-12-27 17:20:34 +01:00
José Valim
b6da82f6e2
Bring Elixir CLI back.
2011-12-27 17:16:55 +01:00