José Valim
49501ef59e
Improve error messages with terminators
2012-07-20 13:04:33 +02:00
José Valim
f6d869cb96
Support terminators in tokenizer
2012-07-20 12:07:45 +02:00
José Valim
90650b334e
Improve error messages for unterminated strings, sigils and heredocs
2012-07-20 11:38:49 +02:00
José Valim
7d98ae18f9
Simply use private macros for defining dicts
2012-07-20 09:42:46 +02:00
José Valim
390f194b24
Use more explicit naming in module functions
2012-07-20 09:31:25 +02:00
José Valim
4b960a2114
Add compile meta task, move logic to compile.elixir
2012-07-18 10:20:28 +02:00
José Valim
c3d5611cc2
Improve docs for functions that return both binaries and char lists
2012-07-17 14:02:59 +02:00
José Valim
fea9455eb7
Add self() back since it is allowed in guard clauses
2012-07-17 13:49:34 +02:00
José Valim
6c5b3134af
Add function_exported?, improve warnings for behaviors
2012-07-16 15:29:29 +02:00
José Valim
dca16fe966
Allow macros to be used in rescue clauses
2012-07-16 15:29:29 +02:00
José Valim
c186bb19df
Add d to print docs in IEx console, compile by default with docs
2012-07-16 15:29:29 +02:00
José Valim
2c396b9cc1
Make the default for ExUnit case to be sync
2012-07-16 15:29:28 +02:00
José Valim
98631ada7d
Make sure cp_rf also handles symlinks too
2012-07-16 15:29:28 +02:00
José Valim
b8c2705ea1
Ensure rm_rf does not follow symlinks
2012-07-16 15:29:28 +02:00
José Valim
35c8a17e8d
Avoid unix specific calls in tests
2012-07-16 15:29:28 +02:00
José Valim
23cd4ce28c
Add File.rm_rf
2012-07-16 15:29:28 +02:00
José Valim
bbd7960d78
Add rmdir, use path consistently in File
2012-07-16 15:29:28 +02:00
José Valim
7d5be8d093
Do not depend on the filesystem order
2012-07-16 15:29:27 +02:00
José Valim
d2f2d4ba20
Introduce File.CopyError, File.cp! and File.cp_r!
2012-07-16 15:29:27 +02:00
José Valim
7be9ba8585
Add File.cp and reorganize test cases a bit
2012-07-16 15:29:27 +02:00
José Valim
28ecab3dde
Support File.cp_r
2012-07-16 15:29:27 +02:00
José Valim
f756ce6077
Fix tests that were not using absolute paths
2012-07-16 15:29:27 +02:00
José Valim
f491ebb976
Support File.copy
2012-07-16 15:29:27 +02:00
José Valim
92fa624892
Support File.touch(!) and File.write_stat(!)
2012-07-16 15:29:27 +02:00
José Valim
e4176725ab
Add File.cwd/0, File.chdir/1 and File.chdir/2
2012-07-16 15:29:27 +02:00
José Valim
cea5a61ea2
Use a main fixture_path helper
2012-07-16 15:29:27 +02:00
José Valim
a458e0e43c
Allow File.open with a function
2012-07-16 15:29:27 +02:00
José Valim
59c38454c7
Refactor code now that we have local macros
2012-07-16 15:29:26 +02:00
José Valim
af6c593898
Refactor previous commit by moving the fix to cons_to_list
2012-07-13 08:50:55 +02:00
Yurii Rashkovskii
bb6562391e
Fixes a bug that broke the correct behavior of the in guard
...
The correct behavior is:
> [] in [1,2,3] == false
However, recently introduced bug made this work like this:
> [] in [1,2,3] == true
2012-07-12 17:29:13 -07:00
José Valim
e80286ce57
Remove remaining __MAIN__ from erlang code
2012-07-12 12:29:52 +02:00
José Valim
1b4603160c
Add elixir's parse transform to be used with erlang code
2012-07-12 11:29:46 +02:00
José Valim
adcb8855d0
Provide Enum.nth! for now since we want to ensure we are on the proper bound
2012-07-11 19:51:22 +02:00
José Valim
ae4bbed5d0
Add Enum.nth, change IEx code to rely on it
2012-07-11 12:42:17 +02:00
José Valim
df2254f8a3
Pipeline op must be right associative
2012-07-11 11:48:38 +02:00
José Valim
a4369dcbbb
Raise an error when not a function call is given to :/>
2012-07-10 15:24:55 +02:00
José Valim
28de003aab
Add quote location: :keep
...
This allows functions defined in macro to point to the file
that define them instead of keeping the injection point location.
2012-07-10 14:40:18 +02:00
José Valim
b74615e559
Add Code.string_to_ast(!)
2012-07-10 10:45:22 +02:00
José Valim
7728f3d630
Deprecate loop, used named functions to recur instead
...
The reason for deprecating loops is two fold:
1) It reduces the number of special forms. Special forms usually
allow a variable number of arguments and have special scoping
rules and they cannot be overridden or removed;
2) Anonymous looping is highly uncommon in Erlang and slower
than if we loop using named functions;
loop may be added back in the future as a non special form.
2012-07-10 10:10:40 +02:00
José Valim
acc4b8e6fe
Introduce regex match operator (=~)
2012-07-08 21:17:10 +02:00
José Valim
95ff052517
Remove extended semantics from the access protocol
...
The semantics of the access protocol is now reduced to a
key based access in data structures. This suits better
Erlang's philosophy of not overloading operators with
different semantics.
2012-07-08 20:49:01 +02:00
José Valim
cb51b92e2a
Dispatch the access protocol in atoms to __access__/2
2012-07-08 18:30:55 +02:00
Gustavo Dutra
7250be7f1a
Add the ability to toggle bolean fields in Records
2012-07-07 20:32:29 -03:00
José Valim
7e068aca85
Introduce pipeline op
2012-07-06 11:56:04 +02:00
José Valim
062813c8f3
Add bitwise operators
2012-07-06 11:21:22 +02:00
José Valim
3f82624d0f
Introduce new operators: <<<, >>>, &&&, |||, ^^^, ~~~
2012-07-06 10:58:39 +02:00
José Valim
b292d94739
Add Enum.first
2012-07-06 10:28:03 +02:00
José Valim
d5031b6347
Move all code to erlang style apps
2012-07-05 20:20:16 +02:00