Call for 0.8.0.dev testers

Showing 1-3 of 3 messages
Call for 0.8.0.dev testers José Valim 1/21/13 8:29 PM
Hello everyone,

I am glad to say Elixir v0.8.0 is going to be released soon and I need your help to test it before the release.
As of now, Elixir's master branch is frozen, only bug fixes are going in.

This release contains many improvements, like tighter integration with Erlang applications, extend Unicode support, a faster HashDict implementation and improved hygiene in macros. We also have some deprecations which can be easily handled by searching and replacing the deprecated calls. You can read more about it all in the CHANGELOG:


However, the reason I am doing this announcement, is because we also include one non backwards compatible change.
In order to provide more robust macros, we have slightly changed Elixir's AST. Previously quoting an expression would return:

    quote do: sum(1,2,3)
    #=> { :sum, 1, [1,2,3] }

But now, it returns:

    quote do: sum(1,2,3)
    #=> { :sum, [line: 1], [1,2,3] }

The second item in the tuple now no longer represents the line, but it is a list containing metadata about the node.
This means that, if you were previously generating syntax nodes, your code will no longer work. For example, if you manually generated a variable node as:

    { :x, 0, nil }

It now needs to be:

    { :x, [], nil }

Those changes were required to support hygiene in macros. You can read more about hygiene here:


I hope everyone have a great time and, if you have any issues while upgrading, please ping me on freenode or reply to this announcement.
Let's iron out the details to finally get this important release out!

Cheers!

José Valim
Skype: jv.ptec
Founder and Lead Developer
Re: Call for 0.8.0.dev testers José Valim 1/21/13 8:35 PM
A small correction. By "if you were previously generating syntax nodes", I mean generating syntax notes manually. If all of your nodes are generated via "quote", you are good to go.



José Valim
Skype: jv.ptec
Founder and Lead Developer


Re: Call for 0.8.0.dev testers Alex Zatvorskiy 1/22/13 9:59 AM
Some benchmark for novel 'HashDict' implementation