Commit Graph
273 Commits
Author SHA1 Message Date
José Valim b08cdc8ec7 Simpler mechanism for references 2012-05-27 22:03:01 +02:00
José Valim 52cf46ea96 Support many args in -> exprs 2012-05-18 17:54:15 +02:00
José Valim 036e611047 Allow comma_expr on stab op 2012-05-18 17:28:37 +02:00
José Valim 686107bc9b Fix in erlang tests 2012-05-13 19:15:46 +02:00
José Valim 53ba7e7e85 Do not allow stab inside stab operators 2012-05-13 16:20:45 +02:00
José Valim e476a5ef0d Stab at new syntax 2012-05-13 15:33:57 +02:00
José Valim 04b5a35deb Properly tag size functions 2012-05-07 12:00:43 +02:00
José Valim 2eb653a594 fix precedence for not x in [], closes #278 2012-05-05 21:39:31 +02:00
José Valim d297d2c768 Rename elixir_kv_block to elixir_kw_block, closes #270 2012-04-29 13:40:52 +02:00
José Valim 262ea5b380 Remove unecessary tuple wrapping in __kvblock__ 2012-04-25 12:47:47 +02:00
José Valim dd2de2320d Avoid sorting more than once 2012-04-25 12:36:53 +02:00
José Valim 22c7f8259b Clean up kvblocks now that keywords accepts multiple entries 2012-04-25 12:18:43 +02:00
José Valim 747b0be9c4 Keywords can have duplicated entries, but still quack as a dict, closes #262 2012-04-25 11:01:14 +02:00
José Valim 2b0f70c88e Ensure access syntax works with record syntax, closes #237 2012-04-09 21:04:08 -03:00
José Valim d3720fe337 Work with binaries, remove char list module. 2012-04-04 15:35:04 -03:00
José Valim 8025bc1dee Ensure we can return utf8 code points. 2012-04-02 21:23:13 -03:00
José Valim bfa5058704 Atom access. 2012-03-30 15:14:20 +02:00
José Valim 4530af4927 Initial work on the access protocol. 2012-03-30 12:07:53 +02:00
José Valim 6d2c319323 Ensure we properly handle octal notation. 2012-03-26 16:10:33 +02:00
José Valim c3e4e968e2 Start working on sigils. 2012-03-26 12:53:34 +02:00
José Valim c5be874751 Remove support to ::, down to 16 failures. 2012-03-25 21:35:49 +02:00
José Valim 2f95573204 Allow .Foo to retrieve references. 2012-03-25 16:02:16 +02:00
José Valim ccaef79dd5 Ensure a tuple with two elements returns itself when quoted 2012-03-23 17:41:12 +01:00
José Valim cb4e042627 Do not mix macros with pseudo variables, closes #147. 2012-03-07 09:51:11 +01:00
José Valim db93ebb9ad Remove orelse and andalso in favor of only and and or. 2012-02-23 09:48:47 +01:00
José Valim 51faae6adf Implementing missing hooks in the syntax. 2012-02-15 14:55:14 +01:00
José Valim 6f4dd3a1de Fix ambiguity in the parser and improve errors for missing implementations. 2012-02-15 14:01:34 +01:00
José Valim f5c1a7ae47 Use & for partial application instead of _. 2012-02-12 12:19:21 +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 6af3aca860 Revert "Support implicit string concatenation, closes #105"
This reverts commit 7efead6d79.

Conflicts:

	test/elixir/string_test.exs
2012-02-06 12:28:39 +01:00
José Valim 09f4c4401c Initial pass at string concatenation. 2012-02-06 12:15:40 +01:00
José Valim c7219f1f38 Keep & precedence close to |'s 2012-02-05 22:37:44 +01:00
José Valim b93bca8df3 Remove & and | from guards in favor of multiple when clauses. 2012-02-05 22:15:13 +01:00
José Valim b4e5245515 Revert "Demote andalso and orelse from operators."
This reverts commit 246682755c.

Conflicts:

	lib/module.ex
2012-02-05 20:51:56 +01:00
José Valim 4e0223dd66 Rename tokens block, kv_block, erlang_op and module_ref to __BLOCK__, __KVBLOCK__, __OP__ and __REF__ to avoid the likelihood of conflicts. 2012-01-22 10:14:49 +01:00
José Valim f4c4ff622a Shortcut data API works. 2012-01-20 18:37:50 +01:00
José Valim 7efead6d79 Support implicit string concatenation, closes #105 2012-01-19 10:53:53 +01:00
José Valim 246682755c Demote andalso and orelse from operators. 2012-01-19 10:08:41 +01:00
José Valim c2a3cb9cc4 Add support to clauses that can handle exceptions. 2012-01-19 09:47:03 +01:00
José Valim 8387677a6d Do not merge kv-args and kv-blocks, #100 2012-01-18 12:43:41 +01:00
José Valim e61b388718 Solve precedence issue with function calls followed by tuple + op. 2012-01-15 14:30:28 +01:00
José Valim 94eda15711 Rename args for vars from false to nil. 2012-01-11 06:56:11 +01:00
José Valim 4e0cbf8bf7 Start bringing code_test back. 2012-01-05 20:04:08 +01:00
José Valim 0bbcad8047 Support bitstrings. 2012-01-04 10:12:30 +01:00
José Valim 3745c3dc57 Add list comprehensions. 2012-01-04 09:47:50 +01:00
José Valim 537e2283f2 Allow kv-blocks for curly blocks. 2012-01-02 17:23:07 +01:00
José Valim 15940c9adb Add support to ^ and clean up remaining test/erlang/* files. 2012-01-02 12:35:25 +01:00
José Valim 447fca1562 Support functions with multiple clauses. 2012-01-01 17:06:36 +01:00