Commit Graph
1126 Commits
Author SHA1 Message Date
José Valim 7c6f78206e Allow elixir to work as a rebar dependency
rebar expects its dependencies to have a file at `src/elixir.app.src`.
This is a work around a rebar limitation since it should support a way
to have an umbrella application, as OTP.
2012-07-08 16:50:54 +02:00
José Valim d5031b6347 Move all code to erlang style apps 2012-07-05 20:20:16 +02:00
José Valim 77d018758b Move Elixir's kernel to lib/kernel 2012-07-04 18:52:40 +02:00
José Valim e216b8a073 Update version 2012-07-04 13:20:51 +02:00
José Valim 8bca0ba86d Handle kw blocks on Macro.to_binary 2012-07-03 20:05:56 +02:00
José Valim cf3ba5a669 Add signatures to docs information 2012-07-02 20:44:09 +02:00
José Valim ff1c2c0c46 Fix typo on defaults error message 2012-07-02 14:10:00 +02:00
José Valim 93cee4d85a Raise nice error message if attempting to define a module that is being defined, closes #373 2012-06-28 17:00:53 +02:00
José Valim a241169d81 defmodule shares the variable scope, closes #374 2012-06-28 15:56:51 +02:00
José Valim 503b0fe9da Allow new line before binary (but not unary) ops 2012-06-19 22:06:45 +02:00
José Valim ab61e6f95c Provide ranges and support them in the in operator 2012-06-18 21:49:38 +02:00
José Valim 119a87b2ab Move away from packages since they don't work as expected with embedded mode 2012-06-18 12:28:09 +02:00
José Valim 539f8252f8 Add support to @after_compile 2012-06-11 12:33:29 +02:00
José Valim 86372c11c4 Deprecate add_compile_callback in favor of the attributes API 2012-06-11 12:19:23 +02:00
José Valim 610d34c314 Document line option for quote, support line: :keep, closes #364 2012-06-11 11:43:45 +02:00
José Valim c919b3fa00 Allow extra space in heredocs ending 2012-06-09 19:35:25 +02:00
José Valim 7fc69c1433 Optimize in operator 2012-06-09 12:24:52 +02:00
José Valim d8dd801ec8 Solve inconsistency with in not allowed inside some exprs 2012-06-09 12:24:52 +02:00
José Valim 272956067b Fix precedence of inlist and inbits generators with match 2012-06-09 12:24:52 +02:00
Yurii Rashkovskii 1f049dbac0 Adds support for @callback type specification attribute 2012-06-08 13:13:35 -07:00
José Valim 037492b7a2 Move Typespec to Elixir.Typespec, ensure it works with @spec and friends 2012-06-08 16:06:37 +02:00
José Valim f7652b88e3 Initial support to @spec, @typep and @type attributes 2012-06-08 13:53:36 +02:00
José Valim 1e8aed1da1 Allow OP: syntax 2012-06-07 13:37:02 +02:00
José Valim 6cf976be99 Filename -> File 2012-06-07 12:51:52 +02:00
José Valim bafe7be1dc Provide a file to tokenizer 2012-06-07 12:45:25 +02:00
José Valim 9facc5a286 Reorganize tokenize clauses so the compiler can optimize better 2012-06-07 12:23:32 +02:00
José Valim 080beffc2c Add range op and ... identifier 2012-06-07 11:55:50 +02:00
José Valim 1781d5a141 Refactor token handling 2012-06-07 11:55:49 +02:00
José Valim bd9a72f748 Allow quoted calls 2012-06-07 09:05:25 +02:00
José Valim 9866c0200d Allow ambiguousop with many values 2012-06-07 08:30:31 +02:00
José Valim 7260bc84c7 Ensure filename is a binary 2012-06-06 16:31:32 +02:00
José Valim 3e64b7ddeb Solve ambiguity with a +1 when a exists, closes #342 2012-06-06 13:35:57 +02:00
José Valim e51bc9e5aa Change comprehensions syntax to be more compatible with Erlang behavior, closes #335 2012-06-06 12:27:28 +02:00
José Valim c01cedb822 Allow values @ to be read inside functions 2012-06-05 19:41:16 +02:00
José Valim a7a6dd327b Update changelog, add callbacks to the list 2012-06-05 14:50:39 +02:00
José Valim 8f8fd13f3b Unify data and attributes 2012-06-05 14:12:36 +02:00
José Valim b959e1d117 Raise an error if an invalid alias is given, closes #316 2012-06-04 12:19:30 +02:00
José Valim c4cbc5a7f3 Support identifier?:, closes #322 2012-06-04 11:29:07 +02:00
José Valim 5156bfa47d Support Macro.expand 2012-06-04 11:15:11 +02:00
José Valim 28de080999 Expose expand_import and expand_require functions 2012-06-04 10:39:03 +02:00
José Valim f6e139dc18 Add :: as an operator 2012-06-01 19:59:33 +02:00
José Valim 8cefa744b8 Decouple macro expansion from macro translation 2012-06-01 19:53:05 +02:00
José Valim 9220637a3c Ensure nice stack trace on compiled callbacks, closes #314 2012-06-01 12:33:21 +02:00
José Valim 9d596a1f39 Add tests to ensure proper stacktrace on macro calls 2012-06-01 11:48:39 +02:00
José Valim 646ee5f125 Compile regexes at compilation time, speeds up considerably runtime 2012-06-01 11:23:00 +02:00
José Valim c926b7f943 Ensure aliases can be overriden 2012-05-31 13:19:21 +02:00
José Valim 9947f6a405 Simply let unhandled -> fail, closes #315 2012-05-31 13:02:01 +02:00
José Valim 8b814ded29 Be more strict on inspect since we cannot be sure of the list encoding 2012-05-29 13:35:34 +02:00
José Valim fb8b6f53f2 Deprecate refer in favor of alias, use atom aliases throughout source code 2012-05-28 14:24:47 +02:00
José Valim aaf6c91e0e Rewrite use in Elixir, force it to rely on __CALLER__ 2012-05-28 13:23:04 +02:00