alavrik / erlson

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

Add support for Erlang versions 18 through 20 #17

Closed akontsevoy closed 7 years ago

akontsevoy commented 7 years ago

It's that uncomfortable time for OTP version migrations again...

Issue: While Erlang 17 support was implemented, erlson does not build under later versions because it requires importing erl_parse.yrl from each specific OTP version.

Solution: Monkey see, monkey do :) Syntax files were taken from maint-18, maint-19, and master branches of erlang/otp.

Testing performed: Enable mochiweb dep, rebar get-deps, rebar compile, rebar eunit skip_deps=true with Erlang R14B04, R16B03-1.3, 17.5.6.9, 18.3.4.5, 19.1.6, 20.0-rc1.

alavrik commented 7 years ago

Thank you! 🖐