Commit Graph
608 Commits
Author SHA1 Message Date
José Valim eaa2093b71 Add destructure. 2012-03-28 11:09:19 +02:00
José Valim bf31f8cad8 Ensure \d is not wrongly unescaped. 2012-03-27 23:54:36 +02:00
Rafael Mendonça França 469bda4d05 Prefer %r// syntax to regular expressions in the documentation. 2012-03-27 16:49:57 -03:00
José Valim 8bbfe85501 Ensure Regex can also accept lists as args. 2012-03-27 20:43:38 +02: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 48354b3c9b Improve coverage, behavior and docs for Module.concat. 2012-03-27 13:05:48 +02:00
José Valim 7791d3ac2c Add Code.eval 2012-03-27 11:49:33 +02:00
José Valim 07508096dc Compiler options should be by process. 2012-03-26 23:10:06 +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 497383ebf3 Improve coverage of sigils. 2012-03-26 16:20:26 +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 5a3affcfc3 Ensure %Q does not escape chars. 2012-03-26 13:02:26 +02:00
José Valim c3e4e968e2 Start working on sigils. 2012-03-26 12:53:34 +02:00
José Valim eed92cc367 Improve coverage and docs for file.ex 2012-03-26 10:52:13 +02:00
José Valim 99d65007ce Remove noise from ExUnit backtrace. 2012-03-26 10:27:47 +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 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 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 d9ec28a466 IEx can accept utf-8 characters, closes #186 2012-03-25 12:32:58 +02:00
Anthony Grimes d6cbc3b602 Default to binary instead in join. 2012-03-24 15:05:50 -05:00
Anthony Grimes 7a42b00284 Default joiner to an empty list in join. 2012-03-24 02:32:37 -05:00
José Valim ccaef79dd5 Ensure a tuple with two elements returns itself when quoted 2012-03-23 17:41:12 +01:00
José Valim eddb4014fa Ensure compilation sets the source. 2012-03-23 15:23:13 +01:00
Rafael Mendonça França 60e78c7543 __FILE__ returns the absolute path 2012-03-20 17:10:50 -03:00
Rafael Mendonça França 73ca469f6b Returns the not parsed arguments too 2012-03-19 17:03:19 -03:00
Rafael Mendonça França 92abc57da9 Ignores not option arguments 2012-03-19 15:38:48 -03:00
Rafael Mendonça França 8b3f9e6730 Add support to alias options 2012-03-19 15:28:30 -03:00
Rafael Mendonça França 54f0f74357 Fix bug with more than one key/value options 2012-03-19 15:11:31 -03:00
Rafael Mendonça França 3effc9a384 OptionParser -> OptionParser::Simple 2012-03-19 14:04:29 -03:00
Rafael Mendonça França b7ecb0a177 OptionParse parses key/value option 2012-03-19 14:04:29 -03:00
Rafael Mendonça França 82974eae9d Parse boolean options 2012-03-19 12:49:10 -03:00
Rafael Mendonça França 25846e6cf1 Add List.last 2012-03-19 12:04:31 -03:00
Gustavo Dutra c0ceedabf3 Added Orddict.key? 2012-03-18 20:58:00 -03:00
Gustavo Dutra d108e43b48 Added List.find_index 2012-03-18 20:45:17 -03:00
José Valim 5c34d33c9d No need to run test sync 2012-03-17 15:26:44 +01:00
Rafael Mendonça França db8ac4ded0 Add EEx.eval_string and EEx.eval_file to evaluate the values usings
bindings
2012-03-16 16:29:06 -03:00
Rafael Mendonça França 65d4c0825e Rename EEx.compile and EEx.file to EEx.compile_string and
EEx.compile_file
2012-03-16 15:32:50 -03:00
Carlos Galdino 8bd7443244 Add EEx.file to compile from a given file 2012-03-14 13:49:56 -03:00
Rafael Mendonça França f270ee41a8 Add File.read! that raises an exception with a descriptive message 2012-03-14 11:26:13 -03:00
Rafael Mendonça França fe7bb7c5cc Add File.read 2012-03-14 11:26:05 -03:00