alavrik / erlson

Erlang Simple Object Notation - dynamic name-value dictionary data type and syntax for Erlang
MIT License
81 stars 17 forks source link

support for erlang 17.1 #15

Closed varnit closed 9 years ago

varnit commented 10 years ago

Any plan to support 17.1 release?

alavrik commented 10 years ago

Surprisingly, Erlson grammar is still compatible with 17.1. Just added initial support for it: https://github.com/alavrik/erlson/commit/ecf1665cf4dc33d5fb5efebd9edad53aecf2c37b

It should be working for the most part.

A little more work is needed to traverse the new syntax elements that were introduced in Erlang 17. Would you be interested in contributing necessary changes in src/erlson_pt.erl?

alavrik commented 9 years ago

Just realized that my previous change didn't work. Didn't test it properly with new rebar. But it should be fully working now, including proper support for new Erlang 17 syntax elements in parse transform.

Also note the syntax change for Erlang 17.