Commit Graph
232 Commits
Author SHA1 Message Date
José Valim 6fdccdb802 Definitions without implementation can specify default clauses. 2012-04-21 14:57:24 +02:00
José Valim 393098ff9e Move compilation options to the code server, closes #205. 2012-04-10 16:27:56 -03:00
Dickson S. Guedes abf056cc30 adding ## Examples header 2012-04-09 19:48:58 -03:00
Dickson S. Guedes 7724458fe8 fixing trailing space 2012-04-09 17:01:29 -03:00
Dickson S. Guedes 3797382e1a adding atom_to_binary with UTF8 encoding as default 2012-04-09 16:30:37 -03:00
José Valim 9896a86f53 Ensure versin can be print 2012-04-06 22:00:25 -03:00
José Valim 35b22c598d Small tidy up on file.ex 2012-04-06 10:14:48 -03:00
José Valim dbf6325d44 Fail on invalid file input, closes #206 2012-04-05 15:23:54 -03:00
Dickson S. Guedes 18c48db0e2 allow binary_to(_existing)_atom uses :utf8 as default encoding when it is not specified, refs #221 2012-04-05 12:44:44 -03:00
Alexei Sholik 6e542796d6 Make process_options testable 2012-04-05 10:39:34 +03:00
Alexei Sholik 56e80147e1 Fix a bug in enumeration 2012-04-05 10:39:13 +03:00
Alexei Sholik 2f729a5178 Allow passing a wildcard to -pa, -pz and -r options
If the user invokes elixir with a quoted string

    elixir -pa 'deps*/ebin'

then the CLI will receive the literal path 'deps/*/ebin'. That is why
we're better off processing the wildcards ourselves.
2012-04-05 09:58:01 +03:00
José Valim d3720fe337 Work with binaries, remove char list module. 2012-04-04 15:35:04 -03:00
José Valim ac41f5e6fb Revert "Allow many files to be passed to iex, closes #203"
This reverts commit 92b29ac94e.

Conflicts:

	bin/elixir
	bin/iex
2012-04-04 11:36:04 -03:00
José Valim 3827b3a575 Revert "Allow multiple paths to be given to -pa and -pz, closes #229"
This reverts commit c3413246cf.
2012-04-04 11:32:45 -03:00
José Valim 144272fe81 Revert "Ensure in_guards is properly set to true inside args."
This reverts commit 11d6ea577f.
2012-04-04 11:08:50 -03:00
José Valim c3413246cf Allow multiple paths to be given to -pa and -pz, closes #229 2012-04-03 19:44:05 -03:00
José Valim cd48652e72 Fix iex. 2012-04-03 19:27:40 -03:00
José Valim 17f9c6f1f0 Move evaluation options to an options setup instead of multiple args. 2012-04-03 18:59:20 -03:00
José Valim 1514c0371b Rename Env to System, move Code functionality to it. 2012-04-03 18:35:24 -03:00
José Valim dc3ed54541 Start using halt since it has improved semantics in Erlang R15B01. 2012-04-03 12:07:05 -03:00
José Valim 8025bc1dee Ensure we can return utf8 code points. 2012-04-02 21:23:13 -03:00
José Valim 7f3e4caa20 Finally ensure we are priting properly. 2012-04-02 21:07:23 -03:00
José Valim bf0caeeeac Ensure iex still returns the proper bin size 2012-04-02 16:51:34 -03:00
José Valim 1fe7308bf9 Fix printing in IEx. 2012-04-02 10:39:43 -03:00
José Valim 35038877a2 Add source and opts to Regex. 2012-04-02 09:34:47 -03:00
José Valim 7c03fc2842 Fix nesting docs, closes #217. 2012-04-01 23:34:50 +02:00
José Valim 96f26c9299 Rename Orddict to Keyword, closes #216. 2012-04-01 16:10:31 +02:00
José Valim 603a3ee19c destructure can handle nils. 2012-03-31 10:57:34 +02:00
Alexei Sholik 2ab7b09d8e Rename List.append -> List.concat 2012-03-30 20:55:34 +03:00
José Valim 7390fb6663 Allow access protocol in signatures. 2012-03-30 16:18:27 +02:00
José Valim 9f8f2a11e3 Allow negative index access on tuples. 2012-03-30 12:48:08 +02:00
José Valim 4530af4927 Initial work on the access protocol. 2012-03-30 12:07:53 +02:00
José Valim 11d6ea577f Ensure in_guards is properly set to true inside args. 2012-03-30 10:02:48 +02:00
José Valim 9675cdced6 Code.argv should return a list of binaries. 2012-03-30 09:40:58 +02:00
José Valim 92b29ac94e Allow many files to be passed to iex, closes #203 2012-03-29 13:35:42 +02:00
José Valim eaa2093b71 Add destructure. 2012-03-28 11:09:19 +02:00
Alexei Sholik 3a8b60bd65 Pass 'iex' instead of "iex" to the eval func 2012-03-28 01:27:46 +03:00
José Valim f1ba427ca0 Update lib/elixir/special_forms.ex 2012-03-27 22:57:42 +03:00
José Valim eea16da265 Implement split, replace, replace_all, scan and run for Regex. 2012-03-27 15:55:43 +02:00
José Valim 3e2b2fc009 Initial work on regexes. 2012-03-27 14:49:27 +02:00
José Valim 07508096dc Compiler options should be by process. 2012-03-26 23:10:06 +02:00
José Valim 5bee300db2 Fix some docs. 2012-03-26 21:30:12 +02:00
José Valim de1164203f Fix make docs. 2012-03-26 19:48:51 +02:00
José Valim 412d474992 Provide %C and %c. 2012-03-26 18:37:20 +02:00
José Valim bf9fdbf071 Remove module String.
For 0.9 release we are going to have two different modules
Binary and CharList. Implementation specific behavior will
be added to those modules. At some point we can provide a
module named String that handles those differences.
2012-03-26 18:37:20 +02:00
José Valim 6d2c319323 Ensure we properly handle octal notation. 2012-03-26 16:10:33 +02:00
José Valim 479eea9b9f Allow sigils with heredocs (yeah!) 2012-03-26 14:53:39 +02:00
José Valim ecc0963bfe Rename %Q -> %B 2012-03-26 14:27:35 +02:00
José Valim c3e4e968e2 Start working on sigils. 2012-03-26 12:53:34 +02:00